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

Hertzel Armengol hertzel at osc.co.cr
Wed Jan 3 16:40:46 CET 2007


Nicolas Cannasse wrote:
>> 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"
>>     
>
> They should return "HTML".... on Internet Explorer.
> Try checking that you correctly set the parameters for both <param/> and
> <embed/> tags (one for IE and one for Firefox).
>
> Nicolas
>
>   
lol tnks I forgot to include the variables in one of the tags, now it 
works :) tnks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070103/7448033d/attachment.htm


More information about the Haxe mailing list