u have to set its width or if your UIcomponent has any children then it will take its width untill explictOrMesuredwidth (of its childern) function is called.
Whats your UIComponent all bout??? Please give a code snippet of it. On Wed, Aug 5, 2009 at 11:19 PM, initpixel <[email protected]> wrote: > > hi all > > i have a problem. > > When i create an extended UIComponent class object, within the object > the width is always zero. though, its parent's width can be traced > correctly. and may be because of this, the parent container which is a > canvas shows now scroll bar :( > > any thoughts ? please help.. > > ajay > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

