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

Link in MX

How do I add a link to a button in MX?

I'm in the action script... but the getUrl is greyed out. I can put script on the frame itself but i wanna put the script on the button.

Thanks in advance for your help
0
aory
Asked:
aory
2 Solutions
 
Saqib KhanSenior DeveloperCommented:
Convert Your Object into a Button.

Right Click on it and Choose ACTIONS

from upper Left corner Choose
Actions > Browser/Network > getURL

here you can define your PAth.

Good Luck.
0
 
zenlion420Commented:
p.s.- you'll need to put the get url inside of an "on" handler.  you'll need to specify when the geturl action is activated.

IE: on (release) { getUrl(www.experts-exchange.com)

}
 
there are alot of options for this, goto:

actions>objects>movie>button>events

choose a handler there (after you've made your "image" into a button as adilkhan mentioned)

good luck,

j
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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