4 Replies Latest reply on Dec 29, 2009 2:49 PM by kglad

    Can't get url links to work...


      Hi all,

      I have watched Jen Deehan's official Adobe tutorial and followed it religiously. Every time I try to link my banner it doesn't work.

      I used her exact code that I downloaded from the adobe tutorial site.

      Here is the compiller error:

      Scene=Scene 1, layers=actions, frame=1, line 2   '{' expected  {function buttonClickHandler(event:MouseEvent):void


      here is he code I downloaded from her tutorial.

      inv_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
      {function buttonClickHandler(event:MouseEvent):void
          navigateToURL(new URLRequest("http://ascendwell.com"));
          trace("I'm clicked");


      I have tried about 20 other tutorials & I can't believe none of them are the same.... each person has a totally different way to do it.


      What ever happend to a stupid link button like every other program ever made by Macrom or adobe? Even this forum has the link button. Why do I need 5 lines of code to make a link?


      Please help as this banner is overdue and I'm paying for ads on a local blog that are not being served!




      206-898- 4938