PDA

View Full Version : instance not working...help please



ubauba
April 1st, 2003, 10:32 PM
I have a button with the following action assigned.

on (release) {
_root.MSlider.play(3);
gotoAndStop ("About");
}

I have 5 buttons & 5 labels, each button have the above actionscript assigned but different labels. Upon released the button will take me to the label but the MSlider instance will load on some labels but not all. Why does it do that? What am I doing wrong?

One layer has all 5 labels. The layer beneath that is the button layer with the action script above assigned. The instance MSlider is a movie clip; it is in the last layer stretched over 25 frames.


The labels, MC MSlider, and button layer are all in Scene 1.

thank you

truong

telekinesis
April 2nd, 2003, 01:28 AM
You can't specify a frame number when using play(); so I replaced it with a gotoAndPlay(); action:

on (release) {
_root.MSlider.gotoAndPlay(3);
gotoAndStop("About");
}