292
Chapter 3: Objects
Description
Property; a string that, for graphic symbols, sets the same property as the Loop pop-up menu in
the Property inspector. For other types of symbols, this property is
undefined
. Acceptable values
are
"loop"
,
"play once"
, and
"single frame"
to set the graphic’s animation accordingly.
Example
The following example sets the first symbol in the first frame of the first layer in the Timeline
to Single Frame (display one specified frame of the graphic Timeline), as long as that symbol is
a graphic:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].loop =
'single frame';
symbolInstance.shortcut
Availability
Flash MX 2004.
Usage
symbolInstance.shortcut
Description
Property; a string that is equivalent to the shortcut key associated with the symbol. This property
is equivalent to the Shortcut field in the Accessibility panel. This key is read by the screen readers.
This property is not available for graphic symbols.
Example
The following example stores the value for the shortcut key of the object in the
theShortcut
variable:
var theShortcut = fl.getDocumentDOM().selection[0].shortcut;
The following example sets the shortcut key of the object to
"Ctrl+i"
:
fl.getDocumentDOM().selection[0].shortcut = "Ctrl+i";
symbolInstance.silent
Availability
Flash MX 2004.
Usage
symbolInstance.silent
Description
Property; a Boolean value that enables or disables the accessibility of the object. This property is
equivalent to the inverse logic of the Make Object Accessible setting in the Accessibility panel. For
example, if
silent
is
true
, it is the same as the Make Object Accessible option being unchecked.
If
silent
is
false
, it is the same as the Make Object Accessible option being checked.
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...