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.

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.


More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support