Is it possible to escape from XML, to ActionScript 3 code? Take a look at the following:
<keyFrame name="myKey" delay="100ms" function="{function():void{soundCommand.execute()}}"></keyFrame>
where the
function():void{soundCommand.execute()}
part has to be interpreted as ActionScript 3. So ideally, if I query the function attribute of the keyFrame tag, I should get a reference to the function.
Any ideas? Thanks in advance!
PS: No Flex is allowed. :)