RE: [Flashcoders] LoadVars problems

2006-05-03 Thread riccardo.roasio
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 Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] LoadVars problems

2006-05-03 Thread Tom Lee
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 problems

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 options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] LoadVars problems

2006-05-03 Thread riccardo.roasio
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 LoadVars.toString 
method... 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] LoadVars problems

2006-05-03 Thread riccardo.roasio
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 options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] LoadVars problems

2006-05-03 Thread MBDI ICSC Rodrigo E. Curiel Salazar

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);
  }
}

Rodrigo

On 5/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


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 means?

Thanks,Riccardo
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] LoadVars problems

2006-05-03 Thread Tom Lee
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 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...

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 means?

Thanks,Riccardo
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com