A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Skinning question about the scrollpane

  1. #1
    aidanmack.co.uk
    Join Date
    Dec 2001
    Location
    York, UK
    Posts
    400

    Skinning question about the scrollpane

    Hi,
    I have recently used a scroll pane in a website i have designed for a friend.

    www.juliaperrygladrags.co.uk
    (it can be found in the costume section of the portfolio)

    Im thinking about using the macromedia tutorial to change the colours
    Before i do though i have a few questions.

    Are their not any pre built skins that i can use instead of actually having to change the colours?

    Secondly
    The scroll bar looks really FAT on the site or stretched as a better word. Is their anyway i can make it a bit thinner?

    Thanks
    Aidan

  2. #2
    Senior Member dudeqwerty's Avatar
    Join Date
    Mar 2005
    Location
    Bosnia
    Posts
    1,626
    New sig soon

  3. #3
    aidanmack.co.uk
    Join Date
    Dec 2001
    Location
    York, UK
    Posts
    400

    Im thinking about using the macromedia tutorial to change the colours
    Before i do though i have a few questions.
    http://board.flashkit.com/board/showthread.php?t=671734
    Well thats exactly the tutorial i was looking at.
    (its a sticky at the top of this forum)

    If any one knows how to make the scroll bar thinner (with out actually mucking about with the skins) that would be of great help! thank you

  4. #4
    Senior Member dudeqwerty's Avatar
    Join Date
    Mar 2005
    Location
    Bosnia
    Posts
    1,626
    sorry, didnt read it properly.

    it looks like the scrollbar and textbox have been rescaled that would be what is causing the distortion, if you are scaling make sure that _xscale and _yscale are in proportion to each other,

    or just use the free transform tool to make it thinner,

    zlatan
    New sig soon

  5. #5
    aidanmack.co.uk
    Join Date
    Dec 2001
    Location
    York, UK
    Posts
    400
    yeah can see where your coming from,
    that would work if i was using a dynamic text box with just a scroll bar stuck on the end.
    But i want it to scroll a movie clip so i have used a Scrollpane instead.
    I caunt seem to be able free transform the scroll bar just on its own. i have to transform the complete box.

  6. #6
    Senior Member dudeqwerty's Avatar
    Join Date
    Mar 2005
    Location
    Bosnia
    Posts
    1,626
    im pretty sure i know whats wrong,

    put this code on the frame and change "myScrollPane" to the instance name of your scrollpane:

    Code:
    var sl:Object = new Object();
    sl.onResize = function() {
    	myScrollPane._xscale = 100/(_root._xscale/100);
    	myScrollPane._yscale = 100/(_root._yscale/100);
    };
    Stage.addListener(sl);
    HTH,

    zlatan
    New sig soon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center