GdabZ
03-05-2008, 09:30 AM
Hello !
I'm a beginner in Flash, I knew 2-3 things in AS2, but I'm a true noob in AS3. Excuse my poor English, I'm French.
I have made a banner that has a looping background. On the top of that moving background, on another layer, I have several buttons grouped in a MovieClip.
I would simply like to change the color of an object while the mouse flys over the buttons.
menuComplet.Maison.addEventListener(MouseEvent.ROL L_OVER, animeFond);
function animeFond(e:MouseEvent):void
{
barreColor.color = '#FFFFFF';
}
As the button 'Maison' is contained in a group figuring on the scene as 'menuComplet', I try to reach it by 'menuComplet.Maison'
barreColor is a MovieClip on the scene, and I would like to change its color depending to the rollover on the button 'Maison'
I may not have been understandable so let me join the fla file :
essai.fla (http://sadjester.free.fr/essai.fla)
Thanks ! ;)
I'm a beginner in Flash, I knew 2-3 things in AS2, but I'm a true noob in AS3. Excuse my poor English, I'm French.
I have made a banner that has a looping background. On the top of that moving background, on another layer, I have several buttons grouped in a MovieClip.
I would simply like to change the color of an object while the mouse flys over the buttons.
menuComplet.Maison.addEventListener(MouseEvent.ROL L_OVER, animeFond);
function animeFond(e:MouseEvent):void
{
barreColor.color = '#FFFFFF';
}
As the button 'Maison' is contained in a group figuring on the scene as 'menuComplet', I try to reach it by 'menuComplet.Maison'
barreColor is a MovieClip on the scene, and I would like to change its color depending to the rollover on the button 'Maison'
I may not have been understandable so let me join the fla file :
essai.fla (http://sadjester.free.fr/essai.fla)
Thanks ! ;)