Adding animation code question
I'm trying to add animation code to a layer that has a clickthrough tag on it. I feel like I'm close, but am missing something. Here is what I have so far and I've linked a basic CS4 .fla file that may better illustrate my issue.
var loop = 0;
clickTAG_btn.onRelease=function(){
getURL(clickTag,"_blank");
}
mc_complexButton.onRollOver=function(){
this._parent.play(1);
}
mc_complexButton.onRollOut=function(){
this._parent.gotoAndStop(10);
}
My clickTAG coding is correct. But I'm trying to have the mc_complexButton rotate when you roll over the clickTAG button. It doesn't work unless I hide the layer that has the clickTAG button. I'm pretty sure that I'm not referencing the mc_complexButton correctly, or sure what numbers need to be in the brackets after it. Thanks for any help or explanation.
http://dl.dropbox.com/u/24097164/Valentine_testheart.fla
Just for reference, I'm going to add the animation to the heart in the final version, the circle is just a placeholder to get the code correct.
