
312
EXTENDING FIREWORKS
Rich symbols
Las
t
up
d
a
ted
12/8/2009
attributeProperties
Array. A list of property names that will become attributes in the exported MXML tag. By default, all rich symbol
properties (defined as
currentValues
or
customValues
) are considered attribute properties. By defining this list, you
can restrict which properties are used as attributes. Those not provided will not be included as attributes of the
resulting MXML tag.
Example
attributeProperties = ["label", "enabled"];
styleProperties
Array. A list of property names which are to be defined in the CSS style tag for this class. If any of these properties are
also attribute properties (implicit or explicit), they will instead become style properties.
Example
styleProperties = ["color", "textSelectedColor"];
defaultProperties
Array. A list of the names of automatic attribute properties created for the MXML tag. Automatic attributes are those
properties which are not listed as
currentValues
or
customValues
but are automatically determined and generated
by the MXML export. This includes the following properties:
•
x
: x position of the element on the screen
•
y
: y position of the element on the screen
•
width
: width of the element
•
height
: height of the element
•
alpha
: transparency of the element
•
id
: ID tag (based on the element name)
•
source
: source location of the image for objects exported as images
•
styleName
: reference to the style that applies to this element, if applicable
If this list is not defined, all default properties are added to the attribute list (where applicable). If defined, only those
listed will be provided.
Note:
defaultProperties
cannot be style properties. Omitting
styleName
from
defaultProperties
will not
prevent a style from being created for the object if it has style properties.
Example
defaultProperties = ["x", "y", "width", "height"];
namespace
Object. The namespace to be used in the MXML tag. This object should contain one key representing the namespace
prefix whose value is the namespace URI. If this is not provided, the default namespace of
mx
is used.
Example
namespace = {ns:"http://www.example.com/2007/mxml"};
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...