PDA

View Full Version : Flash 5: storing multiple requests inside a variable



the chad
August 28th, 2003, 12:10 AM
Hi there,

I am creating a Flash form to be linked with PHP and am putting a variable in the form (on the main timeline) that will collect a bunch of choices from external swf files.
The idea is that there will be a number of buttons (representing colour samples) to choose from in several different swf files. When the user clicks on the colour samples of their choice (could be either 1 or more at a time), the buttons clicked on will be highlighted. When the user has finished selecting their colour choices, they are to press a 'submit' button which will take the names of their choices and list them inside the variable in the main timeline.
When they close the window where they made their choices, a Flash Form will appear with all of their choices showing inside the variable for them to double check. There will also be entry fields in this form for them to fill in their details and send off their requests.
I know how to make the Flash Form and send the data to a recipient via PHP ... but what I am stumped on is how to send the choices that are highlighted to be stored in the variable when the submit button is clicked.
As there are several different pages with sample choices and several different submit buttons, I need the variable to be able to store the requests accumulatively... i.e.- I don't want the first entry of requests deleted automatically when samples from a second or third page are clicked.
Can someone help me asap please?
thanks in advance.