
311
EXTENDING FIREWORKS
Rich symbols
Las
t
up
d
a
ted
12/8/2009
Example
margin = {top:5, right:5, bottom:5, left:5};
padding
Rectangle. Defines the area within the element that determines if another element can be seen as being a child of that
element. If defined, any other element whose bounds are completely within the area marked by padding and arranged
above the current element will be a child element within the resulting MXML. It consists of four integer properties
measured in pixels: top, right, bottom, and left; and is calculated after the margin.
Example
padding = {top:5, right:5, bottom:5, left:5};
Margin and padding relationships in respect to a panel component
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 combination
with any properties defined within
customData currentValues
.
Example
customValues = {myNum:10, click:"clickHandler();"};
margin.right
margin.left
margin.top
margin.bottom
MXML height
MXML width
padding.top
padding.bottom
Container Area
padding.right
padding.left
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...