I'm trying to get a Flash movie to move between frames of a Movie Clip, depending on the position of a scrollbar. But no matter what I do to the Movie Clip, I can't get it to react to my code - it just stays at the same frame.
I've got one scene, with two movie clips in it. One holds the three images I'd like to switch between. The other doesn't display, and holds code to watch the location of the scrollbars and translate that into a frame number for the "picture" movie clip.
Here's the code from the "controller" clip:
var slide = Math.round(_root.hScroller._x/275)+1; _root.picture.gotoAndStop(slide); That code is the same in both frames on the "controller", since it wasn't looping when it only had one frame.
This is the code in the "picture" clip:
unloadMovie(this); loadMovie("front.jpg", this); The image name changes for each frame.
Does anyone know why my "contoller" clip can't control my "picture"?