AS2 Flash button url not working -


i have following actionscript code on button

on(release){ geturl("http://www.google.com", "_blank"); } 

when click it, nothing happens, no compiler errors. i'm scratching head here because simple button :/

thanks.

that event handler has not object associated action. give button name, *my_button* , in time line add action code:

    this.my_button.onrelease = function() {       geturl("http://www.google.com", "_blank");         } 

that solve problem :)


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -