MySQL and Flash

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
chris12295
Forum Contributor
Posts: 113
Joined: Sun Jun 09, 2002 10:28 pm
Location: USA
Contact:

MySQL and Flash

Post by chris12295 »

i have a php script that gets rows from a mysql database and i need to know how to put the results in squares in a flash movie, preferablly using PHP in the Flash scripting somehow
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

please do not cross post, even if your topic could fit in more then one forum. i have deleted your other topic from the Misc.
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

I'm not going to tell you how to do this because if you have any common sense you will be able to work it.

I will give you some clues.. the rest is up to you.



1: Flash can read variables from a file (including PHP files which are pure PHP coded ie.. no HTML code)

2: If Flash reads a PHP file the PHP runs as normal.

3: Any variables you echo() from the PHP file are seen by Flash as variables (your echo might look like this var1=bob&var2=pete&var3=jane

4: Use a bit of ActionScript to display the variables in your 'boxes'.

5: May not work with I.E running on a MAC.... dunno why.



Think about it.
Post Reply