Hello :)
use mx.utils.Delegate class :)
[code]
myButton.onPress = Delegate.create(_root, _root.action) ;
[/code]
With Delegate.create method you can create a virtual method with your scope
and your method.
EKA+ :)
2006/5/22, Loren R. Elks <[EMAIL PROTECTED]>:
Hi:
Can someone help me with a scoping issue?
SWF A is being loaded into SWF B. Currently, there's a function located
in SWF A that is triggered by a user clicking on a movieclip in SWF
A. Basically, I am trying to make it trigger from a button in SWF B,
instead of triggering by a button in SWF A.
When a user clicks Button B (located on SWF B), I would like it to call
the function located in SWF A. This function cause a menu to slide from the
left side.
Could you please cc: me directly as well on your reply:
[EMAIL PROTECTED]
Thanks,
Loren
"The only real mistake is the one from which we learn nothing." - John
Powell
___
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