Search  
Search Options

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 4 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 about 1 month 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 about 1 month ago

Got it!

Thanks so much for the help.

Posted about 1 month ago

nice work mobious :-)

Posted about 1 month ago

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

Posted about 1 month 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 20 days ago

Hi Stupid,

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

chuck

Posted 20 days 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 14 days 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 14 days ago

Hi cts,

thanks! i have updated the files.

chuck

Posted 8 days ago

Hi can we see a sample of the xml?

Posted about 13 hours ago