you could use a global variable, like gStopped, as a flag.
On the stop button you put a behaviour like
on mouseUp me
global gStopped
gStopped = TRUE
end
On the play button you put a behaviour like
on mouseUp me
global gStopped
gStopped = FALSE
end
Then, on every frame of your animation you put this behaviour:
on exitframe me
global gStopped
if gStopped = TRUE then
go to the frame
else
go to the frame + 1
end if
end
I hope that is what you are looking for!
Regards
Michael von Aichberger
www.aichberger.de
> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von suri rawat
> Gesendet: Mittwoch, 16. Januar 2002 22:44
> An: [EMAIL PROTECTED]
> Betreff: <lingo-l> what command ???
>
>
> hi there
> i m surender.i m facing this
> problem,in director there is text animation is running
> and two button will be there for stop and play.suppose
> i gave PAUSE command(on stop button) to stop the movie
> on any frame but i want to play the movie from that
> particular frame where the movie stop, so what command
> should i give on play button to play the movie.
> please reply me as soon as possible.
> surender (suri)
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> [To remove yourself from this list, or to change to digest mode,
> go to http://www.penworks.com/lingo-l.cgi To post messages to
> the list, email [EMAIL PROTECTED] (Problems, email
> [EMAIL PROTECTED]). Lingo-L is for learning and helping
> with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]