![]() ![]() |
|
Flash Player 6 r65.
This class implements a simple jog. Developers can set the increment, number
of positions in one cycle, integer vs. continuous values, and whether the jog
is adjusted by clicking and dragging, or merely moving in a circular motion
(dragOrOver). When the jog is set to integer values, it only can
be moved in integer increments. A second option, snap to integer, is used to
allow continuous movement, but positions are only reported as integers when
reached, and the visual display snaps to the closest integer when the jog is
released.
The class has two properties that developers can set in the component property panel:
The movie clip must have its center at the center of rotation, so if the developer simply wants to change the indicator (notch), then the indicator should be placed in the topmost (pointing up) position at the edge of the background.
For component FLA's, developers can change the appearance by modifying:
defJogBkgnd - backgrounddefJogIndicator - indicator clipdefJogIncr - Increment button (increments by 1 unit)defJogDecr - Decrement button (decrements by 1 unit)The class has one event, by default called onValChg (but this
can be changed in the property inspector, or by changing the vChg
property), and the value is the increment that the jog was moved. The drawTicks
property, if true, tells the component to draw numTicks ticks.
The suffix of variables recognized for codehinting purposes as FMXISJog's
is _jog.
![]() ![]() |
|