listen to that! the v2 components are sheet in flash unfortunately when compared to flex 1.5. if however you are hell bent on using the v2 framework, invalidate will be the thing to use, i would (residual memory kicking in) still have your own init flag.
On 3/22/07, Muzak <[EMAIL PROTECTED]> wrote:
That is if you're extending UIComponent, which 99.9% of the time I don't ;) regards, Muzak ----- Original Message ----- From: "Alexander Farber" <[EMAIL PROTECTED]> To: <flashcoders@chattyfig.figleaf.com> Sent: Thursday, March 22, 2007 9:04 AM Subject: Re: [Flashcoders] Entering hex number (a color) as component parameter > Looks wrong to me because the drawing code (the setBgColor()) > is called outside of the draw() method. Flash Help says to call > invalidate() from the set methods instead... > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
-- j:pn http://www.lennel.org _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com