Ok, basically i'm gonna start with just trying to get the right variables to the coldfusion script and i've come up with this.
All the elements are on the stage and are named "Shirt" + i (where i is a number).
There is a button at the bottom called save, with this script attributed to it.
Code:
on(press){
vars = new LoadVars();
for (i=0; i<my_xml.childNodes.length; i++) {
vars.id = i;
vars.xposition = _root["shirt" + i]._x;
vars.yposition = _root["shirt" + i]._y;
vars.send("http://www.roptix.co.uk/flashtest.php", POST)
}
}
(i'm using a small php script to simply write the variables to a file (our CF server is broken atm) not doing anything to them), however when i press the save button nothing happens and the file the script is supposed to write to stays empty. (php works as i've tried writing with GET and accessing it directly with a variable in the URL)
EDIT: doing shows exactly what i want it to achieve... yet i can't get it to send... whats the problem ?