all groups > macromedia flash sitedesign > august 2003 >
You're in the

macromedia flash sitedesign

group:

Flash MX Scrollpane problem


Re: Flash MX Scrollpane problem steph
8/14/2003 11:38:50 AM
macromedia flash sitedesign:
It would be easier to follow if you just kept asking your questions in the
thread you started yesterday. Do not put the code on the scrollpane. Call
your scrollpane, say, wealth, and then put the code in an action script
layer in the same frame where you first instantiate your scrollpane. Do not
use a clipEvent, just write:

wealth.setStyleProperty("background",0x7396C6);

It should work.

Steph

"mistainfa" <webforumsuser@macromedia.com> a écrit dans le message de news:
bhg4l6$9vp$1@forums.macromedia.com...
[quoted text, click to view]

Flash MX Scrollpane problem mistainfa
8/14/2003 2:00:06 PM
I have 3 different scrollpanes on serperate pages in my movie.
I'm trying to change the properties to one of the scrollpanes
and not the others, so I placed this piece of code on the actual
scrollpane I need to change. I need to change the background color
to it. Wealth is the name of my scrollpane that I need to change.

onClipEvent (load) {
wealth.setStyleProperty("background",0x7396C6);
}

This didn't work for me, am I doing something wrong?
I need help on this asap.

Thank you.

Rob

Re: Flash MX Scrollpane problem mistainfa
8/14/2003 4:24:20 PM



AddThis Social Bookmark Button