[haXe] walk trought all objects of a movie clip
Hertzel Armengol
hertzel at osc.co.cr
Sat Jan 6 00:20:36 CET 2007
Nicolas Cannasse wrote:
>> Hi, my flash app, must receive values that are assigned using this way.
>> example.swf?var1=foo&var2=fooo...
>> there's a way in which I can recover the _root element to get all the
>> values that are within it without know their names?
>>
>> something like
>>
>> foreach (flash.lib._root as tmp) {
>> var X:Dynamic = tmp;
>> }
>>
>
> for( f in flash.Lib.keys(flash.Lib._root) ) {
> var x : Dynamic = Reflect.field(flash.Lib._root,f);
> ...
> }
>
> Nicolas
>
>
tnks :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070105/9e5916f9/attachment.htm
More information about the Haxe
mailing list