[haXe] read GET params within haxe (AS2-3)

Hertzel Armengol hertzel at osc.co.cr
Tue Jan 2 23:11:07 CET 2007


hi guys, happy new year :)

Im a bit new on the flash world and even more on the haxe world :P

my question can be quite simply for U, but please help me

how can I load content using GET on haxe, for example

<param name="movie" value="test.swf?test=HI&test2=HTML"/>

now what I must do to retrieve those tow variables in my movie?

I tried this w/o luck

var but = flash.Lib._root.test2; or
var but = flash.Lib._root.test1;

both returned "undefined"

any suggestions? my flash is just one file, and as I read _root is the 
same as _level0 or am I wrong?


Regards
Hertzel



More information about the Haxe mailing list