Movie clip used like a button with rewind and more need help !

Movie clip used like a button with rewind and more need help !

Post by tpearma » Sat, 28 Oct 2006 16:33:56


Hello all,
I have been trying to get a map of the USA that is grey to fade to blue
when mouse rolls over then rewind to grey when mouse rolls out. I would
also like it to on click go to and stay the shade of blue until
another state is clicked on and it would of course no longer be blue
but reset back to its original grey and ready to be rolled over again,
in other words back to the way it started. It ismade in vector
imported to flash stage and each state converted to symbol and graphic
and then new movie drag out graphic then i motion tween it and change
the tint on the last frame to get the color change effect. I am
currently using a action script on frame 1 and it looks like this:

stop();

this.onEnterFrame = function(){
if(rewind ==true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}

//this.onRelease = function() I commented this out since im not
sure how to achieve what i want. I have tried making an if else on the
rollout and all kinds of things. Couldnt seem to get it to work


Thanks everybody in advance to any help you can give me. I am fairly
new to writing actionscript and doing flash, so Im sorry if this seems
like a dumb question.
Travis