I created a movie in FlashMX using a 'toolbar' movieclip to target a 'slideshow' movieclip. The 'toolbar' movieclip holds the navigation buttons to either play the slideshow from beginning to end, or view each individual photo one-by-one at the user's own pace. Everything was working until I added a 'preloader' scene.
Now, the preloader scene works, and jumps me to the scene with the orginal working movieclips, but now none of the buttons work. Do I need to reference which Scene I'm in to target the movieclip 'slideshow' from the movieclip 'toolbar'? If so, what's the proper syntax?
Here's my code for various parts of the movie:
Scenes Used:
'preloader' -- contains script below
'elements' -- holds frames containing large media elements to be loaded before starting main interactive content
'main' -- the actual interactive content of the movie
Preloader scritp is as follows (and is working):
total = 6;
loaded = getProperty(this, _framesloaded);
a = total/loaded;
percent_loaded = 100/a;
if (percent_loaded>=100) {
gotoAndPlay("main", 1);
}
endif;
Button action script (within Scene titled 'main' -- was working until added the 'preloader' and 'elements' Scenes):
on (release) {
_root.slideshow.gotoAndStop(39);
}
Please let me know if you have any suggestions/fixes.
Thanks!
Now, the preloader scene works, and jumps me to the scene with the orginal working movieclips, but now none of the buttons work. Do I need to reference which Scene I'm in to target the movieclip 'slideshow' from the movieclip 'toolbar'? If so, what's the proper syntax?
Here's my code for various parts of the movie:
Scenes Used:
'preloader' -- contains script below
'elements' -- holds frames containing large media elements to be loaded before starting main interactive content
'main' -- the actual interactive content of the movie
Preloader scritp is as follows (and is working):
total = 6;
loaded = getProperty(this, _framesloaded);
a = total/loaded;
percent_loaded = 100/a;
if (percent_loaded>=100) {
gotoAndPlay("main", 1);
}
endif;
Button action script (within Scene titled 'main' -- was working until added the 'preloader' and 'elements' Scenes):
on (release) {
_root.slideshow.gotoAndStop(39);
}
Please let me know if you have any suggestions/fixes.
Thanks!