FORUMS: list search recent posts

button link to url

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
blackflame1991
button link to url
on Mar 15, 2006 at 8:10:13 pm

im haveing truble with linking a button to a url so that when you click on the button it will take you to another page. i have flash MX (6), how do i do that?


Return to posts index

thumbslinger
Re: button link to url
on Mar 16, 2006 at 5:05:30 am

onClick(){
getURL("http://www.here.com/page.html");
}



Return to posts index

blackflame1991
Re: button link to url
on Mar 16, 2006 at 6:36:00 pm

is that the code i need to put on the down frame of the button?


Return to posts index


tallassistant
Re: button link to url
on Mar 16, 2006 at 6:57:30 pm

You need to click on your button on your stage (don't double-click, just click once to highlight it). Then press F9 to bring up your actions and put:

on (release) {
getURL("http://www.page.com");
}

The actionscript goes on the button itself, not inside the button.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]