Collect dynamic variables in flash to send to .php file?

Hi there,

Storyboard:

A/ Let a qualified-user place a dot on a country map and this dot will be shown on the map. When other users come by they see dot’s and those dot’s trigger a image.

1 Create a map, duh
2 Use the mouse to get the coordinates (_x and _y position) onRelease will be the selected coordinates.
3 Create a preview-scene were the qualified user sees the placement of his dot.
4 If oke, a image upload scene is triggered (the selected _x and _y coordinates are hidden)
5 The qualified user selects a image on his computer.
6 Again a preview scene, now with the dot on the map and the selected image.
7 If oke the user sends the coordinates and image to the server (i will use php-files to upload the info and a mysql-db to store the info)

I am stuck with step 2. In the attach file you can see what i have so fare.
The trace messages are the data i want to send to a php script. And think i must create an array in flash something like:


coords = new array();
for (i=0;i<=v;i++)
		{
coords.dotName = "dot"+v;
coords.dotXCoord = +_root.xcoord
coords.dotYCoord = +_root.ycoord
}

You gotta see the attach .fla to understand this. I have the values collected in “controller” movieClip.

Any tips, suggestions?

U have a Gravy idea, i have been working on a drop drag project where u can add/delete/edit items, get their values and pass via php to email. I am working on the sending co-ordinates @ the moment, but hope one day to be able to send the variables via php to create a pdf on the fly (but am just learning to crawl first).

hope this file helps!

:pope:

yeah maybe i should press attatch? :!:

I just downloaded your movies, gonna dive into it. Looks very good at first glance.

Will keep you posted on my progress.

Btw: For what kind of project do you use this?? Or is this classified?

Grtz

Cool, plz make sure you msg me sometime. Basically, i have to create a virtual room where u can add +drop and drag items in such as tables, chairs etc…
U should then be able to view how many items you have, and where they are placed.
The information then goes from the user to the supplier. the supplier then gets to see how many items the user has requested and can process the order. I am not that great at flash so is taking me a while, but the ppl here are fantastic!.

hope u work it out!..