Well you can subclass components rather than hacking them...

Allandt Bik-Elliott (Receptacle) wrote:
wow - that's quite a wierd decision for adobe

thanks for the response - that's really helpful

best
a



On 11 Apr 2008, at 16:01, Andres Garcia wrote:

this was the function I modified (setSize values)... Must be similar in the component you are using... for a strange reason those params values are "hard coded"... really bad!



override protected function configUI():void {
            super.configUI();
thumb = new BaseButton();
            thumb.setSize(14, 20);
            thumb.autoRepeat = false;
            addChild(thumb);
thumb.addEventListener(MouseEvent.MOUSE_DOWN,thumbPressHandler,false,0,true); track = new BaseButton();
            track.move(0, 0);
            track.setSize(80, 2);
            track.autoRepeat = false;
            track.useHandCursor = false;
track.addEventListener(MouseEvent.CLICK,onTrackClick,false,0,true);
            addChildAt(track,0);
        }


On Apr 11, 2008, at 8:55 AM, Allandt Bik-Elliott (Receptacle) wrote:

hi - just a quickie here

if i change the size of a button in a component skin in my library (UIScrollBar in this case) and then test the movie, the button is stretched back to it's original size - can someone tell me what i should be looking at to correct this please?

thanks guys
a

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to