What I did was use this tut to change the color of my bg, everything worked fine until I placed the colored boxes within a movieclip that has a stop action in the first and last frame of the mc. I have the feeling that perhaps all I need to do is change somethin’ in the actionscript but what I don’t know…anyone know?;(
I could not open the file
I uploaded the file again…
If you are on a mac you need to .zip the file first.
I get an “Unexpected file format” message.
Im usign XP and Flash MX
how do i zip a file?
U could use WinZip
Are u using windows or mac?
I’m using a mac here at work, but I’m zipping it from a pc … give me a sec…
Save as pc format.
Dun need to zip if the fila isnt big
check if u can download it now porfavor.
Nope couldnt open it :*(
Are u using flash mx?
yes
Well i keep getin an “unexpected file format” yet…
:*(
you are probably using an older version of flash thats why u get unexpected file format
Hmmm dunno, never had happened dat b4
:-\
if i put the swf will that work?
I’ve uploaded it once more this time saving it as a flash 5 file and zipping it from a pc. I’m losing hope. All I need to know is how to get this
on (rollOver) {
var colorful = new Color("_root.shapes");
colorful.setRGB(0x336600);
}
to work from within movieclip
it wont.
the color object takes a string that has to be the name of a clip inside the clip the code is part of. the only way i have been able to get it to work is this:
var me=this;
myColor=new Color(“me”);
because “me” is a string, it can find it.
if you were actually asking about the eventhandler part of it, it goes like this.
on frame 1 put
function onRollOver(){
var me=this;
var colorful= new Color(“me”);
colorful.setRGB(0x336600);
}
All I had to do was place an invisible button within the mc telling it to go and play at a specific frame label and whoalla! it werked. Yay.