morgate
03-15-2004, 12:35 PM
Hi all,
I am going through unexplored ways (for me ) in here, and I was hoping I could get some help/pointers from you
I am designing a template where the user can click several times on a blank flash movie, and those clickls are transformed into an array of x,y coordinates, to be stored in a dynamic file on the server. Flash loads these variables then and draws them on screen.
when another user clicks on top of that shape, the new array of coordinates is concatinated in the same dynamic data file, to be loaded again by flash to draw the two shapes together.
so in short it is a collaborative drawing template.
This is a project that I am doing for school, I am on an intermediate level in Actionscript and currently looking into PHP, but I don't know anything about MySQL (although I know we have it instaled on the school server), and everyone I asked tells me that I should be writing to a MySQL database.
so my question is: how do I write the data (text,variables, or any form of Data) into a dynamic file, and is there any other ways to achieve that using php and/or XML? I know that Flash can't write to external files by itself (I might be wrong) so whatever I do inside it has to be passed to a PHP script that writes/concatinate the dynamic data file...
so can anyone tell me/point me to the direction where I can find info about this subject??
Thanks..
I am going through unexplored ways (for me ) in here, and I was hoping I could get some help/pointers from you
I am designing a template where the user can click several times on a blank flash movie, and those clickls are transformed into an array of x,y coordinates, to be stored in a dynamic file on the server. Flash loads these variables then and draws them on screen.
when another user clicks on top of that shape, the new array of coordinates is concatinated in the same dynamic data file, to be loaded again by flash to draw the two shapes together.
so in short it is a collaborative drawing template.
This is a project that I am doing for school, I am on an intermediate level in Actionscript and currently looking into PHP, but I don't know anything about MySQL (although I know we have it instaled on the school server), and everyone I asked tells me that I should be writing to a MySQL database.
so my question is: how do I write the data (text,variables, or any form of Data) into a dynamic file, and is there any other ways to achieve that using php and/or XML? I know that Flash can't write to external files by itself (I might be wrong) so whatever I do inside it has to be passed to a PHP script that writes/concatinate the dynamic data file...
so can anyone tell me/point me to the direction where I can find info about this subject??
Thanks..