on(release) {…} or myButton.onRelease = function() {…} - action script 2 issues
问题 I am having real confusion with some flash banners I'm creating and making the button into a clickable object which opens a web page. I have been using this code for a while below, which works... on(release){ getURL("http://www.the-dude.co.uk", "_blank"); } And I placed this code on actual button within the actions panel However I have been told the code above is very old and that I should use action script like below... buttonInstance.onRelease = function() { getURL("http://www.the-dude.co