The following example shows how you can add tick marks to a Flash/ActionScript 3.0 Slider control by setting the tickInterval property.
Full code after the jump.
// ActionScript 3.0 /** * Requires: * - Slider control in the Flash library. */ import fl.controls.Slider; var slider:Slider = new Slider(); slider.tickInterval = 1; slider.move(20, 20); addChild(slider); |
3 Responses to Adding tick marks to a Slider control in Flash using ActionScript 3.0
Leave a Reply Cancel reply
Recent Posts
- Getting started with the TLFTextField class in ActionScript 3.0 and Flash CS5
- Adding tick marks to a Slider control in Flash using ActionScript 3.0
- Creating a vertical Slider control in Flash using ActionScript 3.0
- Creating a custom context menu item in Flash using ActionScript 3.0
- Rotating a Sprite object around its x-axis in Flash using ActionScript 3.0 and Flash Player 10
- Detecting when the user changes the color in a ColorPicker control in Flash using ActionScript 3.0
- Getting the currently selected color as a hexadecimal value on a ColorPicker control in Flash using ActionScript 3.0
- Toggling the text field on the ColorPicker control in Flash using ActionScript 3.0
- Creating a vertical Slider control in Flash using ActionScript 3.0
- Setting the number of columns on a ColorPicker control in Flash using ActionScript 3.0
Categories
- Bitmap (1)
- Components (72)
- Button (19)
- CheckBox (2)
- ColorPicker (6)
- ComboBox (1)
- DataGrid (8)
- FLVPlayback (7)
- Label (9)
- ProgressBar (2)
- Slider (3)
- TextArea (1)
- TextInput (7)
- UILoader (7)
- ContextMenu (1)
- Embed (4)
- ExternalInterface (2)
- Flex (7)
- Font (2)
- General (5)
- Graphics (2)
- JSFL (14)
- Loader (3)
- LoadVars (3)
- Microphone (1)
- migration (12)
- MovieClip (1)
- MovieClipLoader (1)
- Sound (2)
- TextField (1)
- TLFTextField (1)
- TransitionManager (1)
- Tween (1)
- Uncategorized (1)
- URLLoader (4)
- URLVariables (1)
- Video (1)
- XML (2)
Advertising
"No public Twitter messages." — pdehaan


hey …
i hav to looking for solution to connect to oracle database from AIR application …the application is installed on machine is not same as one database is installed on … i know its not the right post to ask abt oracle connectivity … but i cudnt find any such post … and hopefully u will read comments on ur latest post more likely than ur older posrt … if u do anything abt how to solve my problem plz let me know here or if possible on email address i provided as i cudnt find anything on it so far … thanks in advance
regards
Yogesh Gaur
Hello,
i know this is probably not the place to ask, but but but i got to…
i have been searching and hitting my head on this one for a while:
Flex 3.3
Zendamf 1.7
trying to send data from flex to sql db via zendamf utilizing the INSERT statement
note: retrieving data works perfectly fine
here is my mxml
private var currentcontact:Array = [];
private function groupContact():void
{
contact[0] = yearTextInput.text;
}
here is my error:
[RPC Fault faultString="Channel disconnected" faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected before an acknowledgement was received"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:218]
at mx.rpc::Responder/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53]
at mx.rpc::AsyncRequest/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]
at NetConnectionMessageResponder/channelDisconnectHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:622]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/disconnectSuccess()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\Channel.as:1091]
at mx.messaging.channels::NetConnectionChannel/internalDisconnect()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:163]
at mx.messaging.channels::AMFChannel/internalDisconnect()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\channels\AMFChannel.as:312]
at mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\channels\AMFChannel.as:382]
hi everybody,
How to make action script in flash, run and use in web