• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 161
  • Last Modified:

Flash Buttons

Hi, I'm trying to create some buttons for my web site using FlashMX 04. I created 5 buttons and they are in the Library. I now need to add url's to each button. I drag the first button onto the stage, right-click and edit. I insert keyframes in the UP Over and Down frames. I select the Down frame and click the plus sign in Actions - Global Functions - Browser/Network - getURL but the "getURL" is grayed out. What am I doing wrong?

Thanks

Tim
0
timothyking
Asked:
timothyking
1 Solution
 
thebrainmanCommented:
Hey Tim,

You have created the button and just need to add the code to it.  Do not put the code inside of the button.  Back out of it all the way until you are on the stage..  What you need to do is basically attached the actionscript to the entire button. So... lets pretend you just dragged your new button onto the stage.  After you have it in place, click on it once and then open your actions panel.  There you will want to add the following...

on(press){
     getURL("http://www.someWebSite.com");
}
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now