Custom Component in Flex 4 (Gumbo). A Knob Button - part 2.
Keywords: control, custom component, design, skinning, skinparts, skins, Spark, states, UI
This post looked at creating a custom flex 4 component from scratch. The knob button defined there had a min/max-value for the range and the rotation. The user could adjust the value by pressing the knob and then dragging the mouse. Now, we would like to extend the control a bit by adding a text input-field where the value of the knob is reflected. Likewise a value can be entered into the textfield and the rotation of the knob would reflect this.
Instead of extending the knob I decided to create another control that is a composition (more…)

