A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Multiple Hyperlink Help

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    1

    Multiple Hyperlink Help

    So I've fairly new to Flash (using CS4). I've been trying to put five different hyperlinks on the same stage, but I can't seem to get them all to function.

    I used the AS3 code:

    function init() {
    button.addEventListener(MouseEvent.CLICK, WebHyperlink);
    }
    init();
    function WebHyperlink(e:MouseEvent)
    {
    var button:URLRequest = new URLRequest("http://...");
    navigateToURL(button, "_self");
    }



    I can only get this function to work with one link on the stage at a time. How would I be able to put more than one hyperlink at a time? Please help! THX
    Last edited by jwall704; 03-21-2010 at 10:54 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center