  | |  | getting scrollbar to work | getting scrollbar to work 2004-02-11 - By Alan Rafael Bleiweiss
Back I have a dynamic textfield (txtfield) mc that I call on entering a frame of my timeline....
The text loads as should be (thank the FlashGods) however I'm not happy with the scrollbar it was using (got the textfield from a tutorial)...
So I deleted that scrollbar and dragged the FUI component scrollbar onto it. Great - recognized, sized properly!.
I then named the instance of the scrollbar txtfieldscroll and set it's action to:
onClipEvent (data) { txtfieldscroll.setEnabled(true); }
I did this because I thought that this would be what is required to get the scrollbar to work once the dynamic data has loaded into that field, however even after the data has loaded, the scrollbar still doesn't work - it's greyed out.
Can anyone point me toward how to get this to activate after the data has loaded, and how do I get it to not appear at all if there's not enough data to require scrolling?
I've poured over the AS Dictionary.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |