| Previous | Next | |
Windows: Flash 8 or 9 AS2.0 SWF + mProjector
3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector
2.0 build 'db';
Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector
2.0;
mWindow.setSizeToFullscreen(scaleMode:String, align:String) : VoidscaleMode - Indicates the current scaling Flash content in the window.
The scaleMode property can use the values "exactFit", "showAll", "noBorder", and "noScale". Any other value sets the scaleMode property to the default "showAll".
align - The alignment of the SWF in the window.
The following table lists the values for the align property. Any value not listed here centers the SWF file in Flash player or browser area, which is the default setting.
Value
Vertical
Horizontal
"T"
top
center
"B"
bottom
center
"L"
center
left
"R"
center
right
"TL"
top
left
"TR"
top
right
"BL"
bottom
left
"BR"
bottom
right
Nothing.
Method; Stretches the window to fill the main monitor. This command requires a "Rectangular" window type on Mac OS X as a "Standard" type window cannot be positioned over the Application menu bar.
This example sets the window size to be fullscreen and centers the content at it's original size.
mWindow.setSizeToFullscreen("noScale", "C");| Questions or Feedback? | Previous | Next |