Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebProNews.com:
Flash and PHP
May 18, 2004 @ 12:26:59

From a pointer from PHP Magazine, there's a new posting on WebProNews.com about integrating PHP with everyone's favorite web technology - Flash.

In PHP Into Flash, the author sets out to pull external data into Flash from a PHP script. Here, the key is to format your information correctly (like it was on the _GET string), and use the LoadVars to pull the URL into the application, parse the results, and reassign the values to internal Flash values. They then create some drop-down lists with the Flash piece, created from the variables pulled from the web page.

When I tried this same sort of thing before, I used a function that pulled everything in and automatically assigned it to an internal Flash variable by the same name. Looks pretty similar here, save that now it stores them in an object container instead of just throwing them all over the place.

tagged:

Link:


Trending Topics: