AS2 Clicktag and Rollover questions
I'm creating a banner ad for Yahoo.com and am running into a conflict with the Rollover replay and Clicktag. Both are buttons on separate layers with the ClickTag on top. If the Clicktag button is on, the rollover (replay) button is ignored.
I'm wondering what changes I need to make, but I need to keep the AS2 out of the Clicktag button. Also, if I rollover and out quickly, the animation replays, when it should stop. Thanks for any help. I've attached my .fla CS4 for analyzing.
Yahoo specs of note:
- Animation can begin again on mouse over, but must stop immediately on mouse off.
- When building flash creative, please note that the expression box must be checked and the URL should say clickTag.
If you would like to see the CS4 file, which may explain a lot more, please visit this link.
http://board.flashkit.com/board/showthread.php?p=4291469#post4291469
Thanks again!
Rollover/replay AS2 code
on (rollOver) {
this.play(2)
}
on (rollOut) {
this.gotoAndStop(33)
}
Clicktag
on (release) {
getURL(clickTag, "_blank");
}