|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
button - rollOver/rollOut - background color
I got my hands on Macromedia Flash MX Professional 2004 today and I've been playing around with it. Anyway, I have this problem - and I assume there's an easy solution to it.
I can't get rollOver/rollOut to change the background color of a button. This is what I've done. I've drawn a box with Rectangle tool -> Convert to Symbol -> button Then I'm trying to add an action.... Code:
on (rollOver) {
mycolor1 = new Color (_root.button1);
mycolor1.setRGB (0xFF0000)
}
.... but it doesn't work. What am I doing wrong? What should I do? Oh, and if any of you know some online tutorials, I'd appreciate the urls ![]() Thank you in advance - Kimppa
__________________
Fatal error on row 561: Couldn't access life - life isn't set |
|
#2
|
|||
|
|||
|
Are you sure the code is on the button and not on the frame?
|
|
#3
|
|||
|
|||
|
Yes, I'm absolutely sure.
|
|
#4
|
||||
|
||||
|
Quote:
Here are a couple that should help you. http://www.echoecho.com/flashbuttons01.htm http://www.webthang.co.uk/tuts/tuts_fmx/juan1/juan1.asp
__________________
Mark Pearce |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > button - rollOver/rollOut - background color |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|