Adobe 38039927 - Fireworks CS3 - PC Extended User Manual page 295

Extending fireworks
Hide thumbs Also See for 38039927 - Fireworks CS3 - PC:
Table of Contents

Advertisement

sizeOffset
Object. Defines a size offset to apply to the MXML definition of the exported element. It consists of two integer
properties, width and height, which are measured in pixels and are added to the MXML width and height attributes.
This does not have any affect on margin or padding properties. It simply consists of values that will be added to the
final width and height attributes of the MXML tag produced.
Example
sizeOffset = {width:10, height:10};
customValues
Object. Contains custom name-value pairs that are available to the MXML export but not accessible as visible
properties within Fireworks. During export these are translated directly to MXML attributes or styles in combi-
nation with any properties defined within
Example
customValues = {myNum:10, click:"clickHandler();"};
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
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
generated by the MXML export. This includes the following properties:
: x position of the element on the screen
x
: y position of the element on the screen
y
: width of the element
width
: height of the element
height
: transparency of the element
alpha
: ID tag (based on the element name)
id
: source location of the image for objects exported as images
source
: reference to the style that applies to this element, if applicable
styleName
customData currentValues
or
) are considered attribute properties. By defining this list,
customValues
or
currentValues
customValues
.
but are automatically determined and
ADOBE FIREWORKS CS3
291
Extending Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs3

Table of Contents