3 Replies Latest reply on Oct 13, 2010 12:25 PM by Ned Murphy

    AS3 Click Tag - Please help!

    sdcowart

      I have been reading through all the posted questions about click tags and can not figure out my problem.

       

       

      I have a button being loaded dynamically "myViewPackagesBtn". The publication I am creating this banner ads for is saying I need to create a clickTag and not have a hard coded url and they ned to be able to track the clicks.

       

      They said to use this code:

       

      on (release) {

      getURL(clickTag, "_blank");

      }

       

       

      My AS3 code is as follows:

       

      myViewPackagesBtn.addEventListener(MouseEvent.MOUSE_UP,goSite1);

      function goSite1(evt:MouseEvent):void{

      navigateToURL(new URLRequest("http://phgoffers.com/participatingHotels.aspx?id=327&src=12113815"));

      }

      Will you please help me and let me know how to accomplish what they are asking for?
      Thank you!!!