homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Going to a frame in a Movie Clip
Navigating through Symbols in Flash MX

10+ Year Member

Msg#: 130 posted 6:51 pm on Oct 20, 2003 (gmt 0)


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;

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:
loadMovie("front.jpg", this);

The image name changes for each frame.

Does anyone know why my "contoller" clip can't control my "picture"?




10+ Year Member

Msg#: 130 posted 5:24 pm on Nov 19, 2003 (gmt 0)


Anyone have any advice on changing the frame of a child movie clip?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved