8 Replies Latest reply on Feb 26, 2010 7:12 PM by wsflynn

    Button lnks don't work?

    wsflynn Level 1

      For some reason I can't get my buttons to link to a URL. The file was created in Flash CS3 and I'm working in CS4.  I'm still a newbee. Seems by the time I finally figure Flash out, it's time to learn it all over again. Getting familiar with AS, but still have along way to go. Anyway when I apply either these scripts to a button the url launches without ceremony or not at all when I preivew it. Probably something brain dead, I'm sure.


      .onRelease = function() {


      linkedBtn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
      function mouseDownHandler(event:MouseEvent):void {
      navigateToURL(new URLRequest("http://www.http://www.linkedin.com/connections?trk=hb_tab_cnts.com));


      Line 2 – The class or interface 'MouseEvent' could not be loaded.
      Line 1 – Statement must appear within on handler