|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Flash and PHP
I have a mysql database and am using PHP throughout my site to access the database. On the homepage however there is a Flash nav bar that also needs to be updated through the database. All I need to update on the Flash nav bar are a couple of simple variables, a date and location.
If anyone could help me out with this that would be great. Thanks in advance for your time!!! |
|
#2
|
|||
|
|||
|
here we go:
in the first frame add this loadVariables("test.php",this); create oneMovieClip here is action for MovieClip on(data){ _root.time=time; _root.date=date; } after that, make 2 dinamic text fields called time and date on the scene. and finally here is how test.php file looks like you code it as you like but when you start it , there should be something like this on the screen time=16:00 AM&date=13 June 2003 so it is important to variables looks like here php file can be like this: <? //code $time=... $date=... echo "time=$time&date=$date"; ?> i hope it helps regards and sorry for my bad english Milan www.kim-team.com |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Flash and PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|