Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

full screen projector 1

Status
Not open for further replies.

Cartier

Technical User
Jan 16, 2003
32
BA
How can I make a button in a movie that alowes users to set the projector to full screen? Is that possible?
Thanks in advance.
 
Attach the following behaviour to the button and you're off!
Code:
--
on mouseUp me
  (the stage).drawRect = the desktopRectList[1]
  (the stage).rect = the desktopRectList[1]
end mouseUp
--
 
And i have 2 more questions, please
If i want my projector to bee full screen all the time,
and i make a 1024x768 movie, how do i adjust it to change resolution depending on which one the user has?
And what behavior do you assign to a button that closes the movie?
 
If you place the same code in a Movie Script then the Projector fills the full screen whatever the monitor resolution:
Code:
--
on prepareMovie
  (the stage).drawRect = the desktopRectList[1]
  (the stage).rect = the desktopRectList[1]
end prepareMovie
--
To close the Movie, use
Code:
halt
or
Code:
quit
(
Code:
halt
will not close the application during authoring mode, while
Code:
quit
does.)
Code:
--
on mouseUp me
  halt
end mouseUp
--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top