i have a problem i am hoping someone here can help me with. and i know its something very small.
i am making a button and i have a movie clip that when the cursor rolls over it will play its animation. when the cursor rolls off the movie clip it will play in reverse. here is the code for the movie clip
stop();
stop();delete this.onEnterFrame();
trace(“not running”);
this.onRollOver = function() {
direction = “play”;
this.onEnterFrame = function() {
//trace("current frame: "+_currentframe);
trace(“running”);
if (direction == “play”) {
nextFrame();
} else if (direction == “rewind”) {
prevFrame();
}
};
};
this.onRollOut = function() {
direction = “rewind”;
trace(“rolled out”);
};
simple but now here is my problem
my aim is i want to put a button over this that is transparent but when i do this and test it out the movie clip doesn’t play at all?
i just want a transparent button over a movie clip, why won’t this work.