PDA

View Full Version : Passing an array from flash mx 2004 to asp


chrislowe
06-10-2005, 08:52 AM
Hi all,

I have a simple shopping cart inside flash that saves products into a 2d array.

I now need to be able to send this product list out to an asp page. I'd love to be able to send the array (would keep things cleaner). I know that the serializer class works for sending arrays from flash to php, but I was hoping that there was somthing similar for asp.

Thanks in advance,
Chris

Cota
06-13-2005, 06:12 AM
The method I've always used in the past was to create a loop within LoadVars() that would create/assign a variable for each element of the array and do the opposite on the ASP side. Aside from the array, you only have to send to one other variable and thats the number of elements within the array so that the ASP side can run its loop.