Groups | Blog | Home
all groups > flash actionscript > april 2005 >

flash actionscript : can flash process its own forms?



David Stiller
4/19/2005 4:34:15 PM
websights,

[quoted text, click to view]

It depends on what you mean by "process," I think. ;) HTML pages don't
process their own forms, the server does, usually via ASP, PHP, Perl, what
have you. Of course, JavaScript can parse the data before sending it to be
processed by the server. In like fashion, Flash variables can be sent to
the server using GET or POST, just like in HTML, and ActionScript can parse
that data in much the same way JavaScript does.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

David Stiller
4/19/2005 7:19:53 PM
[quoted text, click to view]

If you're generating an email or using a database, then yes ... ASP,
PHP, etc. is what you'll need. (Unless you use mailto: with getURL(), but
that requires that the user has a default email client installed and is no
more [or less] dependable than doing the same in HTML.) The nice part is,
once you figure out how to use those scripts with HTML, it's easy as pie to
use them with Flash. The getURL() function, MovieClip.loadVariables()
method, or LoadVars class each offer mechanisms for sending the data.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

websights
4/19/2005 8:13:07 PM
websights
4/19/2005 9:25:45 PM
Travis Newbury
4/20/2005 6:19:28 PM
[quoted text, click to view]

It is very simple. Search the help for LoadVars(). That is about the
easiest. Create a loadVars instance, set the variable that the server
script is looking for, then call sendAndLoad()


--
AddThis Social Bookmark Button