motofzr1000
08-29-2004, 02:04 PM
Hi,
I just started using Flash MX 2004 Professional (7.2), and I want to use the Scrollpane component. I succeeded in adding the content, and removing the border, and changing the color of the arrow when clicking it.
However... I want to change some additional things, such as removing the scrollTrackColor, but whatever I do, nothing changes... I've searched on different forums, and tried, but it doesn't change anything...
This is the code I'm using now:
scrollpane.setStyle("themeColor", "0x3F4860");
scrollpane.setStyle("borderStyle", "none");
scrollpane.setStyle("scrollTrack","none");
scrollpane.setStyle("arrow","0x800080");
scrollpane.setStyle("background","0xFFFFFF");
scrollpane.setStyle("backgroundDisabled","0xFFFFFF");
scrollpane.setStyle("foregroundDisabled","0xFFFFFF");
scrollpane.setStyle("face","0x000000");
scrollpane.setStyle("highlight3D","0xFFFFFF");
scrollpane.setStyle("highlight","0xFFFFFF");
scrollpane.setStyle("shadow","0xFFFFFF");
scrollpane.setStyle("darkshadow","0xFFFFFF");
scrollpane.setStyle("focusRectInner","0xFFFFFF");
scrollpane.setStyle("focusRectOuter","0xFFFFFF");
scrollpane.drawFocus = false
I've also included a zipped file of the FLA which contains the Scrollpane...
Does anyone know what I'm doing wrong here ?
Thanks in advance,
Jurgen
I just started using Flash MX 2004 Professional (7.2), and I want to use the Scrollpane component. I succeeded in adding the content, and removing the border, and changing the color of the arrow when clicking it.
However... I want to change some additional things, such as removing the scrollTrackColor, but whatever I do, nothing changes... I've searched on different forums, and tried, but it doesn't change anything...
This is the code I'm using now:
scrollpane.setStyle("themeColor", "0x3F4860");
scrollpane.setStyle("borderStyle", "none");
scrollpane.setStyle("scrollTrack","none");
scrollpane.setStyle("arrow","0x800080");
scrollpane.setStyle("background","0xFFFFFF");
scrollpane.setStyle("backgroundDisabled","0xFFFFFF");
scrollpane.setStyle("foregroundDisabled","0xFFFFFF");
scrollpane.setStyle("face","0x000000");
scrollpane.setStyle("highlight3D","0xFFFFFF");
scrollpane.setStyle("highlight","0xFFFFFF");
scrollpane.setStyle("shadow","0xFFFFFF");
scrollpane.setStyle("darkshadow","0xFFFFFF");
scrollpane.setStyle("focusRectInner","0xFFFFFF");
scrollpane.setStyle("focusRectOuter","0xFFFFFF");
scrollpane.drawFocus = false
I've also included a zipped file of the FLA which contains the Scrollpane...
Does anyone know what I'm doing wrong here ?
Thanks in advance,
Jurgen