This is pretty nice. I am pretty much a beginner in
ActionScript areas, and have a problem with my use of the zoom code
from the above link.
I have the navigation pane on my stage - the actionscript
expands the nav pane to the size of the stage, in my case 640x480.
The nav pane fills the stage. I attach a movie - and can zoom/pan
on the content I load using the attachMovie method. I have also
place a button on the stage (it is not in the container that is
created to load the movie). I have not yet figured out why the
button events will not play (I have a click sound attached to the
button). The "over" for the button plays, but the down and hit do
I know it must have something to do with the "container" and
the "mask" which get created at run time.
Where can I put the button so its events will play??
here is a snippet of the code I am using:
var bPanning:Boolean = false;
var bPanEnabled:Boolean = true;
var bZooming:Boolean = false;
var zoomlevels:Array = new Array(25, 50, 100, 200);
var currentzoom:Number = 2; // 100%
var panTweenX:Object, panTweenY:Object;
// tweens for zoom
Hello Member (dzedward,et al)
I have the sound on a layer in the button, on the down label.
The object is a button (as opposed to a movie clip).
The button makes the click sound, and size change, if I drag
the button to a new scene, etc. I figure there is something that
interferes with the button sound with the container and the
navigation mask and pane code.