On Statements

Hello all!

Im fairly comfortable with AS3, but I had to go back to AS2 to solve a problem with clickTag which the ad networks doesnt support yet in AS3.

I have a clickTag function that covers the whole stage, now, how on earth do I add a way to track over and out statements when the clicktag is covering the whole stage?

The clickTag script looks like this,

on (release) {
if (clickTAG != “”) {
getURL(clickTAG, filmTARGET);
}
}

I want to be able to add a code that looks something like this,

on (rollOver) {
gotoAndPlay(“stage2”)
}
on (rollOut) {
gotoAndPlay(“stage1”)
}

How can I accomplish that when the clicktag code is contained in a button that covers the whole stage? No way of tracking the on and out states then is it?

Maybe I am doing the clicktag wrong, who knows :slight_smile:

Anyways, would be really thankful if someone could help me out with this.

Thanks in advance!

/Rundevo