
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
466
|
Appendix A: ActionScript 2.0 Language Quick Reference
Instance methods
PrintJob Class
The PrintJob class is used to print content from a movie, including dynamic and off-screen
content. It offers more functionality and detailed control than the global print( ) function.
Available in Flash Player 7 and later only.
Constructor
PrintJob( )
Instance properties
orientation:String
pageHeight:Number
pageWidth:Number
paperHeight:Number
paperWidth:Number
Instance methods
addPage(target:Object, printArea:Object, options:Object, frameNum:Number):Boolean
send( ):Void
start( ):Boolean
Selection Class
The Selection class provides control over text field selections and movie input focus.
At runtime, the Selection class is actually a standalone, predefined
object, not a class. However, it is treated as a class by the compiler for
the sake of type checking. Hence, the Selection class has no constructor.
Constructor
None
addProperty(
name:String, getter:Function, setter:Function):Boolean
hasOwnProperty(
name:String):Boolean
a
a
Undocumented
isPropertyEnumerable(name:String):Boolean
a
isPrototypeOf(theClass:Object):Boolean
a
toLocaleString( ):String
a
toString( ):String
unwatch(
name:String):Boolean
valueOf( ):Object
watch(
name:String, callback:Function, userData:Object):Boolean