Just simpler IMO, but it's probably slightly better to use a listener I
suppose since that's how it's done in AS3 and you can access
event.target and such.  Either way works

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


 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Hal Leonard
>>Sent: Friday, September 07, 2007 3:53 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: RE: [Flashcoders] Function call from a function
>>
>>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: flashcoders@chattyfig.figleaf.com
>>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
>>
>>_______________________________________________
>>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
>>
>>
>>_______________________________________________
>>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
>>
_______________________________________________
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

Reply via email to