homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Flash integration with server side scripting (PHP)
How feasible is it?

10+ Year Member

Msg#: 484 posted 11:30 pm on Apr 29, 2005 (gmt 0)

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?




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

Msg#: 484 posted 5:44 pm on Apr 30, 2005 (gmt 0)

Yes it can, there are functions in ActionScript to load data from external URL's and send them to them as well.


10+ Year Member

Msg#: 484 posted 11:12 pm on May 1, 2005 (gmt 0)


I'll look into it.


5+ Year Member

Msg#: 484 posted 11:41 pm on May 1, 2005 (gmt 0)

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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

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