dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Need help linking image to URL

  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    3

    Need help linking image to URL

    Hi--

    I'm using Flash CS3 and ActionScript 3.0. I would like my images (which are currently movie clips) to also be clickable links to another URL page.

    Here is the site: www.hillsidewebdesigns.com/Brewster/poll.html

    Thanks!

  2. #2
    PHP Code:
    this.addEventListener(MouseEvent.CLICKonClick);

    function 
    onClick(e:MouseEvent):void {
        switch(
    e.target.name){
              case 
    "myClickable_mc":
              
    navigateToURL(new URLRequest("http://go.internet.com/?id=474X1088&url=http%3A%2F%2Fwww.hillsidewebdesigns.com%2FBrewster%2Fpoll.html"));
              break;

         }


    Something like that should link the movieclip to your website.

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