The inline component doesn't have that method in scope.  Try 
{this.parentDocument.blobToImage....



Paul Hastings wrote:
> don't know if it's not kosher or i'm flubbing something but i keep getting
> "Call to a possibly undefined method blobToImage." errors from something like 
> this (trying to convert bunch of BLOBed thumbnails into a list):
>
> <mx:HorizontalList id="sampleImageThumbnails" 
> dataProvider="{sampleData.sampleImagery}" width="100%">
> <mx:itemRenderer>
> <mx:Component>
> <mx:Image height="{data.data.imageHeight}" width="{data.data.imageWidth}" 
> source="{blobToImage(data.thumbnail,data.imageHeight,data.imageWidth)}" />
> </mx:Component>
> </mx:itemRenderer>
> </mx:HorizontalList>
>
> the method is there & works (more or less ;-).
>
> any ideas?
>
> thanks.
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>
>
>
>
>   

Reply via email to