RE: [Flashcoders] Component order: Adding event handlers ?

2005-11-23 Thread Scott Hyndman
By multiple I mean duplicated.

The list is speedy today!

Scott

-Original Message-
From:   [EMAIL PROTECTED] on behalf of Scott Hyndman
Sent:   Wed 11/23/2005 6:47 PM
To: Flashcoders mailing list
Cc: 
Subject:RE: [Flashcoders] Component order: Adding event handlers ?
You're adding event handlers on child components?

If so, it would make sense to do it in createChildren.

None of the other choices are appropriate, since init, the constructor and 
onLoad are called before createChildren, and draw is called more than once (you 
don't want multiple event handlers).

Scott


-Original Message-
From:   [EMAIL PROTECTED] on behalf of Wade Arnold
Sent:   Wed 11/23/2005 5:52 PM
To: Flashcoders mailing list
Cc: 
Subject:[Flashcoders] Component order: Adding event handlers ?
Where is the proper place in a component to add event handlers?

class constructor
init
createChildren
draw
onLoad

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Component order: Adding event handlers ?

2005-11-23 Thread Scott Hyndman
You're adding event handlers on child components?

If so, it would make sense to do it in createChildren.

None of the other choices are appropriate, since init, the constructor and 
onLoad are called before createChildren, and draw is called more than once (you 
don't want multiple event handlers).

Scott


-Original Message-
From:   [EMAIL PROTECTED] on behalf of Wade Arnold
Sent:   Wed 11/23/2005 5:52 PM
To: Flashcoders mailing list
Cc: 
Subject:[Flashcoders] Component order: Adding event handlers ?
Where is the proper place in a component to add event handlers?

class constructor
init
createChildren
draw
onLoad

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Component order: Adding event handlers ?

2005-11-23 Thread Wade Arnold

Where is the proper place in a component to add event handlers?

class constructor
init
createChildren
draw
onLoad

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders