PDA

View Full Version : Mac Projector Not Going Fullscreen



jflint
August 27th, 2008, 07:37 PM
I have built a flash app, created a projector via the standalone flash player version 9(9,0,124,0). The app was built using Flash CS3 using AS2.

There is an fscommand in the first keyframe of the app: fscommand(fullscreen, true).

The fullscreen seems to be very inconsistent. It seems to launch full screen at first, but the next launches do not. They are a pseudo-fullscreen, showing the title bar at the top of the app, but the menu bar is definitely gone.

Has anyone run into the problem and is there a workaround?

statueofdavid
August 27th, 2008, 09:49 PM
To get no title bar in a full screen Macintosh Projector, this worked for me - its pretty simple.

Frame 1:
On the 1st frame of your movie, just add stop(), and a button to go to the next frame (here 2)

Frame 2:
Put your fscommands for the full screen mode here, like:

Code:

stop();
fscommand("fullscreen", "true");
fscommand("allowscale", "false");
fscommand("showmenu", "false");
Publish as Macintosh projector.

Good luck,

Maurice
http://www.webscience.com

jflint
August 27th, 2008, 09:54 PM
putting a button in the first frame isn't an option. This is going to run as a kiosk.

statueofdavid
August 27th, 2008, 09:55 PM
Well, that button can simply start the show - it never has to go back to that frame at all.

I just put a Big 'ol Start button on my first frame. Users click it once and my projector goes the the second frame and the title bar is gone.

Maurice
http://www.webscience.com

jflint
August 27th, 2008, 10:17 PM
right but the idea is that the app is already running when some walks up to it.

takethetrain
August 28th, 2008, 11:03 AM
I think Maurice is suggesting that the button would be pushed by whoever sets up the kiosk when it is first turned on--I mean, somebody has to open the projector file, right?

Anyway, I'm not sure if you even need to put it in a button... that "showmenu" command might be useful to you, though.

jflint
August 28th, 2008, 11:11 AM
The kiosk is on a Mac, and I have it set as a startup item and a schedules startup time set for the system. It is meant to be an unmanned kiosk.

Could I create a loader file that would call up the kiosk.app and push it full screen?

takethetrain
August 28th, 2008, 11:24 AM
Hey jflint, it looks like the projector just needs a second to start up before going full screen. This worked for me:



function onStart():Void {
fscommand("fullscreen", true);
clearInterval(timer);
}
var timer = setInterval(onStart, 500);

jflint
August 28th, 2008, 03:55 PM
That was perfect!

takethetrain
August 28th, 2008, 04:49 PM
Great, glad I could help :)