If my constructor looks like this: public function SliderThumbSkinLarge() { super(); this.scaleX=2; this.scaleY=2; }the size doubles as expected, but the thumbSlider's point doesn't line up with the tick mark, and it looks like hell. Is there anything I can do to the programmatic skin to override the positioning of the thumb?-Dustin--- In flexcoders@yahoogroups.com, "dirtmediaworld" [EMAIL PROTECTED] wrote: I'm having a similar problem with just changing the width and height of the slider thumb. I tried extending the mx.skins.halo.SliderThumbSkin and setting the width and height values in the constructor like this: package com.mydomain.view.skins { import mx.skins.halo.SliderThumbSkin; /** * The skin for all the states of a thumb in a Slider. */ public class SliderThumbSkinLarge extends SliderThumbSkin { /** * @private * Constructor. */ public function SliderThumbSkinLarge() { super(); this.width=30; this.height=30; } } } My slider mxml looks like this: mx:VSlider thumbDownSkin="com.mydomain.view.skins.SliderThumbSkinLarge" thumbDisabledSkin="com.mydomain.view.skins.SliderThumbSkinLarge" thumbUpSkin="com.mydomain.view.skins.SliderThumbSkinLarge" thumbOverSkin="com.mydomain.view.skins.SliderThumbSkinLarge" tickInterval="1" snapInterval="1" ...etc/ but I can't seem to get it to work. Any help with my skinning implementation or a solution that avoids skinning is much appreciated. -Dustin --- In flexcoders@yahoogroups.com, "Manish Jethani" manish.jethani@ wrote: On 4/3/06, Sreejith Unnikrishnan sree@ wrote:Is it possible to rotate the VSlider so that the thumbs face to the right than to the default left? 2.0? Create a new skin extending mx.skins.halo.SliderThumbSkin. In the constructor, set its scaleX to -1. And assign this skin to the "thumbOverSkin", "thumbDownSkin", etc., styles. Manish
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development
Computer software development
Software design and development
Macromedia flex
Software development best practice
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___