PDA

View Full Version : Customizing Scrollpane component



rangerkev
April 1st, 2008, 01:44 PM
Hello,

I am using a scrollpane component to load a separate swf file. It is all working fine, except for the background color of the component. How can I customize the component so that the background is transparent?

Thanks for any help,

Kevin

hobbbz
April 1st, 2008, 02:02 PM
Why would you want a transparent background on a scrollable component?
I think you're probably going about whatever it is you're trying to do wrong.

In any case can't you just edit the skin?

rangerkev
April 2nd, 2008, 12:54 PM
Hi Hobbbz,

I am not that experienced with flash and I may be going about it the wrong way. I am using a scrollpane component to load in external swf files. Is there a better way I should be doing this? I am not sure how to edit the skin, could you clarify please? I also notice that when I try to load the external swf, it takes about 15 seconds even when running on my computer. Do I need a preloader?

Thanks for any help,

Kevin

kay2464
May 24th, 2008, 04:58 PM
Hi all,
I have another question about the ScrollPane component. How do i change the outline of the scrollpane to a different color. Right now when it's clicked on, it highlights as a green color, and I want to remove that highlight all together. Anyone know how to do this?

Thanks!

Vitzkrieg
October 16th, 2008, 03:17 PM
Clear background:

myScrollPane.setStyle("borderStyle","none");
myScrollPane.redraw(true);

Remove green outline:
myScrollPane.tabEnabled = false;