Forum Moderators: open
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); This is the code in the "picture" clip:
unloadMovie(this);
loadMovie("front.jpg", this); Does anyone know why my "contoller" clip can't control my "picture"?
Thanks!
g.