stevenewport
04-13-2006, 08:18 PM
I'm trying to figure out how to control the main timeline from within a scrollpane
I have a list of thumbnails inside a scrollpane that, when clicked, I want to gotoAnd(Play/Stop) in the timeline of the maine movie.
I have a main menubar that loads the .swf file with the scrollpane into a loader (Menubar>loaded SWF file>Scrollpane>Button). I want the buttons inside the scrollpane to be able to control that loaded SWF file it resides in.
Right now I have it working with just the file itself by using the actionscript:
this.orange2.onRelease = function() {
orange2.gotoAndStop("_release"); ///// <- for MC animation
_level0.gotoAndStop("a2"); ////// <- to go to frame label "a2" on the main timeline
}
but when I load that file into another swf file it doesn't work, I figure because it's going to level0 of the main movie.
You can see what i mean if you go to test.stevenewport.com > photography > Nature
ANY help would be appreciated, I've searched a lot
I have a list of thumbnails inside a scrollpane that, when clicked, I want to gotoAnd(Play/Stop) in the timeline of the maine movie.
I have a main menubar that loads the .swf file with the scrollpane into a loader (Menubar>loaded SWF file>Scrollpane>Button). I want the buttons inside the scrollpane to be able to control that loaded SWF file it resides in.
Right now I have it working with just the file itself by using the actionscript:
this.orange2.onRelease = function() {
orange2.gotoAndStop("_release"); ///// <- for MC animation
_level0.gotoAndStop("a2"); ////// <- to go to frame label "a2" on the main timeline
}
but when I load that file into another swf file it doesn't work, I figure because it's going to level0 of the main movie.
You can see what i mean if you go to test.stevenewport.com > photography > Nature
ANY help would be appreciated, I've searched a lot