PDA

View Full Version : Set Graphic Alpha ?



El_Thierro
May 3rd, 2003, 07:31 AM
Hiya! I'm having some troubles with some script... This is what I would like to do:
I have this graphic symbol in Flash, let's call it 'graphic1'.
Above the graphic, there is a button, 'button1'.
No I need some code, so when you move your mouse OVER 'button1', the alpha of 'graphic1' is set lower (so it becomes less visible). Still following me ;) ? How should I do this?

kode
May 3rd, 2003, 07:40 AM
change the symbol behaviour to MovieClip... and use the _alpha property. =)

button1.onRollOver = function() {
graphic1._alpha = whatever;
};
;)

El_Thierro
May 3rd, 2003, 07:42 AM
k, thanx a lot :)

kode
May 3rd, 2003, 07:43 AM
de nada. =) :P