homepage Welcome to WebmasterWorld Guest from 54.227.62.141
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
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?
bluedalmatian




msg:1565830
 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?

Thanks

 

rocknbil




msg:1565831
 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.

bluedalmatian




msg:1565832
 11:12 pm on May 1, 2005 (gmt 0)

Thanks.

I'll look into it.

sokhodom




msg:1565833
 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.

Sokhodom

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved