I am designing a web site for a local motorbike shop...
and I want to have a Flash front end, then then called .php files which in turn gets data from a mysql database and sends it back to the flash for displaying....
I know how to get the data from the database via the php file... but wont i dont know is how to get the flash to ask for the data from the php and for the php file to give the data to the flash part!
Ive looked everywhere for tutorials and example with no luck...
so if you can help ill be very grateful
thankyou
Andrew
ummm a bit of everything!...
Moderator: General Moderators
- AndrewBacca
- Forum Commoner
- Posts: 62
- Joined: Thu Jan 30, 2003 10:03 am
- Location: Isle of Wight, UK
What you want is to use the actionscript command "GETURL"
Which will allow you to POST/GET to and from any .php or .asp or whatever that you need.
Not sure if these will help (I didn't read them):
http://www.weberdev.com/ViewArticle.php3?ArticleID=77
If you are using flashMX then you might need to use LoadVars:
http://www.macromedia.com/devnet/mx/fla ... php02.html
Good Luck
Which will allow you to POST/GET to and from any .php or .asp or whatever that you need.
Not sure if these will help (I didn't read them):
http://www.weberdev.com/ViewArticle.php3?ArticleID=77
If you are using flashMX then you might need to use LoadVars:
http://www.macromedia.com/devnet/mx/fla ... php02.html
Good Luck
- AndrewBacca
- Forum Commoner
- Posts: 62
- Joined: Thu Jan 30, 2003 10:03 am
- Location: Isle of Wight, UK
- AndrewBacca
- Forum Commoner
- Posts: 62
- Joined: Thu Jan 30, 2003 10:03 am
- Location: Isle of Wight, UK