PDA

View Full Version : UIScrollBar & mask


inhan
12-29-2006, 02:06 AM
Hey all.

I'm trying to use the scrollBar component with a masked mc but height of the bar adjusts itself to the height of the actual mc to be masked, and I could not figure out what to do to set the scrollBar height to the height of the mask. I tried to mask the mc manually and then with actionscript but none of them worked.

Any ideas appreciated.

inhan
12-29-2006, 02:27 AM
By the way I'm trying to use the scroll bar not with a text field, just an mc containing a couple of jpg's, and I'm trying to emulate a smaller browser window, that's why I wanna use the typical scroll bar.

inhan
12-29-2006, 02:35 AM
nevermind, scrollBar component appears to be text-only. puff.. :/

3pepe3
12-29-2006, 02:37 AM
hi...
did you try the setSize?
yourScrollB.setSize(yourScrollB.width,blabla.heigh t)
upppppppppssssssss.. i got to go

inhan
12-30-2006, 10:31 PM
pepe, UIScrollBar is a text-only component, adjusting the size manually or via actionscript does not end up with success. now that components are rigit aand they supply limited control I've decided to switch the solution, so nevermind.