This text is replaced by the Flash movie.
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Go Back   Design Contest Forums > DC > Topics Archive

 
 
LinkBack Thread Tools Display Modes
Old 09-12-2005, 07:16 PM   #1 (permalink)
Registered User
 
Join Date: Aug 2005
Location: Alabama
Posts: 4
Feechi is on a distinguished road
Arrow Help with Flash MX

I'm a self learner of flash. Can someone help me to add html links to flash buttons?
Feechi is offline  
Old 09-13-2005, 12:26 AM   #2 (permalink)
Moderator
 
Join Date: Jun 2005
Posts: 911
seawise is on a distinguished road
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****

Last edited by seawise; 09-13-2005 at 01:33 AM.
seawise is offline  
Old 09-14-2005, 01:32 PM   #3 (permalink)
Designer / Technomancer
 
will's Avatar
 
Join Date: Dec 2003
Location: Buenos Aires, Argentina
Posts: 978
will is on a distinguished road
Send a message via ICQ to will Send a message via AIM to will Send a message via MSN to will Send a message via Yahoo to will
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 --
will is offline  
 

  Design Contest Forums > DC > Topics Archive

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Integrated by BBpixel Team 2009 :: jvbPlugin R1013.368.1

All times are GMT -5. The time now is 11:39 PM.