RE:[Flashcoders] dispatching events at creation time?

2006-02-17 Thread azsl1326-email
: donderdag 16 februari 2006 16:01 To: flashcoders at chattyfig.figleaf.com Subject: [Flashcoders] dispatching events at creation time? -- class tryOut { public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function

Re: [Flashcoders] dispatching events at creation time?

2006-02-17 Thread Aaron Smith
Subject: [Flashcoders] dispatching events at creation time? -- class tryOut { public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; function tryOut() { mx.events.EventDispatcher.initialize

[Flashcoders] dispatching events at creation time?

2006-02-16 Thread Luca Candela
-- class tryOut { public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function; function tryOut() { mx.events.EventDispatcher.initialize(this); trace(I am Here 1);

Re: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread John Giotta
I've done it the same you have, but it only worked correctly in IE. Basically, I was replacing the MovieClip.onLoad, but when I tested in Firefox it never happened. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

Re: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread Stefan Mees
You can dispatch a Event at creation time, but no listener can listen to this event at creation time ;-) What came firstThe chicken or the egg? ;-) Luca Candela schrieb: -- class tryOut { public var addEventListener:Function; public var

Re: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread John Giotta
You can dispatch a Event at creation time, but no listener can listen to this event at creation time ;-) Yeah that would help. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread Ben Smeets
: donderdag 16 februari 2006 16:01 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] dispatching events at creation time? -- class tryOut { public var addEventListener:Function; public var removeEventListener:Function; private var dispatchEvent:Function

Re: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread Luca Candela
I resolved this issue with a callback to a function defined outside the class that sends the Event. anyone can tell me anything about my other problem of the day? On 2/16/06, John Giotta [EMAIL PROTECTED] wrote: You can dispatch a Event at creation time, but no listener can listen to this