i'd rather use ely's superimage ^^ or a subclass at that - but that's just me.

--- On Thu, 9/25/08, Amy <[EMAIL PROTECTED]> wrote:

From: Amy <[EMAIL PROTECTED]>
Subject: [flexcoders] Re: Data Binding to BitmapData
To: [email protected]
Date: Thursday, September 25, 2008, 5:00 AM






--- In [EMAIL PROTECTED] ups.com, "kyleashipley" <kyleashipley@ ...> 
wrote:
>
> In my application, I have a custom ItemRenderer that contains an
> mx:Image bound to a BitmapData source. The data gets initialized
> properly, but if I scroll the list so that the image goes out of view,
> the BitmapData ends up set to null. I'm not firing an event, I don't
> have two-way data binding set up, and none of the break points I put
> in the data model are firing. Somehow, the BitmapData is ending up
> null when I scroll that image back into view.
> 
> If I change from directly binding to the dataProvider to using a
> ChangeWatcher on the dataProvider, everything works just fine.
> 
> Has anyone else come across this and (ideally) found a solution?
>

This sounds like a Q2 
http://www.magnolia multimedia. com/flex_ examples/ Amys_Flex_ FAQ.pdf

:-)

If it's not, please post the code to your itemRenderer.

HTH;

Amy

 














      

Reply via email to