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
Who is Participating?
Saqib KhanConnect With a Mentor Senior 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.
zenlion420Connect With a Mentor Commented:
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(

there are alot of options for this, goto:


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

good luck,

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.