Design Contest - since 2003 - custom graphic design done affordable

9 AM - 8 PM PST

Results 1 to 3 of 3
  1. #1
    Registered User Feechi is on a distinguished road
    Join Date
    Aug 2005
    City, State
    Alabama
    Posts
    4

    Arrow Help with Flash MX

    I'm a self learner of flash. Can someone help me to add html links to flash buttons?

  2. #2
    Elite Designer seawise is on a distinguished road
    Join Date
    Jun 2005
    Posts
    884
    First make sure that the image you are using for the button has the type "button". If it is not, in the library you can right-click to it, and type>button. Or just convert it at the stage to button (select the image>press F8> check button).

    Then on the main scene, select the button with the black arrow and at the bottom open the Actions panel (make sure that your button is still selected) and add this code:

    on (release) {
    getURL("http://www.domain.com/");
    }

    That's giving links to buttons. If you want to add links to texts, then it is easier. You just select the text, and in the bottom of "properties panel" you will see a link icon. You can just directly write your link to there.

    By the way, I am talking about MX 2004.

    Hope this helps.

    Cheers,
    Seawise
    Last edited by seawise; 09-13-2005 at 01:33 AM.
    ****RETIRED MODERATOR****

  3. #3
    Designer / Technomancer will is on a distinguished road will's Avatar
    Join Date
    Dec 2003
    City, State
    Buenos Aires, Argentina
    Posts
    973
    Don't forget that if you want the image to be displayed in a new browser window you will need to add the "_blank" parameter in the geturl too.

    on (release) {
    getURL("http://www.domain.com/","_blank");
    }

    Or if you are using frames substitute the _blank for the name of the frame you want the link to be opened.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  • Find a contest
  • Participate and win
  • Get cash prize
Designers Join Us