PDA

View Full Version : DESPERATE NOW!!!! HELP ME : (


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 : )

Jesse
03-21-2001, 08:25 AM
When you load into a blank MC the paths to everything changes, have you accounted for that in your code?

If I have a simple movie with an MC in it, with a variable which I set like this:
_root.mcName.variable = "value";

When I load this simple movie into another movie's blank MC (let's say the blank MC's called 'fox') the paths all change. So I would have to say:

_root.fox.mcName.variable = "value";

Cheers

Jesse

mosquito
03-22-2001, 10:48 AM
still didnt work, could i email the files to you so u could check it out...please