PDA

View Full Version : [AS3] ScrollPane Component Style


madcat
12-17-2009, 06:11 PM
Anybody seen a good tutorial on this? This has to be the most secretive of all subjects in Flash :) If you do a search for customize scrollpane in AS3 you get a lot of unanswered questions or AS2 posts...

I'm trying to remove the dropShadow around the component. Feel like it's nested deep within the classes somewhere and want to turn it off.

Any help appreciated.

madcat
12-17-2009, 06:23 PM
var newSkinClip:MovieClip = new MovieClip();
newSkinClip.graphics.clear();

sp.setStyle("upSkin", newSkinClip); //ScrollPane_upSkin
Hallelujah.