Hi All,

I am playing a MPEG Video with DirectMEdia Xtra. When i call a MIAW and the 
mouseUp script is executed, the program
crashes. Any Help would be appreciated.

Ravi

---------------MIAW being called from the stage.
on mouseUp me
videoPause sprite(1)
  sprite(spriteNum).member = defaultState
  global gQuitDialog
  gQuitDialog = window("Menu")
  gQuitDialog.filename = "quitmn"
  gQuitDialog.rect = rect(217, 385, 837,585)
  gQuitDialog.windowType = 2
  gQuitDialog.modal = TRUE
  gQuitDialog.visible = TRUE
end



---MIAW Script
on mouseUp me
  cursor(0)
  sprite(spriteNum).member = overState
tell the stage to go frame "menu" of movie "nameofmovie"
  close(the activeWindow)
  forget(the activeWindow)
end


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]

Reply via email to