Jog Knobs
 
Push Buttons:
 
Displays:
 
Jogs & Potentiometers:
 
Joystick:
 
Keypads:
 
Gauges:
 
Switches:
 
Timers:
Sliders:
Common:
 

Jog knobs are commonly seen on editing decks to allow users to advance or rewind tape or film by certain increments. We have built a basic jog knob and then two extensions, one which adds button-like, pushing behavior, and a second that allows you to specify which graphics to use by their linkage ID. This enables you to have several jogs on the Stage that look different from one another.

Each jog knob lets you specify features such as

  • The number of units in one revolution
  • The number of divisions (used when drawing tick marks, if desireD)
  • Whether the jog is restricted to integers, or is continuous (floating point)
  • Whether interaction is achieved by clicking-and-dragging in a circular motion, or simply rolling over the knob
  • Whether or not to show +/- buttons below the knob for easier turning

and several more.

 
 

You can see from the FISJogAttach example (bottom right) that it can be tricky to get the placement of the attached graphic right. If it's off center, than the knob will appear to wobble a bit. The attached graphic center must be exactly in the center of the movie clip.

When you look at the code sample, you'll also notice that we turned the background graphic off (showBkgnd = false, set in the component parameter panel). This sets the background graphic to _alpha = 0, not _visible = false, because the hit area for the knob is still determined by the background graphic, not the indicator (which is replaced by the attached graphic). Therefore, you need to make your background graphic, in the Library, big enough to cover the hit area for the knob, even if you turn it off with the component property.

 
Check out this UHF radio demo that uses about 20 FISPotAttach's!
 
Please direct any questions or comments to components@FlashSim.com, or to our components discussion board.
 
 
All content © 2000-3 Equipment Simulations LLC
Cover Art, Logo, and Site Design by Eric Zempol for ZetaDesign