Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams


Help with Flash MX


  • Please log in to reply
&nsbp;

#1 Feechi

Feechi

    Apprentice Designer

  • Designer
  • 4 posts

Posted 13 September 2005 - 12:16 AM

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

#2 seawise

seawise

    Guru

  • Designer
  • 861 posts

Posted 13 September 2005 - 05:26 AM

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
****RETIRED MODERATOR****

#3 will

will

    Designer / Technomancer

  • Designer
  • 763 posts

Posted 14 September 2005 - 06:32 PM

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.
Will
"There are two ways of spreading light: to be the candle or the mirror that reflects it" (EDITH WHARTON)
-- NEW Portfolio --




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users