So this kind of question is really out of the scope of this SWFObject list
as it is a generalist Flash one. I can try to give you a quick pointer
though:
I am unsure of the exact structure of your flash file, but if you make a
function on the main timeline that does something like (assuming your two
child mc's are called mc1 and mc2)
function restart()
{
mc1.gotoAndStop(1);
mc2.gotoAndStop(1);
mc1.play();
mc2.play();
}
then expose the single function to the page through ExternalInterface, then
it should do what you want without having to reload the swf.
Aran
On Tue, Jan 5, 2010 at 3:04 AM, TDC <[email protected]> wrote:
> Thank you Aran
>
> I do have nested movieclips which play, until their completion, and
> then the animation stops. I simply want to replay the movie from the
> start again, just as if it had been loaded. I don't want to replay a
> single nested movieclip but effectively restart the complete movie.
>
> Would it be possible to do something in the main timeline which would
> allow me to simply gotoandplay frame 1?
>
> I can see how I could expose a function, I'm just not sure how I would
> wind everything back to the begining and play again.
>
> Thanks
>
> --
>
> 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.