Welcome to WebmasterWorld Guest from

Forum Moderators: open

Flash integration with server side scripting (PHP)

How feasible is it?

11:30 pm on Apr 29, 2005 (gmt 0)

10+ Year Member

I've got a site where 99% of the content is generated on the fly by PHP scripts from a database. Most of it is text and HTML forms but there are also dynamically generated images.

At present our front end is just a bog standard HTML affair, but I'm particularly interested in developing a Flash interface to make the site more attractive.

My main concern, having never used Flash at all, is how well will it integrate with our PHP scripting? Can a form in Flash pass data to a PHP script for processing and how easy is it to get the dynamic content produced by the PHP script back into the Flash UI?


5:44 pm on Apr 30, 2005 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Yes it can, there are functions in ActionScript to load data from external URL's and send them to them as well.
11:12 pm on May 1, 2005 (gmt 0)

10+ Year Member


I'll look into it.

11:41 pm on May 1, 2005 (gmt 0)

5+ Year Member

Try to read about this method: sendAndLoad()

basically, you can send variables from Flash to any serverside programming language. At the serverside (such as PHP), you get the data using the $_POST["var1"] or $_GET["var2"] depends on you send variables as POST or GET.

When you want to send data from PHP back to Flash, try to read this method: LoadVars().

Hope that will get you start.



Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved