![MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Скачать руководство пользователя страница 94](http://html1.mh-extra.com/html/macromedia/fireworks-8-extending-fireworks/fireworks-8-extending-fireworks_manual_3339145094.webp)
94
The Fireworks Object Model
You can use the information in the following sections to return or set property values.
Working with properties for any selected object
You can get values for the following read-only properties of any type of selected object:
■
top
■
left
■
width
■
height
■
visible
■
opacity
■
blendMode
■
name
■
mask
To return the name of the selected object, type the following code:
objectName=fw.selection[0].name;
The following properties contain other read-only properties that you can return:
elementMask
■
element
■
linked
■
enabled
■
mode
■
showAttrs
■
autoExpandImages
effectList
■
name
■
effects
To return the name of the first effect that is applied to the selected object, type the following
code:
effectName=fw.selection[0].effectList.effects[0].name;
NO
TE
The return value for a property may be
null
.
Содержание FIREWORKS 8-EXTENDING FIREWORKS
Страница 1: ...Extending Fireworks ...
Страница 4: ...4 Contents ...
Страница 358: ...358 Fireworks JavaScript API ...
Страница 372: ...372 Index ...