Jason - 

Is there any reason for not using the event Listener? Just curious, is all.

Hal

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Friday, September 07, 2007 12:18 PM
To: [email protected]
Subject: RE: [Flashcoders] Function call from a function

>>Should be something more like this.
>>
>>target_mc.closer_mc.addEventListener("onRelease", 
>>Delegate.create(this, getPopHolder));

Or, I would just do this instead:

target_mc.closer_mc.onRelease = Delegate.create(this, getPopHolder);

(Then of course in AS3 you do:

theContainer.addEventListener(MouseEvent.CLICK, mouseClickListener);

)

Jason Merrill
Bank of America  
GT&O Learning & Leadership Development
eTools & Multimedia Team

_______________________________________________
[email protected]
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


_______________________________________________
[email protected]
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

Reply via email to