I'm using a custom scroll bar, as I don't like how MX's component one works. But basically, I want to be able to "deactivate" the scroll bar (probably by loading dimmed images in place of it) when the text in the text box is short enough where no scrolling is necessary. So my question is, is there some sort of built in function (or one I can put in) that can tell if the text in a textbox is long enough to be scrolled or not?
While I'm on the subject, my ideal scroll bar would function just like the component one, only the thumb wouldn't resize based on the amount that can be scrolled.; the thumb would be an image that remains a constant size throughout. It would still need to scroll when you click the up or down buttons or the scroll track, though (and the thumb would move to wherever you clicked on the track). Anyone know a tutorial or something that can show me how to do this with the images I want? Or if it helps, I have a flash file with different images that works exactly how I want it to, but it moves a movieclip up or down rather than scrolling a textbox. If I gave someone the file could they modify it to work on a textbox?
While I'm on the subject, my ideal scroll bar would function just like the component one, only the thumb wouldn't resize based on the amount that can be scrolled.; the thumb would be an image that remains a constant size throughout. It would still need to scroll when you click the up or down buttons or the scroll track, though (and the thumb would move to wherever you clicked on the track). Anyone know a tutorial or something that can show me how to do this with the images I want? Or if it helps, I have a flash file with different images that works exactly how I want it to, but it moves a movieclip up or down rather than scrolling a textbox. If I gave someone the file could they modify it to work on a textbox?