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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

playing a swf file once only in FP 2

Status
Not open for further replies.

briteyes

Technical User
Nov 6, 2001
130
NZ
A newbie to frontpage I have inserted a swf file into a page but cannot stop it playing after just one circuit.
I'm not that hot on coding so would appreciate specifics.
code as it stands is as follows.
<p align=&quot;left&quot;><embed width=&quot;128&quot; height=&quot;128&quot; src=&quot;file:///C:/WINDOWS/Desktop/New%20Folder/room7.swf&quot;

This loops the file continuously. When I created the file in SWISH I couldn't see where I had the choice of looping it only once.
 
Try adding this:

<param name=loop value=false>

-Volkoff007
 
You need to put a stop frame in so that it will only play once.
Click on the scene, then click on a frame after the frames that play the swf file, click action and then stop.
 
Thanks so much people. I did the loop=&quot;false&quot; and it worked a treat. I did try that at first but must have done a typo the first time.

Life was not meant to be easy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top