On Sep 7, 11:55 pm, HISSAM <[email protected]> wrote:
> On 07/09/2009, pakalk <[email protected]> wrote:
>
>
>
> > Hello
>
> > Ok, here's the problem.
>
> > I have a TileList. And I have a custom item renderer. In item
> > renderer, there is Canvas element. When drawing item, I remove all
> > children from this canvas, and put one Image. It works fine for almost
> > all elements. Only the first on TileList is blank. In the fact, the
> > Canvas is blank. I realized that all children are removed, and Image
> > is added (numChildren == 1), but it is not visible. Can anybody tell
> > me why?
>
> --
> ------------------------------------------------
> Hissam,
> Flex Developer,
> Vantage Labs,
> 5A, Neil Road,
> Singapore-088806
> (M)+65 90852194
> ---------------------------------------------------
> Check the image source n then change the source(may be the image has
> problem). Best is to override the set data method n then change the
> state, assign the image source in this method. Also check if u getting
> unnecessary calls to the renderer, if so then avoid it
Thanks. I have tried this, and nothing happens :)
Image data (Image object) is not taken from item renderer, but from
external object pool. This error occurs only with the first item
(image), and only when redered first time - refreshing (exc.
rerendering after roll over) works fine.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---