Hi Guys
Im in need of finding out how or even if its possible to convert an object to
an array?
Basically I am trying to output some vars from flash to an PHP script, yet when
PHP recieves the $_POST['textVars'] as [object Object] which is a string and
not an array so I can't access it with
Hi,
You could create a loop to look through each object and then make up
your arrays a bit like this - untested:
sendVars.textVars = new Array();
var numVars:int = textVars.length;
for(var i:int = 0;i numVars;i++) {
var obj:Object = textVars[i];
for(item:String
use remoting:
http://www.amfphp.org/
- Original Message -
From: SJM - Flash [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 29, 2008 2:19 PM
Subject: [Flashcoders] (AS3) Object to an Array
Hi Guys
Im in need of finding out how or even
Or SWX format
http://www.swxformat.org/
Pete
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: 29 April 2008 14:09
To: Flash Coders List
Subject: Re: [Flashcoders] (AS3) Object to an Array
use remoting:
http://www.amfphp.org
(
[textVars] = [object Object]
)
Thanks
SM
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Tuesday, April 29, 2008 1:43 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
Hi
to an Array
use remoting:
http://www.amfphp.org/
- Original Message -
From: SJM - Flash [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 29, 2008 2:19 PM
Subject: [Flashcoders] (AS3) Object to an Array
Hi Guys
Im in need
Object]
)
Thanks
SM
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Tuesday, April 29, 2008 1:43 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
Hi,
You could create a loop to look through each
Coders List
Sent: Tuesday, April 29, 2008 1:43 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
Hi,
You could create a loop to look through each object and then make up
your arrays a bit like this - untested:
sendVars.textVars = new Array();
var numVars:int
ASP .NET ?
use remoting ;-)
http://www.themidnightcoders.com/weborb/dotnet/
- Original Message -
From: SJM - Flash [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 29, 2008 3:52 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
Thanks for your help guys i went down the JSON route and won! :o)
- Original Message -
From: Muzak
To: Flash Coders List
Sent: Tuesday, April 29, 2008 3:35 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
ASP .NET ?
use remoting ;-)
http
10 matches
Mail list logo