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

Playing External SWF's In Sequence w/out Buttons

Status
Not open for further replies.

rusty27851

Technical User
Feb 11, 2005
29
US
I have a main timeline with a preloader movie clip, an intro movieclip, then an external SWF is loaded that was created in Viewlet Cam. I can not edit the ActionScript in this file, and I want an outro movie to play when this external SWF is done playing. How would one go about doing that? I've looked for tutorials and posted to other forums, but still don't have a solution.

Thanks in advance for any suggestions.
 
hi is your viewlet swf file contained in your main swf becuase if it is you can maybe calculate how many frames your viewlet swf is than creat x amount of blank frames and do an outro to cue in at that point or you can do a keyframe and have it wait with a timer example you have a 4 frame timeline first frame is your preloader second frame is your intro third frame is loaded external swf with an actionscript timer and the fourth frame is your outro. If you post a sample .fla file I can have it done for you :)

WiK

W i K
 
Thanks for your response and your offer to help! I will post a file for you to look at after I get off work today. Thanks again - I really appreciate this.
 
for future reference here is the function that was used:

Code:
//goes in first frame
function pause(){
    play();
    clearInterval(timer);
};


//goes in stop frame

stop();
timer = setInterval(pause, 25000);
//where 25000 is 25 seconds or 60000, 1 minute.

hope this helps anyone else that might need to do this too.
:)

WiK

W i K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top