Hi I have got a perl (aa.pl) file which is giving a output like name=alpha&status=1. Now I want to trace them in flash 8, as2 . I am using load vars but I am unable to extract the variables. The following is the code which I have used .
[SIZE=4]var lv:LoadVars=new LoadVars();[/SIZE]
[SIZE=4]lv.load(“load2var.pl”)[/SIZE]
[SIZE=4]lv.onLoad=function (status){[/SIZE]
[SIZE=4]trace (lv.name)[/SIZE]
[SIZE=4]}[/SIZE]
output
[SIZE=4]undefined[/SIZE]
This is what I am receiving in the output can anybody help?
If insted of *.pl file I use a .txt file I am getting the desired output.