3 Replies Latest reply on Jun 8, 2007 6:31 AM by nITiNkIlLeRmEeRuT

    More ActionScripting Nightmares

    Mike [ iHeartMedia.239 ]
      ERROR MESSAGE:

      **Error** Scene=Scene 1, layer=content, frame=1:Line 4: Statement must appear within on handler
      if(clickTAG.substr(0,4)=="http:www.mediabrains.com/") getURL(clickTAG,"_blank");

      Total ActionScript Errors: 1 Reported Errors: 1

      ------------------------------------------------------------------------------------------ ------------------------

      HERE IS MY ACTION SCRIPT ON FLASH placed on a opaque btn.

      on(press) {
      getURL (" http://www.mediabrains.com/")
      }
      if(clickTAG.substr(0,4)=="http:www.mediabrains.com/") getURL(clickTAG,"_blank");

      ------------------------------------------------------------------------------------------ ------------------------
      How in the hell do I get this to work.. So frustrating.... my company needs to be able to track the banners from clients that send them in. I have no idea how to do so....I have the client provide a SWF, FLASH, HTML file... how would I make the banners trackable ???? We have our own tracking system set up.

      Step by Step would be awesome...