Skip navigation
Currently Being Moderated

Button not working

Mar 11, 2013 5:44 AM

I have banner ad.

I am put replay button & also Put another button for anybody click the banner that goes to my landing page.

Unfortunately when click the replay button "that goes to the landing page" also.

My code is given below

Flash CS3 AS2 coding

 

Replay Button

on (release) {

          gotoAndPlay(1);

}

 

 

Button2 

btn.onRelease=function(){

getURL("http://www.xyz","_blank");

}

 
Replies
  • Currently Being Moderated
    Mar 11, 2013 7:13 AM   in reply to manojb05

    Make sure your replay button is on a layer above the btn layer

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 11, 2013 11:33 AM   in reply to manojb05

    Why are you mixing your coding up like you appear to be? Based on your code, the replay button's code appears to be planted on the button itself, and the Button2 code is on the timeline.  You should put all the code on the timeline.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points