RSS News Feed
Movie Masher

open source online video editor and encoding api

 
 
 
 
 
 
Attribute: width
Required: no
Default: undefined
Range: integer (pixels) or '*', '**'... (proportional)

Specifies the width of the control. If this attribute is undefined the width will be determined by the size of the parent bar. If the bar is aligned left or right the width of the control will be equal to the bar's size minus twice its padding. If the bar is aligned top or bottom the width will be proportional to the height, so as to maintain the same aspect ratio as the control's skin graphic.

If this attribute is defined and the height attribute is not, the control's height will be adjusted to maintain the same aspect ratio as the skin graphic only if the parent bar is left or right aligned. Otherwise the height will not be adjusted and the skin graphic will be scaled non-proportionally.

Non-numeric string values for the width attribute are only valid if the parent bar is aligned top or bottom. They indicate that the control's width should be based on the available space remaining in the bar, after the other controls and bar spacing are taken into account. If two or more controls have string values, the available space is divided amongst them based on the relative lengths of the strings. For instance if there are only two controls in a bar and the first has a width of '*' while the second has a width of '**', the first will occupy one third of the bar while the second occupies the other two thirds.

Attributes


align: the string 'top', 'left' or 'center'
angle: floating point number (degrees)
bind: an object ID, period and property name
border: positive integer (pixels)
bordercolor: six character hex color value
color: six character hex color value
disable: an object ID, period and property name followed by a condition and value
disicon: valid URL to a graphic
font: valid font id
forecolor: six character hex color value
grad: floating point number less than 128
height: integer (pixels) or '*', '**'... (proportional)
hide: an object ID, period and property name followed by a condition and value
icon: valid URL to a graphic
overicon: valid URL to a graphic
pattern: a valid string with curly braced property names
select: an object ID, period and property name followed by a condition and value
symbol: a valid SWF URL, followed by an ampersand and class name
text: any string
textalign: the string 'left', 'right' or 'center'
textsize: positive integer (pixels)
width: integer (pixels) or '*', '**'... (proportional)
 
© Movie Masher, Inc. 2006-2013