MySQL and Flash
Moderator: General Moderators
-
chris12295
- Forum Contributor
- Posts: 113
- Joined: Sun Jun 09, 2002 10:28 pm
- Location: USA
- Contact:
MySQL and Flash
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
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
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.
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.