PDA

View Full Version : html tells swf to load movie


bobsmo
09-30-2003, 02:48 PM
hi all

I'm trying to get an html link to loadMovie to the embedded flash.

I've seen where some have passed variables from the html to the movie - once a variable is changed- then the flash loads a movie- I'm totally lost with this method-

is there any tutorial out there that can break it down for me

thanks for the help

bobsmo

pellepiano
09-30-2003, 06:40 PM
You can pass variables via the Parameter AND Source tags in the html..like...

<EMBED src="myMovie.swf?myVariable=2004"...................

..the same goes for the parameter tag

<PARAM NAME=movie VALUE="myMovie.swf?myVariable=2004"...............

The variable is instantly accessible in Flash.

bobsmo
09-30-2003, 06:53 PM
So to clearly sya what I'm tyring to do

I have a little flash int the corner of a sea of text on a html page --
I'd like to load like 10 different .swf into level 10
from the html text out there on the page.

so on the page its like--- text text ttext tetxetx text text ttext tetxetx text text ttext tetxetx
<a href="song1.swf">song 1</a>

Is there anyway to get my flash movie to load that song1.swf into level 10