Search  

XML AND CSS SCROLLBAR

HomeBrowse CategoriesFlashApplications and UtilitiesXML and CSS Scrollbar

XML & CSS SCROLLBAR

A smooth scrollbar that is driven by XML and can be formatted using CSS .

FEATURES INCLUDE :

  • XML driven
  • External CSS formatting
  • HTML support
  • Scrollbar hides if not needed
  • Smooth, ease action
  • Mouse Wheel support
  • Easy to use configuration section
  • Very easy to modify
  • Clean code, help file and lots of comments
  • Main preloader

NEW UPDATES !

The following new features have been added to this file based on feedback:
  • Up and down buttons
  • Rounded scrolling for smoother fonts
  • Easing on bar click
  • Better configuration section
  • Even more comments
  • HTML embed example with Swf Object
  • Fixed onLoad flashing bug found in comments
  • New demo of how to load multiple xml

PLEASE REQUEST NEW FEATURES IN THE COMMENTS

Like this file? You might also like these files:

VIEW MY FULL PORTFOLIO | GET NOTIFIED OF NEW FILES


Posted 7 months ago

ah yes, those things your are arrows are pointing to are galled reg point they need to be in the top left 0,0. Make sure you are editing the mask and bar directly and not through any other movieclips. Open them from the libray or doubleclick through until you get to them

Posted 4 months ago

I did edit the mask through the movie clip, I think. That may be the problem. But for the points, are you saying if I edit the pieces directly, those points will turn out ok? Otherwise, how do I reposition the points to 0,0? I cant seem to select them. I’ll go head and give it another go from the beginning and see if I can get it. When in doubt… do it again… always seems to work. Eventually…

All in the name of learning! =P

Thanks!

Posted 4 months ago

Got it!

Thanks so much for the help.

Posted 4 months ago

nice work mobious :-)

Posted 4 months ago

El XML admite ñ á é í ó ú? Gracias.

Posted 3 months ago

Hep! Earlier I contacted you with the problem of embedding fonts. When I embed the fonts all become blank.

This happens because I convert your file to a never format above flash 8.0 (CS3)

Which ofcourse is sorta lame :(

Posted 3 months ago

Hi Stupid,

should not be a problem converting to cs3 just make sure you are publishing as AS2 .

chuck

Posted 3 months ago

great file man…there is a veeeeeeeeeery small bug though that can easily be fixed…

if there is not much content in the text area and the scroll-bar is invisible, you can still scroll the content by using the mouse wheel…

if you select the “view features” button that hasnt got so much content you can see what i am talking about….

i just added a check at your MOUSE SCROLL WHEEL function and it only works if the scrollbar is visible…(line 111 of your AS code)

// MOUSE SCROLL WHEEL ////////////////////////////////////////////////////////////////// var scrollWheel:Object = new Object(); scrollWheel.onMouseWheel = function(pos:Number) { if (this._parent.scrollbar._visible == true) { if (pos<0) { scrollDown(); } else { scrollUp(); } } };

Posted 3 months ago

i am sorry for that, to fix the little bug the check must be written on the scrollUP and scrollDown functions istead…here is the code:

function scrollUp():Void { if (this._visible == true) { barIsPressed = false; if (dragger._y>bar._y+speed) { dragger._y -= Math.round(speed); } else { dragger._y = bar._y; } } } // scroll down function scrollDown():Void { if (this._visible == true) { barIsPressed = false; if (dragger._y<scrollEnd-speed) { dragger._y += Math.round(speed); } else { dragger._y = scrollEnd; } } }

Posted 3 months ago

Hi cts,

thanks! i have updated the files.

chuck

Posted 3 months ago

Hi can we see a sample of the xml?

Posted 2 months ago

Hi Sweetz,

the xml is nothing special just a set of opening and closing tags.

chuck

Posted 2 months ago

I purchased another one of your componets. They are so well put together and easy to use I can’t help myself. Feel free to send me a bonus componet, maybe that $6 drop down sub-menu would be sweet! Well done my friend, many thanks! Jonra

Posted 2 months ago

thanks jonra ! :-)

Posted 2 months ago

Nice file Chuck. Thank you for putting together.

I’m running into a bit of trouble though. I have the scrollbar.swf loaded into a movieclip whose alpha property is initially set to 0 (so that i can fade it in). The problem is that even though all the other components of that movie clip are initially invisible, the text in your scrollbar swf is visible. Any idea why the text is not being affected by the alpha set to 0?

Thanks.

Posted about 1 month ago

try embeding the font, Flash it a bit annoying!

Posted about 1 month ago

huh!! it worked! thank you.

Posted about 1 month ago

Chuck – One more thing, I’m running into trouble displaying bolded text when embedding the fonts. So now that I’m embedding, the bold text is invisible. Any ideas? Thank you.

Posted about 1 month ago

Hi Chuck – any ideas of why the bold is not working when I embed the font. I would really like to use your scrollbar, but I need the bold formatting. Please let me know as soon as you get a chance. This is my last step in wrapping this project up. Thanks.

Posted about 1 month ago

I have work in flash for more than 5 years and i think this one of the best scrollers here in FD…

Posted about 1 month ago

Hello, Chuck. I’m very impressed by the animation here (and some of your other sample work), and finally a scroller where EVERYthing can be controlled via an external XML /CSS setup! I’m also partial to authors whho keep up with their comment threads such as yourself.

My only question is how skinnable is the file? I ask because I have a client for whom this would be great, but it’s much more of an earth-tone sight, and she’d like the scroller to be a single thin line with a scrubber box (instead of the rounded box here). Is that possible, and straightforward from the documentation/comments? There’s an alternative scrollbar I could use, but requires the text and images to be entered manually into the Flash file, and I don’t want her to have to open Flash to make edits.

Also, I assume that there are no external help files, such as QuickStart or Tutorial documentation? I am just learning Flash myself, so I would need some hand-holding at first through set-up, which is why I like to know where my Help resources are beforehand.

Thanks in advance for any clarification.

Posted about 1 month ago

Can Tables be implemented? 6 columns or more?

Posted about 1 month ago

For anyone running into the same problem I ran into above, I fixed the problem by adding a separate dynamic text field outside the stage area with the same type embedded in bold. Not sure why that fixed the problem but it did.

Posted about 1 month ago

In regards to rocknorris question (“skinnability”;), when I change the size of the mask, the dragger mc scrolls down past the scroll bar. Chuck, can you provide a quick answer here?

Posted about 1 month ago

jordisan,

sorry for the big delay in replying, this file somehow gets skipped in my rss reader.

again Flash is really lame with bold text, you need to write some text in bold and embed it before you publish – super annoying but just one of many bugs with Flash.

chuck

Posted about 1 month ago

rocknorris,

the file is pretty easy to modify, there is config section, help file and lots of comments. You can also easily change the graphics in Flash.

thanks chuck

Posted about 1 month ago

jordisan,

the mask has to be the same height as the dragger bar.

thanks, chuck

Posted about 1 month ago

Re: I have the scrollbar.swf loaded into a movieclip whose alpha property is initially set to 0 (so that i can fade it in).

I’m having the same problem. The solution “embed the font” seems to me like attacking an icecube with a chainsaw. Does Flash really suck this much? Is there no way around such an obvious problem, even for software in its NINTH version?

My video player swf = 26k.

My video player swf with font embedded = 360k.

This is clearly unacceptable. Also there are legal implications to embedding a copyrighted font (Arial). And it just shouldn’t be necessary, when the user already has it on their computer.

Silverlight is beating Flash hands-down right now. And it’s only a v2 beta release.

Posted about 1 month ago

serializer,

yes you do have to embed the font, its not a big deal. When you embed the font just select, uppercase,lowercase,numerals and punctuation. It will only add a few kb to your file size.

Also how can you have the same problem if you have not purchased my file?

Posted 29 days ago

Hi, I would like to buy your scrollbar, but need to know the following: 1. I would like to hide the scrollbar completely and only have the buttons show + being able to use custom buttons 2. I need to be able to define a custom height and width of the content area

Please let me know if this is possible.

Thanks

Posted 3 days ago