Skip to main content
Participating Frequently
May 14, 2006
Question

How to control Movie Clip inside of an empty Movie Clip

  • May 14, 2006
  • 2 replies
  • 316 views
Can anyone give me some direction on how to control a 2-frame movie clip with backward/forward buttons that loads inside of an empty movie clip? Other buttons are loading different movie clips into this one empty movie clip that I then want to control going to either frame 1 or frame 2.
This topic has been closed for replies.

2 replies

Inspiring
May 14, 2006
PS: Once you load a clip into an empty clip it isn't empty anymore, right? Somehow a lot of people get hung up on that. A createEmptyMovieClip just makes a regular movieclip that is empty, once there is stuff in the clip it is just like any other movieclip with stuff in it.
Inspiring
May 14, 2006
The loaded MCs are accessible through the instance name of the empty MC that loads these clips:

forward_btn.onRelease = function(){
emptyMC.gotoAndStop(2);
}
backward_btn.onRelease = function(){
emptyMC.gotoAndStop(1);
}

This assumes that the buttons are in the same clip/level as the empty MC with the loaded clips.

hth,
blemmo