Chris.

As you are trying to control a nested movieclip timeline, I would suggest
that you expose your desired functionality through ExternalInterface. You
can write custom functions in your flash file which can be exposed through
javascript in the host page. These functions can do whatever you want (like
control nested timelines etc).

A general Flash forum would be the best place to get help on how to do this
(or Google - there are plent of EI tutorials out there).

Cheers,
Aran

On Thu, Dec 31, 2009 at 10:30 PM, TDC <[email protected]> wrote:

> 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]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
>

--

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.


Reply via email to