Reply
Integrating PHP, Flash and MySQL
Old 04-17-2007, 05:56 AM Integrating PHP, Flash and MySQL
Novice Talker

Posts: 5
Can anyone recommend any resources for integrating PHP and MySQL with Flash movies? I've found a few resources, but nothing really useful yet.
egdcltd is offline
Reply With Quote
View Public Profile Visit egdcltd's homepage!
 
When You Register, These Ads Go Away!
     
Old 04-17-2007, 07:08 AM Re: Integrating PHP, Flash and MySQL
BruceWayne's Avatar
Extreme Talker

Posts: 182
have a look webdesign.org
BruceWayne is offline
Reply With Quote
View Public Profile Visit BruceWayne's homepage!
 
Old 04-18-2007, 12:22 AM Re: Integrating PHP, Flash and MySQL
mtishetsky's Avatar
Super Spam Talker

Posts: 972
Name: Mike
Location: Mataro, Spain
What exactly do you mean with "integrating"? MySQL is nothing more than a data storage. PHP is server-side tool to fetch data from that engine and send it away, flash is client-side tool to fetch data from server (obviously through php) and display it to user in some way. What you need to do is:
1. Write a php application for fetching data from and putting data into the db according to arguments it was called with.
2. Write flash application that will call the certain URL (where your php script resides) and read some data from it.
__________________
Free Mobile Phone Themes

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 04-18-2007, 04:54 AM Re: Integrating PHP, Flash and MySQL
Novice Talker

Posts: 5
Quote:
Originally Posted by mtishetsky View Post
What exactly do you mean with "integrating"? MySQL is nothing more than a data storage. PHP is server-side tool to fetch data from that engine and send it away, flash is client-side tool to fetch data from server (obviously through php) and display it to user in some way. What you need to do is:
1. Write a php application for fetching data from and putting data into the db according to arguments it was called with.
2. Write flash application that will call the certain URL (where your php script resides) and read some data from it.
What I'm trying to do, if I can explain it correctly, is use the existing database and functions etc of a script I'm using with a Flash file. I want the Flash file to use the data from the MySQL database in it.
egdcltd is offline
Reply With Quote
View Public Profile Visit egdcltd's homepage!
 
Old 04-18-2007, 07:59 AM Re: Integrating PHP, Flash and MySQL
mtishetsky's Avatar
Super Spam Talker

Posts: 972
Name: Mike
Location: Mataro, Spain
You cannot query the DB directly from your flash movie (or at least there is no straightforward ability to do it without doing tricks and increasing size of your movie to 1Mb). You can fetch data from a webpage which is generated by your script and send data by calling that script with certain GET parameters.
__________________
Free Mobile Phone Themes

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 04-18-2007, 08:10 AM Re: Integrating PHP, Flash and MySQL
Novice Talker

Posts: 5
I know you can do something using LoadVars, but I can't seem to find many explanations of how to go about it.

To be honest, what I'm trying to do may be well beyond my programming skills, but if I can refine and explain what I'm after better, using more knowledge, it should help.
egdcltd is offline
Reply With Quote
View Public Profile Visit egdcltd's homepage!
 
Reply     « Reply to Integrating PHP, Flash and MySQL
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.34294 seconds with 13 queries