Communication

When there is more than 1 parameter, they are still all in flashVars but they are separated by an ampersand.

Get Adobe Flash playerSave speedball1.fla as speedball2.fla and publish it. Find speedball2.html and open it using a text editor such as notepad or Dreamweaver.
Find two places in the code that say <param name="bgcolor" value="#ccccff" />
Immediately after each of those line add the line below:
<param name="FlashVars" value= "speed=5&message=Greetings Earthlings" />

Save the file, then close it and double click to open the page in the browser. The ball now has a speed of 5 and moves faster plus the message is displayed.

Experiment: Download the movie

NEXT: Where am I?