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
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
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=1&var2=2&var3=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 Loa
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
Hi Riccardo !
your cgi must return you variables in the form of:
&var1=data of var1&var2=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);
}
}
Can you post some actual code? It sounds like either you are executing
toString on the LoadVars function itself rather than an instantiated
LoadVars object, or you have forgotten the parentheses:
'LoadVars.toString()' instead of 'LoadVars.toString'.
-Original Message-
From: [EMAIL PROTECT
6 matches
Mail list logo