A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] Making a movie clip into a button or link?

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Posts
    15

    [F8] Making a movie clip into a button or link?

    I have a movie clip that's used to show an email address. The reason I made it a movie clip was so that I could animate via actionscript.

    The problem I'm having is a way to be able to click on that mc to make the regular mailto: feature work. Pretty much I want to make it a link. Any suggestions?

  2. #2
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    Hi
    Put these actions on the clip you want acting as a button:
    code:
    on (release) {
    getURL("mailto:someone@somewhere.com");
    }



    You will need to test in a browser.

  3. #3
    Junior Member
    Join Date
    Feb 2007
    Posts
    15
    Awesome, that works great.

    Thanks a lot.

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