Newbie needs help getting button click > URL
i not programmer, , i'm on head in trying use flash cs4 cause symbol (image based button) open url. likely, basic thing do.
it frustrating have do, seemingly, achieve little. <apologies, frustration eeking out>
any assistance appreciated.
it frustrating have do, seemingly, achieve little. <apologies, frustration eeking out>
any assistance appreciated.
make button movie clip (hit f8) , give mc name, btn. put on stage. in properties panel, give instance on stage name well, btn_mc. on frame (not movie clip itself) put script:
btn_mc.onpress = function(){
geturl(" http://www.yoururl.com", "_blank")
};
or
you attach code button directly
on (press) {
geturl(" http://www.yoururl.com", "_blank");
}
that should it, _blank part cause open in new browser window.
btn_mc.onpress = function(){
geturl(" http://www.yoururl.com", "_blank")
};
or
you attach code button directly
on (press) {
geturl(" http://www.yoururl.com", "_blank");
}
that should it, _blank part cause open in new browser window.
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment