Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
getting scrollbar to work

getting scrollbar to work

2004-02-11       - By Alan Rafael Bleiweiss

 Back
Reply:     1     2     3  

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.