Okay, I just tried graphically creating a larger thumb following this
great tutorial on adobe's site:
http://www.adobe.com/devnet/flex/articles/flex_skins_10.html

And I made my slider thumb 30 pixels X 30 pixels, but flex automatically
resized it back down to like 10 pixels X 10 pixels. How do you keep this
from happening?

-Dustin


--- In [email protected], "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 [email protected], "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
> >
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to