On Fri, Apr 25, 2008 at 2:34 PM, Bob Wohl <[EMAIL PROTECTED]> wrote:
> I'm trying to adapt a skin to a scroll bar with out scaling the scrollThumb
> image.

The "proper"  way to do it would be to extend scroll bar, override
setScrollProperties and copy or extend all the components that extend
it or use it (or are expecting it) under different packages and etc.
etc. ...  potentially horrible.

>[...] All the searching I've done points me to editing the SDK which seems
> a bit hack-ish. Also, most of the info I found was on FB2 and not 3.

Yeah, it's a hack, but if you want to try it out, I have an example
here (that might save you from rolling your own from scratch):
http://rojored.com/hacks/scroll-thumb-fixed-size/ScrollTest.swf

The source example and the monkey patch is here:
http://rojored.com/hacks/scroll-thumb-fixed-size/

If you're not familiar with monkey patching, you should check this out first:
http://blogs.digitalprimates.net/codeSlinger/index.cfm/2007/4/3/Flex-Component-Development

This is a smelly hack.... you should use it only in case of emergency  ;-)


-- 
gabriel montagné láscaris comneno
http://rojored.com
t/506.8392.2040

Reply via email to