jerry
1
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] ??
system
2
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…
system
4
look above… Guess i was a little fast there…