Hi there, I´m a new flash user from Finland.
I have question concerning “setChildIndex” -function.
I have picture-level (of six pictures). I’ve set mouse_over function for those (increasing when MOUSE_OVER)
The problem is that I would want to create function which brings the current(button) - in my code currentbutton is the target which you are pointing at moment - to front and set to back when it become as contentOld.
Any ideas? Thanks…
My Code:
function buttonOver3(e:MouseEvent)
{
var currentbutton:MovieClip = MovieClip(e.currentTarget);
TweenMax.to(currentbutton, 0.5, {scaleX:1.8, scaleY:1.8})
}
function buttonOut3(e:MouseEvent)
{
var currentbutton:MovieClip = MovieClip(e.currentTarget);
TweenMax.to(currentbutton, 0.5, {scaleX:1.0, scaleY:1.0})
}