PHPBuilder - Using PHP and MySQL with Flash Page 9



RSS Twitter
Articles Databases

Using PHP and MySQL with Flash - Page 9

by: Jeffrey F. Hill
|
December 14, 2001

The Actionscript used for updating the variables

on (release) {
    loadVariablesNum("Update.php?Name="+Name+"&Comment="+Comment+"&O1x="+O1x+"&O1y="+O1y+"&O2x="+O2x+"&O2y=
    "+O2y+"&O3x="+O3x+"&O3y="+O3y, "0");
    _root.UpdateStatus = "Updating..";
}
This part is probably easier accomplished by just using the Post option of the loadVariablesNum function -- which will post all the variables in the movie to the script. But I just attached them all onto the end of the url to the php script. Mostly because it's easier to test and you know exactly what is being passed.

Part III - Conclusion

Hopefully by reading over the source code and the php files you'll be able to better understand this tutorial. From these basic functions shown in this tutorial you should be able to manipulate the files and database into anything you want using Flash as the front-end. The possibilities are limitless and it is my hope that by sharing this with the rest of the Flash world that we'll start to see Flash take over in the interactive areas of the web that html once ruled unchallenged -- until now. (Ok -- I apologize for that last remark.)
-Jeffrey F. Hill

Don't forget to follow along in the working tutorial at: http://www.flash-db.com/Ex1/Ex1_SaveMovie.html. Also you can see more complex examples of this and everything else at www.flash-db.com.


« Previous Page
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Jeffrey F. Hill

Comment:



Comment:

(Maximum characters: 1200). You have characters left.