[Flashcoders] A v2 Window with a Checkbox and a Button

2007-01-17 Thread Alexander Farber
Hi, I've drawn a red rectangle, then pulled a v2 Checkbox and a Button inside of it, named them my_checkbox and my_button and then converted all of that into a MovieClip which I called Settings and removed from the stage. Finally I've pulled a Window on the stage and called it my_win. While

Re: [Flashcoders] A v2 Window with a Checkbox and a Button

2007-01-17 Thread Thomas Fowler
So, you have a symbol in your library with a linkage identifier of Settings. Does this symbol also have the name of your class that is supporting the symbol? This class would be called Settings also. - Original Message - From: Alexander Farber [EMAIL PROTECTED] To: Flashcoders mailing

Re: [Flashcoders] A v2 Window with a Checkbox and a Button

2007-01-17 Thread Thomas Fowler
Going to send your .fla w/ a class file here in just a sec... - Original Message - From: Thomas Fowler [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, January 17, 2007 8:34 AM Subject: Re: [Flashcoders] A v2 Window with a Checkbox and a

Re: [Flashcoders] A v2 Window with a Checkbox and a Button

2007-01-17 Thread Thomas Fowler
Looked at this for about 15 min. and for some reason neither component is available for me to change. Strange... - Original Message - From: Alexander Farber [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, January 17, 2007 8:57 AM

Re: [Flashcoders] A v2 Window with a Checkbox and a Button

2007-01-17 Thread Muzak
The checkbox and button aren't ready (initialized) by the time the Window complete event is triggered. To found out when the Settings movieclip is ready, attach a class to the movieclip (call it Settings), which extends the MovieClip class. Define an onLoad method and dispatch an event.

Re: [Flashcoders] A v2 Window with a Checkbox and a Button

2007-01-17 Thread Fumio Nonaka
Hi Muzak, Shouldn't the EventDispatcher.initialize() apply to the prototype of a class? _ The checkbox and button aren't ready (initialized) by the time the Window complete event is triggered. To found out when the Settings movieclip is ready, attach a class to the movieclip (call it

Re: [Flashcoders] A v2 Window with a Checkbox and a Button

2007-01-17 Thread Muzak
Yup, it should.. Thanx for spotting that ;-) private static var dispatcherInit = EventDispatcher.initialize(Settings.prototype); regards, Muzak - Original Message - From: Fumio Nonaka [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday,