mosquito
03-21-2001, 12:14 AM
please help me!
I have split my movie into two halfs so that i can increase the scale of the second half of the movie by loading it into a blank movie clip.
This works perfectly except that the 'zoom in' and 'zoom out' buttons have stopped working when they are loaded into the movie....WHY OH WHY!!!!
(sometimes i hate flash)
the buttons are in the loaded movie.
the actions i have used for the zoom in and out buttons is as follows:
ZOOM BUTTON:
on (press) {
tellTarget ("/uptrigger") {
gotoAndPlay (2);
}
}
on (release) {
tellTarget ("/uptrigger") {
gotoAndStop (1);
}
}
and in the 'uptrigger' action there are three frames
frame 1:
has a stop action
frame 2:
/sample:scaleval = Number(/sample:scaleval)+5;
setProperty ("/sample", _xscale, /sample:scaleval);
setProperty ("/sample", _yscale, /sample:scaleval);
frame 3:
goto and play frame 2
again it works in the movie when it is played on its own, but not when loaded into the blank movieclip...please help me out, will be appreciated, i am getting desperate here : )
I have split my movie into two halfs so that i can increase the scale of the second half of the movie by loading it into a blank movie clip.
This works perfectly except that the 'zoom in' and 'zoom out' buttons have stopped working when they are loaded into the movie....WHY OH WHY!!!!
(sometimes i hate flash)
the buttons are in the loaded movie.
the actions i have used for the zoom in and out buttons is as follows:
ZOOM BUTTON:
on (press) {
tellTarget ("/uptrigger") {
gotoAndPlay (2);
}
}
on (release) {
tellTarget ("/uptrigger") {
gotoAndStop (1);
}
}
and in the 'uptrigger' action there are three frames
frame 1:
has a stop action
frame 2:
/sample:scaleval = Number(/sample:scaleval)+5;
setProperty ("/sample", _xscale, /sample:scaleval);
setProperty ("/sample", _yscale, /sample:scaleval);
frame 3:
goto and play frame 2
again it works in the movie when it is played on its own, but not when loaded into the blank movieclip...please help me out, will be appreciated, i am getting desperate here : )