Forum Moderators: open
on (release) {
_root.home_mc.play();
}
does anyone know a way to link buttons within movie clips to other movie clips on different layers?
or, does anyone know of an UNDERSTANDABLE tutorial?
thanks!
would it just be easier to have all the movie clips on one layer in the main timeline with labels and simply use the goToAndplay/stop() method?
then at least i dont have to deal with parents/_roots...
no...just realized that wont work b/c of the menu...
do i need to put my navigation menu on the main timeline only and link from there?
if so how?
on(release) {
loadMovieNum("OPT_about.swf", 2);
play();
}
is working...
problem is that it loads to the top left of the area, and the movie that the button is pressed from remains visible...its like it loads OVER the first movie...
how do i get its position to be centered, and also how to make the first movie clip dissapear when the second is loaded?
The second way has the advantage of being able to reset it again to visible without having to reload it.
you probably need to put the actionscript on frame ne of th _root movie rather than the button along the lines of
buttoninstancename.onPress =function() {
loadMovieNum("whatever.swf,2);
_level0.visible = false;
}
(you may needdd to mess with the level 0 bit, _root may be better or _this) have not got time to check it.
To centre a movie just add this actionscript to the first frame of the movie you want to centre
_x = 200
_y = 200
this will offst the movie by 200 pixels to the left and down on load, obviously alter the figures to suit.