hei,
how can i achieve the following:
the grey rectangle should start fading in when i reach the red square (hit area), not already when you cross the edges of the grey square… this seems to be a easy one - if one knows (sofar about the status of my flash-knowledge!)
the “button” is a movieclip with three layers:
first layer has the button-coding (see below)
second + third layer contain the motion-tweened rectangle/square.
thanks for helping
coding in the first layer:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
_root.gotoAndPlay(34);
}