all groups > flash actionscript > may 2005 >
You're in the

flash actionscript

group:

HTML(Param) to Flash (Lable / Scene) !!!


HTML(Param) to Flash (Lable / Scene) !!! shahgillani
5/24/2005 12:00:00 AM
flash actionscript:
Hello everyone!
This is shahgillani !!!

I would like to know that how can we send the timeline to a specific
"Lable" or "Scene" by using the
<param ... > and <embed .. > tags in the HTML ?

Many thanks
Hassan Sajjad
shahgillani
Re: HTML(Param) to Flash (Lable / Scene) !!! Kaare
5/24/2005 12:00:00 AM
Hi,

You can do this in two ways, either by using querystring or by using the
FlashVars property of the Flash Player.

Both methods require that you add an extra <param> tag and extra information
in the <embed> tag.

Querystring method:
<PARAM NAME=movie VALUE="myFile.swf?myFrameLabel=intro"/>
and
<EMBED src="myFile.swf?myFrameLabel=intro" ... (other parameters)> </EMBED>

FlashVars method:
<PARAM NAME=FlashVars VALUE="myFrameLabel=intro">
and
<EMBED src="myFile.swf" FlashVars="myFrameLabel=intro" ... (other parameters)>
</EMBED>

In your first frame of your main timeline, simply have this code:
this.gotoAndStop(myFrameLabel);

Re: HTML(Param) to Flash (Lable / Scene) !!! shahgillani
5/25/2005 12:00:00 AM
Thanks a lot Kaare for your reply. I really appreciate that coz you get me out of the HELL. I have set to the Answered and Also I'm gona have a print of that ...

Re: HTML(Param) to Flash (Lable / Scene) !!! shahgillani
5/25/2005 12:00:00 AM
Thanks a lot Kaare for your reply. I really appreciate that coz you get me out of the HELL. I have set this to the Answered and Also I'm gona have a print of that ...

Re: HTML(Param) to Flash (Lable / Scene) !!! shahgillani
5/25/2005 12:00:00 AM
Thanks a lot Kaare for your reply. I really appreciate that coz you've got me out of the HELL. I have set this to the Answered and Also I'm gona have a print of that ...

Re: HTML(Param) to Flash (Lable / Scene) !!! shahgillani
5/25/2005 12:00:00 AM
Re: HTML(Param) to Flash (Lable / Scene) !!! Kaare
5/25/2005 12:00:00 AM
Heh, well, I'll take that as an indication that you were tripple pleased with
my help ;)

One more thing though, this doesn't really concern your task as is, but might
be usefull information later on. If you have to send in variables that contain
special characters, such as my three Danish ones - ?,?, and ? - the FlashVars
property work much better than querystring... that goes for encoding and
passing on of most special characters to Flash.

Happy Flashin' ...
Re: HTML(Param) to Flash (Lable / Scene) !!! shahgillani
5/27/2005 7:50:57 AM
Ya right you can say that ....
And thanks for the usful tip anyways !!!

Hey I am posting and other thread "External Image Clicking !!!" and I will be
expecting your help and reply there.

Please take a little more pain and help me !!!

Thanks
AddThis Social Bookmark Button