have you used globals?
Also you need to use the *tell* command to pass the handlers from movie to movie.
In a movie Script enter this
global gPlay, gStop
on gStop tell window " the name of your MIAW here" to gStop end
on gPlay tell window "the name of your MIAW here" to gPlay end
your play button's handler will read:
global gPlay on mouseUp me gPlay end
your Stop Button:
global gStop on mouseUp me gStop end
Now, in your Miaw, in a movie script enter this:
global gPlay, gStop
on gStop sprite(?).movieRate = 0 end
on gPlay sprite(?).movieRate = 1 end
Good luck
JohnT
Kristian wrote:
Hi,
I have a bit of an issue here; from my main I open a MIAW containg just a QT-movie and a button for exit, when opening the MIAW I set the movieRate to 1 so it starts plaing BUT when I do this the controls does not work (except in authoring mode). Is there some trick to this? Am I doing something else wrong or is it suppose to be this way?
//Kristian
[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!]
