how to give on press and on release simultaneously in actionscript
I have the following code
on(press){
gotoAndPlay(193);
}
on(release) {
getURL("http://www.sumangali开发者_运维知识库jewellers.com");
}
when I press button it have to play and go to the page
a few ways.
Just call both functions in a row.
on(press){ gotoAndPlay(193); getURL("http://www.sumangalijewellers.com"); }
Wire up onRelease to onPress
// this should wire up you onRelease to onPress.
myButton.onRelease = myButton.onPress;
精彩评论