Minimizing and closing a full screen projector with custom flash buttons.

I am presenting my CD-ROM in full screen, I do not want to display the windows titlebar.  I have already in place, 2 flash buttons with no action script on them.  I need to make one button minimize the Director Projector and the other button to close the director projector with a prompt first asking the user YES or NO.  I dont think I have any Buddy API instances left to use.  I think I am already using the 2 free instances of Buddy API.
kishfyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kishfyAuthor Commented:
OK, I found the lingo needed to minimize and close the full screen application.  I do, however, still need either the javascript code or lingo code to bring up a box that says "Are you sure You Want To Quit" with Yes & No Buttons.  Sorry for the pre-mature posting of the above stuff.
0
kishfyAuthor Commented:
Here is my code for the quit button, if it helps:

on mouseEnter
  sprite(9).member = "closeover"
  cursor(280)
  updateStage
end

on mouseLeave
  sprite(9).member = "closeup"
  cursor(0)
  updateStage
end

on mouseDown
  sprite(9).member = "closedown"
  puppetSound (1,"Click")
  cursor(290)
  updateStage
end

on mouseUp
  sprite(9).member = "closeup"
  cursor (0)
  quit
  updateStage
end
0
LingoMasterCommented:
I would just use a a little dedicated director file for a Yes/No dialog MIAW.  Setting the modal of the MIAW would e appropriate.
The MIAW could directly quit if user selects Yes, or a stage movie script can forget the miaw if ser cancels quit.


On can also use the muiDialog xtra to put up a Yex/No dialog, there's a learning curve but you might find an adaptable script in this how to article.

http://www.updatestage.com/previous/970801.html#item3
0
LingoMasterCommented:
Here's a little MUI Dialog script tht presents a Yes / No dialog.  It returns 1 o 2.  

One shortcoming for a quit dialog, Yes is default.

on quitYeNo
  set myMuiObj = new (Xtra "Mui")
  if objectP ( myMuiObj ) then
   
    set alertInitList = [ #buttons : #YesNo,\
                          #title   : "Quit?", \
                          #message : "Quit this program now?",\
                          #icon    : #error,\
                          #movable : 1]
    return alert ( myMuiObj, alertInitList )
  else
    return 0
  end if
end


it's derrived from the examples movie at:

http://www.updatestage.com/downloads/dialogs.zip
0
MediaMacrosCommented:
You can also use BUDDY API.  One line of code for this... (www.mods.com.au or www.mediamacros.net/customer)

if baMsgBox("Are you sure you want to quit?", "Quit", "YesNo", "Question", 2) = "Yes" then halt
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.