PDA

View Full Version : UIScrollBar fail


Tomppalonen
04-29-2008, 11:46 AM
I have as3 flash with dynamic textField made with the T-tool. To this field I assign text with infoText.text = "blaa blaa blaa";
I drag UIScrollBar from components library and it places itself nicely to right of the field and gets the right scrollTargetName.

BUT It's disabled? Not in the greyed disable mode, but nothing happens if I click the arrows or try to drag the bar. The bar doesn't move!?

The textField and the scrollBar are nested in movieClips - not in the root.

What's with this?

atomic
04-29-2008, 01:26 PM
Have you tried it with AS2.0?

Tomppalonen
04-29-2008, 01:44 PM
No. This site is done in as3.

atomic
04-29-2008, 01:47 PM
I'm not sure all of AS2.0 components, if any, worked with AS3.0...

ryryguy
04-30-2008, 06:24 PM
Maybe this is a dumb question... but is the text in the text field actually longer than the display area of the field? If not, there is nothing to scroll and the bar won't do anything.

Tomppalonen
05-02-2008, 09:47 AM
Maybe this is a dumb question... but is the text in the text field actually longer than the display area of the field? If not, there is nothing to scroll and the bar won't do anything.

Yes. it is.
If there were not enough text the scroll bar would go to the disabled state. Now the bar between the up and down buttons is sized to the amount of the text and LOOKs enabled, but nothing works or moves.

If I just make the textfield and scroll to the root it works, but these are now nested in a third MC from the root.