Adobe 65011817 Extended User Guide - Page 315
margin.right, margin.left, margin.top, margin.bottom
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 315 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 311 Rich symbols 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.left margin.top MXML width margin.right padding.top MXML height Container Area margin.bottom padding.left Margin and padding relationships in respect to a panel component padding.bottom padding.right 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();"};