Adobe Integrated Runtime (AIR) for JavaScript Developers Pocket Reference

(nextflipdebug5) #1
Windowing | 73

<tr>
<td colspan="2" align="right">
<input type="button" value="Sign In" />
</td>
</tr>
</table>

</body>
</html>

Creating Full-Screen Windows


Problem


For the purpose of enabling more viewing space or enabling
additional interactions, your application needs to be able to
run using the full screen.


Solution


TheNativeWindowclass provides the foundation for creating
transparent and full screen.


Discussion


The differences between usingNativeWindowfor full-screen
display, and usingNativeWindowfor custom windows, is an
additional initialization option and setting the window to fill
the screen. To remove any OS-specific windowing chrome,
use theNativeWindowInitOptions.systemChromeproperty. The
NativeWindowInitOptions.systemChromeshould be set to one
of the four string constants (Table 4-1) found in the
NativeWindowSystemChrome class.

Free download pdf