View Full Version : How I do this???

05-17-2003, 06:49 PM

Its a text box with a scrollbar that also cantains images,this one
works perfects! so if anybody knows a tutorial or have an fla to study will be apprecialted! (flash 5)

05-17-2003, 08:17 PM
it's a scrollPane, a flash mx standard component. check the components window in flash mx..

05-18-2003, 04:22 PM
Ok, but how about flash5? its possible??

05-18-2003, 06:00 PM
sure, but..

...but it's easy in flash mx, you don't have to worry about masking or scrollbars, just drop in a mc and a few lines of code. in f5, you'ld have to do it all yourself:
- a layer containing the mc with all your content
- a layer mask above it, the viewable area
- scrollbars to control the content mc's position below the mask
not too hard though

...but you won't be able to use dynamic textfields, they can't be masked in flash players previous to fp6 v6.0.40.

...but handling your own scrollPane couldn't be the same as in mx. the mx scrollPane uses listeners instead of frame loops to check for changes (cpu friendly), resizing it is easy in mx, even in runtime...

but, then again there are solutions: you could also use other objects (squares e.g.) to hide content outside the viewable area, so you don't have to mask the content mc.

good luck :)