This is prolly not possible in flash, but I thought i'd ask just for shits and giggles.
Would it be possible to write a callback in flash, where the funtion is defined in xml and is assigned to a variable when read into flash, while that variable acts as a place holder in flash.
So say i have a method <func><![CDATA[foobar() {....
}]]></func>
coming in from xml.
can I do something to the effect of: bar = <node that equals the fucntion foobar() coming in from xml>
and use bar everywhere in the actionscript code......
Thanks.
Would it be possible to write a callback in flash, where the funtion is defined in xml and is assigned to a variable when read into flash, while that variable acts as a place holder in flash.
So say i have a method <func><![CDATA[foobar() {....
}]]></func>
coming in from xml.
can I do something to the effect of: bar = <node that equals the fucntion foobar() coming in from xml>
and use bar everywhere in the actionscript code......
Thanks.