Check Joey Lott's tutorial on building components that subclass MovieClip
http://www.person13.com/articles/components/creatingcomponents.html Mani On 2/1/06, Charles Parcell <[EMAIL PROTECTED]> wrote: > > OK, I really am at a lose. There is some sort of property and or > event/function that is getting called that I just am missing. > > I have created a simple component that extends MovieClip (NOT UIObject or > UIComponent). If I scale the component in Flash (the IDE) there is no > visible change to the component. Once I publish the component is scaled. I > can accept that. > > But in my code, I have the visual part of my component size itself (via > _width and _height) on EnterFrame. This is completely ignored. OR and here > is where I might be all messed up, the component is being scaled as a > whole > after all the internal parts of the component are drawn. If this is the > case > how can I communicate with these top level component properties s that I > can > draw my component properly? I have tried getting the component _xscale and > _width with no luck. > > Please school me. I want to pull my hair out and the documentation within > Flash is not helping me. > > Thanks, > Charles P. > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

