2 Replies Latest reply: May 1, 2012 9:34 AM by BoogieFiggins RSS

    Assigning multiple click tags to ONE banner

    mentlity Community Member

      Flash specs for ad agency are as follows

       

      ctaginfo.png

       

      Can someone let me know how I would add multiple clicktags to ONE banner based on this click tag info OR do I have to contact them?

       

      RD

        • 1. Re: Assigning multiple click tags to ONE banner
          BoogieFiggins Community Member

          I'm running into the same problem myself. I'm trying to track multiple click-through URLs in a Flash creative. It's telling me (Double Click) not to set up a base clickTag. Instead, use clickTag1, clickTag2, and so on. I don't know how to that. I'm used just setting up one click tag like you have in your screen shot.

          • 2. Re: Assigning multiple click tags to ONE banner
            BoogieFiggins Community Member

            Here you go. This example has three clickTags. It's based off three buttons (clickBtn, clickBtn2, BTN) :

             

            function clickedb(e:MouseEvent):void { //function for SIPC

                var sURL: String;

                if ((sURL = root.loaderInfo.parameters.clickTag)) {

                    openWindow(sURL);

                }

                //navigateToURL(new URLRequest("http://www.sipc.org/"), "_blank");

            }

             

            function clickedb1(e:MouseEvent):void { //function for SIPC

                var sURL: String;

                if ((sURL = root.loaderInfo.parameters.clickTag1)) {

                    openWindow(sURL);

                }

                //navigateToURL(new URLRequest("http://www.sipc.org/"), "_blank");

            }

             

            function clickedb2(e:MouseEvent):void { //function for SIPC

                var sURL: String;

                if ((sURL = root.loaderInfo.parameters.clickTag2)) {

                    openWindow(sURL);

                }

                //navigateToURL(new URLRequest("http://www.sipc.org/"), "_blank");

            }

             

             

            clickBtn.addEventListener(MouseEvent.CLICK, clickedb);

            clickBtn2.addEventListener(MouseEvent.CLICK, clickedb1);

            BTN.addEventListener(MouseEvent.CLICK, clickedb2);