Share this Page URL
Help

Chapter 3. Understanding Target Paths > TARGETING MOVIE CLIP INSTANCES ON LEVEL... - Pg. 82

Understanding Target Paths on (release) { _level1._xscale = _level1._xscale - 5; _level1._yscale = _level1._yscale - 5; } 82 When this button is pressed then released, the horizontal and vertical proportions of the movie on Level 1 will be scaled down to their current values minus five. 18. With the Actions panel open, select the right-arrow button to the left of the 1 at the bottom of the screen, and add the following script: on (release) { _level1._xscale = _level1._xscale + 5; _level1._yscale = _level1._yscale + 5; } These actions have the same effect as those discussed in the last step except that they in- crease the horizontal and vertical proportions of the movie on Level 1. 19. With the Actions panel open, place the following actions, respectively, on the two buttons on either side of the 2 at the bottom of the screen: Place on left-pointing button: on (release) { _level2._xscale = _level2._xscale - 5; _level2._yscale = _level2._yscale - 5; } Place on right-pointing button: on (release) { _level2._xscale = _level2._xscale + 5;