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!

Stop and external movie 1

Status
Not open for further replies.

stardate13

Technical User
Nov 30, 2003
11
NL
I'm creating an interface which loads external swf's into a preview window, so far all's fine but i need to start and stop these movies in the preview window. This works fine too, however not with all of the files. Since i'm not the creator of the external files i can't debug here.
The method i'm using is a button with the as:

theFrame.gotoAndStop(theFrame._currentframe);

Where "theFrame" hold the path to the external file.
My gues is that it's in the movieclips used the external material (nothing i can do about that, nor should for that mather).

Is there another way to acomplish this, and stop and play the whole external file regardless of its composition? Anyone?
 
Usually just having the container clip or the level in which the movie is loaded, stop or play should do the trick.
But are you talking about stopping movie clips, for example, within the loaded movies that keep on playing even if you have managed to stop the mian loaded movie itself?

Regards,

cubalibre2.gif
 
thats correct, one of the provided swf's does just that, the main timeline stop while some parts still go on. Ohter movies don't stop at all (i think they might have a movieclip with all inside on the main timeline). I want to stop all thats inside the movie regardless of its content.

 
And you're using MX?
Could you post links to the .swf that doesn't stop at all, and to one that half works... I'd like to have my go at it!

Regards,

cubalibre2.gif
 
Exactly, I sure am curious to know how you did it.
thank you very much. You're great.

Greetz Jack
 
Hi there Stardate and oldnewbie,
I don't know about the rest but i found this to be a very intersting thread and i am also curious as to know how it was solved...

Alas by resolving the situation via mail obviosly has it's limitations.

Please if it be posible, is there any way we/i can also have a look?

Please not meaning to be rude or any thing but it's just that i have a simarlar problem which involves stoping and starting mc's only via a timer and your solution may point me in the direction needed before actually asking outright. If you see what i mean???

i'm gonna post this again 'cos i'm not sure if it will reach all.

-------------------------------------
Laughing out loud every day,
keeps the doctor away....gotoAndPlay
-------------------------------------
 
Hi Ramsey,

Oldnewbie wrote the script for me. Since i'm new here i don't wanna start of posting other people's work on this forum.

Oldnewbie however is a real nice guy, i'm sure i you ask him...

best regards,
Stardate13
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top