A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: ContentPane and it's Scrollbar - refresh my memory

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702

    ContentPane and it's Scrollbar - refresh my memory

    Please refresh my memory on how to create a contentpane with a custom scrollbar.

    It's been so long, I can't find any of my reference files.
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

  2. #2
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Can you be a bit more specific about what you want ?
    Usually you set the look of the scrollbar using the gui

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    No, I'm talking about creating a scrollbar with ActionScript.

    I used to know how to create a contentpane and attach a scrollbar to it with action script alone. I thought I had it in my files but I can't find it.
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

  4. #4
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    A contentpane has a scrollbar by default.
    Do you mean a dynamic textfield with a scrollbar ?

  5. #5
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    Quote Originally Posted by w.brants
    A contentpane has a scrollbar by default.
    Do you mean a dynamic textfield with a scrollbar ?
    You can see an example of what I've been talking about by going to Koolexchange and CodeSnippet > Data Merge

    And you see the pop up that appears, look at that. That is what I mean. See how the scrollbar is obviously, thinner than the API scrollbar.
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

  6. #6
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    That's the API scrollbar you are talking about.
    When you create a slider, you can specify thin:true to create a thinner version.

    example :
    Code:
    attachMovie('KC8_Slider','slider',1,{_x:20, _y:20, length:100, c:[0xbfbfdf,0xefefff,0xefefff,0x6f6f9f], thin:true});

  7. #7
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    Quote Originally Posted by w.brants
    That's the API scrollbar you are talking about.
    When you create a slider, you can specify thin:true to create a thinner version.

    example :
    Code:
    attachMovie('KC8_Slider','slider',1,{_x:20, _y:20, length:100, c:[0xbfbfdf,0xefefff,0xefefff,0x6f6f9f], thin:true});

    Where can I learn more about this?
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

  8. #8
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    Yes, I know. What I'm talking about is changing the look of the scrollbar.

    It's thickness, it's buttons and so forth. Not just it's colors as you can do with the UI.

    I used to be able to do this. In fact, Necromancer uses custom scrollbar a lot. That's what I can't remember how to do.
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

  9. #9
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Remus (Necromanthus) does not use the KoolMoves components; he uses his own code. The contentpane is not skinnable. You can change the color and bevel through actionscript but that's all.

  10. #10
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    thats what i like in KM - 5.8 isnt yet released, and Wilbert is thinking bout 6 this is called progress

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