Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help on first slide show.

Status
Not open for further replies.

ToddWW

Programmer
Joined
Mar 25, 2001
Messages
1,073
Location
US
I am using a low cost flash generator to create a slide show of all of the customer logos that use our product. I have about 40 logos in the slide show. Each time the visitor loads a new page, the slide show starts at the beginning. Here is my HTML code:
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=userlogos width=170 height=80 codebase="[URL unfurl="true"]http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0">[/URL]
<param name="movie" value="flash/userlogos.swf" />
<param name="quality" value="high" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="bgcolor" value="#ffffff" />
<embed src="flash/userlogos.swf"  width=170 height=80 bgcolor="#ffffff" quality="high" loop="true" type="application/x-shockwave-flash" pluginspace="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] />
</object>
I have two questions...

Can I use a parameter to load the movie starting at a specific frame instead of the beginning?

If that is not possible, I have heard that you can string multiple movies together. I'm thinking I can split the existing flash into 4 seperate movies and then randomly order them depending on the page the user goes to.

My goal is that the flash movie does not start at the beginning each time the user navigates to a different page, rather it starts at a random frame.

Any ideas would be greatly appreciated. I am not using Macromedia Flash as my editor. I am using KoolMoves.

Thanks in advance.

ToddWW
 
You use FlashVars to pass params to the movie with the name of the frame you want to start with.

Code:
in the html code
<embed src="mymovie.swf" FlashVars="firstFrame=myFrameName" ...
and within the <OBJECT ..>
<param name="FlashVars" value="firstFrame=myFrameName">
</OBJECT>

in the fla file
this.gotoAndStop(firstFrame);

Thanks
Tricia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top