Click to See Complete Forum and Search --> : FL 8 - How to pause individual elements in a movie clip?


Kbee
08-25-2006, 01:57 PM
Hello:

Using Flash Prof 8 and DW 8...Trying to get play/pause/stop buttons to work on this graphic

http://www.enhancedwireless.net/Technology/keyMechtest.shtml

if you press play button, great it works, stop - it works. But go ahead and press play and and then after a few seconds(say 5 or so), press pause and you'll see that the main movie stops but not any of the individual elements...that's OK for the radio waves and black lists that pop up.

BUT the pause button needs to pause the VISE-like thin blue bars which slam together and reveal a new text at the correct time. As it stands now, those lines continue on at their own pace, therefore not stopping and starting when they need to in order to properly reveal the appropriate text as it cuts.

If you watch the graphic through completely once you'll see what should happen, then watch again, pressing pause then play again and you'll see what I mean, hopefully.

The code I now have on the pause button is -

on (release) {
KeyMech_mc.stop();
TextVise_mc.stop();
}


"KeyMech_mc" is the name of the entire movie clip, TextVise_mc = the name of the blue bars...

Thanks much

KB

raviganesh91221
09-18-2006, 02:03 AM
U should control each mc by its individual name. Give each an instance name and give a stop for each one.

stephen1davis
09-18-2006, 09:36 AM
also i think a combo play/pause button is easier to use and less cluttered looking.