PDA

View Full Version : Turning off Title Bar on full-screen projector


Lascivius
07-09-2007, 09:39 PM
I am trying to figure out how to turn the title bar at the top of the Flash projector file off so that the movie goes completely full screen. For an example of what I am talking about look here:

http://www.delamedia.com/images/title_bar_problem.jpg

You'll see that at the top of that screenshot, there is a title bar, with the close... minimize and maximize buttons in place. I am looking to set this to fullscreen without that bar being displayed. Here is the code I am currently using, which seems to me that it used to work in prior versions of Flash/ActionScript:

fscommand("fullscreen", "true");
fscommand("showmenu", "false");
fscommand("allowscale", "false");

Anyone see any problems with this? It is all in the first frame of my main shell movie.

codelinker
07-10-2007, 05:36 PM
I think fullscreen will not show the title bar right ??.. correct me if i have got your question wrong

jsimpson
07-10-2007, 06:16 PM
I'm pretty sure fullscreen only makes the flash take up the full browser, and doesn't effect any menus or toolbars. I've never messed with hiding those so I'm not sure about the menu. I don't think that would be something you would control through flash as it is the browser that has the menus not flash.

My guess would be some sort of javascript to turn off the toolbars. A good source for an auto script builder can be found here:

http://javascript.internet.com/generators/popup-window.html

theelephantwords
07-10-2007, 06:52 PM
if you're using AS3, you don't use fscommand.


public function _toggleZoom(e:Event):void {
stage.displayState = StageDisplayState.FULL_SCREEN;
}


the only thing that can legitimately call _toggleZoom is a mouseClick, if anything else calls the function nothing will happen.

if you're opening a projector, it'll work. if you're embedding it online, you need to add a parameter 'allowFullScreen', set to true.

Slowburn
07-11-2007, 04:21 AM
As far as I know, you cannot remove the title bar on MAC for FullScreen.

icktoofay
07-11-2007, 10:00 PM
I'm on a mac and it goes away on YouTube and other fullscreen stuff in flash (haven't tested projectors though).

sonicoliver
12-17-2007, 02:41 PM
I have figured it out (I think)

The fact that it was intermittent should have been a clue, If flash is too busy, the mac projector fscommand is half assed. I had lots of XML loading on the first few frames and the title bar would appear 90% of the time but if I escaped out of fullscreen and then CMD + F'd it, it worked.

SO: I set the fullscreen command to launch after 1 second now with much consistent fullscreen launching.

there is a small delay, c'est la vie, it works now.