Adobe FLEX 2-PROGRAMMING ACTIONSCRIPT 3.0 Manual page 175

Programming actionscript 3.0
Table of Contents

Advertisement

<object>
...
<param name="allowFullScreen" value="true" />
<embed ... allowfullscreen="true" />
</object>
If you are using JavaScript in a web page to generate the SWF-embedding tags, you must
alter the JavaScript to add the allowFullScreen param tag/attribute. For example, if your
HTML page uses the
Builder- and Flash-generated HTML pages) you should add the allowFullScreen
parameter to that function call as follows:
AC_FL_RunContent(
...
'allowFullScreen','true',
...
); //end AC code
This does not apply to SWF files running in the standalone Flash Player.
All keyboard-related ActionScript, such as keyboard events and text entry in TextFields, is
disabled in full-screen mode. The exception is the keyboard shortcuts which close full-
screen mode.
There are a few additional security-related restrictions you'll want to understand too. These
are described in
"Full-screen mode security" on page
Handling events for display objects
The DisplayObject class inherits from the EventDispatcher class. This means that every
display object can participate fully in the event model (described in
Events," on page
345). Every display object can use its
inherited from the EventDispatcher class—to listen for a particular event, but only if the
listening object is part of the event flow for that event.
AC_FL_RunContent()
function (which is used by both Flex
465.
Chapter 13, "Handling
addEventListener()
Working with display objects
method—
175

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex

Table of Contents