I have an inspectable field in my component where I want the user to
be able to enter the name of a function to execute when a certain
event occurs.  Since I would need to let the user enter a string, how
can I let the user enter any path and still call the function?  I
figure its gotta have something to do with Function.apply() or eval(),
but i cant quite get it.

for example, i would like them to be able to enter either :
     _level0.myObject.myFunction

or

    myFunction (if this function would bee on the same timeline as the
component)

does that make sense?
_______________________________________________
[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