Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-12-2005, 06:55 PM   #1
hapihapijoyjoy
Registered User
 
Join Date: Jul 2005
Posts: 7
Question controlling main timeline from externally loaded swf

please help....

i need to control my timeline from the externally loaded swf file.

basically all i want is a button on the last page of my externally loaded swf to go to the main timeline and play a frame "frExams"

i load the swf's through this script (from the button inside my main timeline)


ActionScript Code:
btnChap1.onPress = function() {         if(_global.Chapter == 0)         _global.Chapter++;     _global.CurrentChapter = 1;     _global.movie = path + "chap1a.swf";     gotoAndStop("frChapter");    }


my movieclip that loads the swf file, contains this script:

ActionScript Code:
loadMovie(_global.movie,loading_layer);

now what i need is a button at the last page of my externally loaded swf file to go back to the main timeline and play the "frExams" frame.


please can anyone help me out???
hapihapijoyjoy is offline   Reply With Quote
Old 07-12-2005, 07:00 PM   #2
flashead
daehsalf
 
Join Date: Feb 2005
Location: Toronto, ON
Posts: 1,420
Default

did you try:
ActionScript Code:
_root.gotoAndPlay("frExams");
?
flashead is offline   Reply With Quote
Old 07-12-2005, 07:49 PM   #3
hapihapijoyjoy
Registered User
 
Join Date: Jul 2005
Posts: 7
Default

should i put that script in the button inside the fla of the loaded swf file?
hapihapijoyjoy is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:38 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.