User Guide

Overview of built-in classes 203
Client-server classes
The following table lists classes that let you send and receive data from external sources or
communicate with application servers over FTP, HTTP, or HTTPS.
Note: In Flash Player 7, a SWF file can load data only from exactly the same domain from which it
was served. For more information, see “New security model and legacy SWF files” on page 13 and
“Cross-domain and subdomain access between SWF files” on page 15.
MovieClipLoader The MovieClipLoader class lets you track the download progress of SWF
and JPEG files using an event listener mechanism. See the
“MovieClipLoader class” in Flash ActionScript Language Reference and
“Preloading SWF and JPEG files” on page 301.
PrintJob The PrintJob class lets you print content from a SWF file, including content
that is rendered dynamically and multi-page documents. See “PrintJob class”
in Flash ActionScript Language Reference and “Using the ActionScript
PrintJob class” in Using Flash.
Selection The Selection class lets you get and set text field focus, text field selection
spans, and text field insertion points. See “Selection class” in Flash
ActionScript Language Reference.
SharedObject The SharedObject class offers persistent local data storage on the client
computer, similar to cookies. See “SharedObject class” in Flash ActionScript
Language Reference.
Stage The Stage class provides information about a SWF file’s dimensions,
alignment, and scale mode. It also reports Stage resize events. See “Stage
class” in Flash ActionScript Language Reference.
TextField The TextField class provides control over dynamic and input text fields, such
as retrieving formatting information, invoking event handlers, and changing
properties such as alpha or background color. See Chapter 9, “Using the
TextField class,” on page 221 and “TextField class” in Flash ActionScript
Language Reference.
TextField.StyleSheet The TextField.StyleSheet class (an inner class of the TextField class) lets you
create and apply CSS text styles to HTML- or XML-formatted text. See
“Formatting text with Cascading Style Sheets” on page 226 and
“TextField.StyleSheet class” in Flash ActionScript Language Reference.
TextFormat The TextFormat class lets you apply formatting styles to characters or
paragraphs in a TextField object. See “Using the TextFormat class”
on page 224 and “TextFormat class” in Flash ActionScript Language
Reference.
TextSnapshot The TextSnapshot object lets you access and lay out static text inside a
movie clip. See “TextSnapshot object”in Flash ActionScript Language
Reference.
Class Description