Groups | Blog | Home
all groups > flash data integration > march 2006 >

flash data integration : php form + flash HELP?


Motion Maker
3/16/2006 11:36:56 PM
You could have your UI/PHP script return HTML that includes the OBJECT and
EMBED tags to Flash movies (swfs) you created and pass data into those
movies using the FlashVars parameter for the OBJECT and EMBED tag.

Not sure if this is what your application is calling for because all these
questions are unclear.

What does PHP do? Just echo the data? Or does it modify it?

If not, then do the input in Flash as well and make it the pretty input
form.

What do you mean by standalone movie? Flash creates Flash movies or swfs.
These require a Flash player to work. It also can publish projectors (exe
for Windows). Usually the projectors are considered a standalone movie since
the player is embedded in the movie.

As far as communicating with server side scripts, Flash is very flexible and
the examples in the help can be pasted for testing with any serverside
scripting language.

Here is the overview link for working with external data via scripts:
http://livedocs.macromedia.com/flash/8/main/00001583.html

Here is the help example for an XML data communication:
http://livedocs.macromedia.com/flash/8/main/00002879.html
Here is the help example for an URL variable data communication:
http://livedocs.macromedia.com/flash/8/main/00002336.html

I found those examples very helpful and often paste them into code for the
template on a new movie.

As well I have some samples online I use in seminars I conduct you can look
at and download. Some are with PHP:

http://www.hosfordusa.com/ClickSystems/courses/flash/









--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
sorry if this is dumb Q...but...

say you collect user info via pretty standard form using PHP.
when form is submitted, the info supplied is spit back out -- integrated
into
a stand alone flash movie.

how complex is this?

form has 6 input fields. resulting flash would generate a different 'page'
for
each. action is limited to basic navigation between 'pages'.

thanks much for all/any help. just need to understand what's going on in
there before i recommed this as a solution.

thnx!!!!!!!!!!!!!!!!!!!!!!1

obwat
3/17/2006 1:52:51 AM
sorry if this is dumb Q...but...

say you collect user info via pretty standard form using PHP.
when form is submitted, the info supplied is spit back out -- integrated into
a stand alone flash movie.

how complex is this?

form has 6 input fields. resulting flash would generate a different 'page' for
each. action is limited to basic navigation between 'pages'.

thanks much for all/any help. just need to understand what's going on in
there before i recommed this as a solution.

thnx!!!!!!!!!!!!!!!!!!!!!!1
AddThis Social Bookmark Button