I read both of the links you posted earlier today and was
convinced that they didn't apply to me.  I read them again and
now I'm only 95% sure they don't, but it looks like my issue is
slightly different than I thought.

After some further investigation, it looks like the issue is with
Bitmaps losing data after a binding goes out of scope.  For example,
we have a buddy list in our application, and buddies can have
profiles.  When we view a buddy profile, we reference a shared User
object from the model that has the user's name, buddy icon, and a
status message (away, on the phone, etc).

The binding works for name and status message as expected.  However,
the BitmapData is getting set to null.  I've tried putting breakpoints
all over the model, and the Bitmap object is never getting changed
directly.  However, when we rebind the user object in the profile to
a new user object (i.e. view UserA's profile, leave the view, then
view UserB's profile), it seems like the Bitmap thinks its BitmapData
is no longer needed and clears it internally.

Hopefully this is a coherent response -- I've been trying to track
this down for several hours straight!

> This sounds like a Q2 
> http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
> 
> :-)
> 
> If it's not, please post the code to your itemRenderer.
> 
> HTH;
> 
> Amy
>


Reply via email to