Pause a MC!

hey…

I have a MC with an instance name of “knast” and 2 buttons to control the MC, but there something worg:

button 01 (pause)

[COLOR=royalblue]on (press) {
knastPosition=this.knast.position/1000;
this.knast.stop();
}[/COLOR]

this works…

but to get it started again…!?

button 02 (play)

[COLOR=royalblue]on (press) {
this.knast.start(knastPosition,0);
}[/COLOR] ??

you want it to stop and play like this?

www.avalon-rev.dk/stopplay/stopplay.html

if it is, this is done thusly:

My MC is named “mover”. Made 2 buttons, one for play, one for stop.

Code for stop:

on(release){
_root.mover.stop();
}

code for play:

on(release){
_root.mover.play();
}

easy as that…

EXACTLY…

look above… Guess i was a little fast there… :stuck_out_tongue: