The method is not in your code segment, unless I'm missing something.
Just a shot in the dark, but you need to use outerDocumentto to call a
method located in the same file, but not in the inline component.
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.
>
--
Jeffry Houser, Technical Entrepreneur, Software Developer, Author,
Recording Engineer
AIM: Reboog711 | Phone: 1-203-379-0773
--
My Company: <http://www.dot-com-it.com>
My Podcast: <http://www.theflexshow.com>
My Blog: <http://www.jeffryhouser.com>