RSS News Feed
Movie Masher

open source online video editor and encoding api

 
 
 
 
 
 
The ruler is a slider control variant specifically designed to act as a scrubber for the timeline. The positioning of its icon takes into consideration the zoom and hscroll properties of the timeline, so that it's in sync with its clips.

Using the default values for all attributes will produce a simple slider with the icon graphic positioned over the background graphic. The control will be bound to the player.location property. If the current location is not visible within the timeline view, the icon of the ruler is not displayed.

Typically the ruler control is placed directly above the timeline, with its left and right edges aligned to it. If a graphic URL is supplied for the rulericon attribute, this image will be centered over the icon and resized vertically to extend to the bottom of the timeline. The ruler's control tag must be after the timeline's for this image to overlap the timeline and its clips.

Attributes


align: the string 'top', 'left' or 'center'
angle: floating point number (degrees)
back: valid graphic URL
bind: an object ID, period and property name
border: positive integer (pixels)
bordercolor: six character hex color value
color: six character hex color value
grad: floating point number less than 128
height: integer (pixels) or '*', '**'... (proportional)
icon: valid URL to a graphic
overicon: valid URL to a graphic
reveal: valid graphic URL
ruleicon: valid URL to a graphic
ruleovericon: valid URL to a graphic
symbol: a valid SWF URL, followed by an ampersand and class name
width: integer (pixels) or '*', '**'... (proportional)
 
© Movie Masher, Inc. 2006-2013