New Security Model And Legacy Swf Files - MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

The
MovieClip.getNextHighestDepth()
runtime and be guaranteed that their objects render in front of the other objects in a parent
movie clip's z-order space. The
dynamically created MovieClip instances using the depth as a search index.
The
MovieClip.getSWFVersion()
is supported by a loaded SWF file.
The
MovieClip.getTextSnapshot()
text that is in static text fields in a movie clip.
The
MovieClip._lockroot
any movie clips loaded into it, or that the meaning of
that movie clip is loaded into another movie clip.
The
MovieClipLoader class
movie clips.
The
NetConnection class
The
PrintJob class
The
Sound.onID3
that contains an MP3 file.
The
Sound.ID3
The
System class
new properties.
The
TextField.condenseWhite
fields that are rendered in a browser.
The
TextField.mouseWheelEnabled
should scroll when the mouse pointer is positioned over a text field and the user rolls the
mouse wheel.
The
TextField.StyleSheet class
rules such as font size, color, and other formatting styles.
The
TextField.styleSheet
The
TextFormat.getTextExtent()
returns contains a new member.
The
XML.addRequestHeader()
as
Content-Type

New security model and legacy SWF files

Rules for how Flash Player determines whether two domains are the same have changed in Flash
Player 7. In addition, rules that determine whether and how a SWF file served from an HTTP
domain can access a SWF file or load data from an HTTPS domain have changed. In most cases,
these changes won't affect you unless you are porting your existing SWF files to Flash Player 7.
However, if you have SWF files published for Flash Player 6 or earlier that load data from a file
stored on a server, and the calling SWF is playing in Flash Player 7, the user might see a dialog
box that didn't appear before, asking whether to allow access. You can prevent this dialog box
from appearing by implementing a policy file on the site where the data is stored. For more
information on this dialog box, see
models" on page
14
Chapter 1: What's New in Flash MX 2004 ActionScript
MovieClip.getInstanceAtDepth()
property lets you specify that a movie clip will act as
lets you monitor the progress of files as they are being loaded into
and
NetStream class
gives you (and the user) more control over printing from Flash Player.
event handler provides access to ID3 data associated with a Sound object
property provides access to the metadata that is part of an MP3 file.
has new objects and methods, and the
property lets you remove extra white space from HTML text
lets you create a style sheet object that contains text formatting
property lets you attach a style sheet object to a text field.
method lets you add or change HTTP request headers (such
or
) sent with
SOAPAction
"About compatibility with previous Flash Player security
191.
method lets you create MovieClip instances at
method lets you determine which version of Flash Player
method and the
TextSnapshot object
_root
let you stream local video files (FLV files).
System.capabilities object
property lets you specify whether a text field's contents
method accepts a new parameter, and the object it
actions.
POST
method lets you access
let you work with
_root
in a movie clip won't change if
has several
for

Advertisement

Table of Contents
loading

Table of Contents