PDA

View Full Version : scrollpane custmomising questions


debarcle
06-04-2006, 07:05 PM
Hi all i have a question on using the scroll pane function in flash. Im using flash 8 (just upgraded for mx2004) and would like to no how to make a few changes to my scroll pane, but unsure on its level of custumisation?

when i place the scroll pane into a Movie it has a white boarder around the scroll pane area, can i get rid of this so its clear?

also can i change the look of the scroll bar from the white bar to something else?

and last but not least can i create a delay on the scroll so its not quite so rigid? i liked the example on this website www.carlcox.com
the scroller feels very smooth on that site and is what im going for


thankyou, and i hope you can help me

cheers d

pan69
06-05-2006, 04:38 AM
Hi and welcome to ActionScript.org,

By default the ScrollPane doesn't allow you to disable to border around it, atleast as far as I know. The way I disable the border of a ScrollPane component is as follows:


myScrollPane["borderStyle"] = "none";


The carlcox website doesn't use the ScrollPane component but a custom control that has the delay kind of movement build in. You can't really do this with a ScrollPane component.

To change to appearance of a scrollbar just learn how to skin it. There is a lot of info on this in the Flash documentation.

Hope this helps...