Hi,
i have a perl cgi that pass variables to a flash movie.
Usually i use c++ but this time i need to use perl, so...
Tha problem is that when i run onLoad method it loads but i'm unable to take
variables values.
So i tried the LoadVars.toString method and it return [type Function] ...
what
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 12:54 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] LoadVars problems
Hi,
i have a perl cgi that pass variables to a flash movie.
Usually i use c++ but this time i need to use perl, so
Hi Riccardo !
your cgi must return you variables in the form of:
var1=data of var1var2=data of var 2
and in flash in the onLoad method you use
my_lv.onLoad = function(success){
if(success){
trace(this.var1); // this is the var name you defined in your cgi
trace(this.var2);
}
}
Here is the code :
list_lv.onLoad=function(success:Boolean)
{
if(success)
{
//test is the var associated to a text area
test = list_lv.contentType+ +list_lv.toString;
}
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription
I did it, ialways do it with c++ and it works but in perl it doesn't...
but if in the perl script i simply do print var1=1var2=2var3=3 flash
reads them.
So i thinks is something passed to flash from perl when it dinamicalli create
the string and i'm trying to get more informations using
toString is a method, not a property. Try list_lv.toString(); instead.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 1:13 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] LoadVars
Thanks , now it works... Now i only need to understand what's appening here
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by
7 matches
Mail list logo