Javascript to Flash communication
|
Popularity: (1048)
Tags: flash macromedia simple forms ecards Link: Visit It >> |
Now back to the tutorial. When the html page loads it gets all the specifics about what server its on the form to send to you and the emails to use. It then loads them into the html fields in the form. As soon as flash loads up it grabs the data by running the javascript with a call to: getURL("javascript:loadVarsFromField ") The function is called in the browser and it starts loading what ever is in the html to variables named the same in flash.