1144
ActionScript classes
Property summary
Properties inherited from class Object
Event summary
Constructor summary
Method summary
constructor (Object.constructor property)
,
__proto__ (Object.__proto__
property)
,
prototype (Object.prototype property)
,
__resolve
(Object.__resolve property)
Event
Description
onLoad
=
function(success
:Boolean) {}
Invoked when a
load()
operation has completed.
Signature
Description
StyleSheet
()
Creates a StyleSheet object.
Modifiers
Signature
Description
clear
() : Void
Removes all styles from the specified StyleSheet
object.
getStyle
(name:String
) : Object
Returns a copy of the style object associated with the
specified style (
name
).
getStyleNames
() :
Array
Returns an array that contains the names (as strings)
of all of the styles registered in this style sheet.
load
(url:String) :
Boolean
Starts loading the CSS file into the StyleSheet.
parseCSS
(cssText:Str
ing) : Boolean
Parses the CSS in
cssText
and loads the StyleSheet
with it.
setStyle
(name:String
, style:Object) :
Void
Adds a new style with the specified name to the
StyleSheet object.
transform
(style:Obje
ct) : TextFormat
Extends the CSS parsing capability.
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...