PDA

View Full Version : fscommand showmenu = false - leaves gaps


wagster
06-17-2009, 12:48 PM
Hi all,

Glad to see the forum back up, even with a few holes in it.

I'm publishing to a projector file and don't really want or need the menu bar at the top. I put a

fscommand("showmenu", "false");

at the top which hides it fine, but instead of the projector window resizing to compensate for the lack of menu bar, it simply centers the movie vertically leaving a nasty white bar top and bottom.

Any ideas how to deal with this?

wagster
06-17-2009, 02:40 PM
Well, I've figured out a nasty hack to fix it. The menu bar is 20px high, so set the stage to 20px less than it should be and move the stage up by 10px.

Anyone got an elegant solution?

ozziebill
09-15-2009, 01:28 PM
Put this code in the first frame of your SWF:

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