Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-10-2005, 07:52 AM   #1
Registered User
Join Date: Jun 2005
Posts: 1
Default Passing an array from flash mx 2004 to asp

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,
chrislowe is offline   Reply With Quote
Old 06-13-2005, 05:12 AM   #2
Super Moderator
Cota's Avatar
Join Date: Jul 2001
Location: NYC
Posts: 10,175

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.
Color Wars™ | (kul′ər wôrs) n. - Open conflict between factions. www.theColorWars.com

cota - www.chadworkman.com | http://shavedplatypus.com
occupation: designer | flash developer | server-side developer (php, asp, mssql, mysql)
Cota is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:14 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.