PDA

View Full Version : php and flash


elektra
09-24-2003, 09:12 AM
here is a newbie question. Is it possible to load an external php-file into a website in Flash? Im making a new website to replace an old php-site and would like to reuse som of the php-pages, so that they can be seen in my flash-site. Is that even possible - and how? And if yes - how can I control where the php-files are shown on the screen? Please flash-people - help!

vosgien
09-24-2003, 11:14 AM
Hi Elektra,
Have you tried

getURL("http://www.mysite.com/myFoldername/myphp.php")
Not sure if that'll work or not, but worth a try


Alternatively you could open a html window that has the php embedded !

Cheers

Vosgien

spriggan
09-24-2003, 11:26 AM
getURL will let you open a new window with the PHP code. You can load PHP varables into flash, but just like HTML, you cannot display PHP pages in flash. To load varables you use loadVar.load function

http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary427.html