|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
PHP into Flash Please Help
Hi Guys,
I'm a total newbie at both flash and PHP, but I managed to create a flash website but my problem is this. I want to place a textbox in the middle of my flash page which will call a .php file and place it into this textbox. Is this possible? I've managed to call text from a text file into the box, but don't know what parameters I need to add to the actionscript to get it to recognis the .php file and all its tags. Your help would be greatlly appreciated. Jason |
|
#2
|
|||
|
|||
|
calling the php script is no different to calling a text file as far as flash is concerned, just give the path to it in your loadvars.load or whatever you use - the difference is at the php end. what you want to php to output is exactly what flash is expecting to see, nothing more, eg
Code:
&var1=value1&var2=value2&.... so arrange the script accordingly...all depends what kind of data you want to send....for a trivial example: PHP Code:
but obviously your data is more likely to be coming out of a database or text file......... |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > PHP into Flash Please Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|