3 Replies Latest reply: Jan 20, 2010 9:52 AM by Talyianna RSS

    How to add link to flash file (using AS 3)?

    Talyianna Community Member

      Hi all,

      I have created a Flash banner ad for our company that is to be hosted on another website. This banner ad needs to have a link added to it, within the Flash file. This link will take users straight to our website but is also for the purpose of tracking.

      How do I go about adding the URL? I have searched through these forums but cannot get it to work.

      I am using Flash CS4 (selected to use AS 3 when I first created the file.)

       

      From what I have read and understood, I should create a new layer, and then add the code to the first frame on that layer?

      Exactly what code should I use? I tried something as simple as 'getURL("http://www.celonova.com","_self"); ' but that is not working. Is it bcos that is for AS 2 only?

      My last question is...can I set up the link so that it works for ALL frames?

       

      Sorry about the dumb questions but I am a complete newbie when it comes to the code side of Flash:(

       

      Thank you VERY much in advance for your help!

       

      Christine