Hey Guys!
I have a fairly simple question, I think. I am creating a flash project where the flash movie loads an mp3 file externally.
What I mean is. When i include the flash movie (Object) into the html document I want to be able to set the filename through a <Param> tag.
Meaning, I want to be able to use the same flash object (movie) but being able to set the mp3 file for each movie.
Kind of like this:
<object type="application/x-shockwave-flash" data=" width="290" height="24" id="audioplayer1">
<param name="movie" value=" />
<param name="FlashVars" value="playerID=1; soundFile=music.mp3" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="bgcolor" value="#FFFFFF" /></object>
So what I wanna do basically is to be able to set some variable in the flash movie by setting them in the <param> tag. And I would like to know how to achieve this. What do I have to do in flash actionscript.
I want to be able to use the flash movie several times on the same page setting just the playerID variable to distinguish them from each other.
Thanks in advance guys! Hope to a quick answer.
Best,
Richard
I have a fairly simple question, I think. I am creating a flash project where the flash movie loads an mp3 file externally.
What I mean is. When i include the flash movie (Object) into the html document I want to be able to set the filename through a <Param> tag.
Meaning, I want to be able to use the same flash object (movie) but being able to set the mp3 file for each movie.
Kind of like this:
<object type="application/x-shockwave-flash" data=" width="290" height="24" id="audioplayer1">
<param name="movie" value=" />
<param name="FlashVars" value="playerID=1; soundFile=music.mp3" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="bgcolor" value="#FFFFFF" /></object>
So what I wanna do basically is to be able to set some variable in the flash movie by setting them in the <param> tag. And I would like to know how to achieve this. What do I have to do in flash actionscript.
I want to be able to use the flash movie several times on the same page setting just the playerID variable to distinguish them from each other.
Thanks in advance guys! Hope to a quick answer.
Best,
Richard