Hello, and thank you for reading this question.
I have successfully placed my SWF file in my web page and it plays.
However once it stops I want users to be able to play it again.
The Flash movie comprises a single frame in Scene 1 with 2 layers. I
have placed on the Stage 2 movieClips, which run for approximately 200
frames.
In my web page I used the following code to play the movie (called by
a button):
function videoplay()
{
alert("Clicked Play Button.");
var swf = document.getElementById('movie01');
swf.Rewind();
swf.Play();
return;
}
To check my code I replaced the SWF file with a simple test movie
containing a timeline tween. This worked well and I think it may be
because the play head is actually moving so it will Stop and Play.
Does anyone have any advice as to how I can control my single frame
movies. We have many of them and they are mostly animated by the
ActionScript in the first frame.
Thank you.
Chris
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.