full screen

  • Dead_Man
  • Born
  • Born
  • Dead_Man
  • Posts: 2

Post 3+ Months Ago

im making a game and i was wondering what the coding to make the game full screen i have flash mx 2004 pro
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • venatioadmin
  • Novice
  • Novice
  • venatioadmin
  • Posts: 22
  • Loc: Sweden

Post 3+ Months Ago

This works for me:

in the link (flash):
Code: [ Select ]
on(release){
  getURL("javascript: openWindow()");
}
  1. on(release){
  2.   getURL("javascript: openWindow()");
  3. }


in the html file:
Code: [ Select ]
function openWindow(){
window.open(XXXX, xxxxx, 'fullscreen=yes');
}
  1. function openWindow(){
  2. window.open(XXXX, xxxxx, 'fullscreen=yes');
  3. }

XXXX = the file to be opened
xxxxx = the name of the window


in the flash file at the first frame:
Code: [ Select ]
fscommand("fullscreen". "true");
fscommand("allowscale", "true");
  1. fscommand("fullscreen". "true");
  2. fscommand("allowscale", "true");


if you would like a close button wich close the projector enter this in the actions för the button:
Code: [ Select ]
on(release){
  fscommand("quit");
}
  1. on(release){
  2.   fscommand("quit");
  3. }
[/code]
  • Dead_Man
  • Born
  • Born
  • Dead_Man
  • Posts: 2

Post 3+ Months Ago

ummm they dont work :wha:

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 8 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.