How to load dynamic events in Flex
Posted
by user309010
on Stack Overflow
See other posts from Stack Overflow
or by user309010
Published on 2010-05-17T08:28:23Z
Indexed on
2010/05/17
8:30 UTC
Read the original article
Hit count: 214
Hi All,
I have a small flex application.
What I want to achieve is, I want my user to pass the script as a parameter. so he has the flexibility to do anything with the buttons->like add event, hide the other buttons.
Something like this(below)
<param name="script" value="import flash.events.Event;\n private function printMessage(event:Event):void {\nmessage.text += event.target.label + " pressed" + "\n";\n}">
Thanks.
© Stack Overflow or respective owner