|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Hi,
I'm trying (what I thought was a simple) test to load variables from a php page into flash. The flash piece is simple, about 10 frames of the main timeline containing 3 dynamic text fields. The variables these fields hold are obtained from a basic php script... PHP Code:
The flash piece then loads them using "loadVariablesNum("fileList3.php", 0);". Now, for some reason flash will only load the first variable stated and no others. Can anyone point out if I'm doing anything wrong? Many thanks Daniel |
|
#2
|
|||
|
|||
|
Hey Daniel,
you need to join your variables with ampersands so that the php pages prints out a string like: FileName=myValue&TotalFiles=myOtherValue&Dummy=Another Value |
|
#3
|
|||
|
|||
|
Quote:
This is partly true. There is one other problem, flash cache's files like a mofo (its bad), so to get around this you need to do. loadVariablesNum("fileList3.php?RND="+random(999), 0); |
|
#4
|
|||
|
|||
|
Many thanks guys,
Daniel |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Flash Development > Dynamic Flash using PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|