I am modifying a certain ActionScript / Flash and I want to do something upon mouse click event. I look at the code and I see this:
Code:
LButton.onPress = function() {
startFlip (-1);
}
LButton.onReleaseOutside = function () {
flipRelease();
}
LButton.onRelease = function () {
flipRelease();
}
RButton.onPress = function() {
startFlip (1);
}
RButton.onReleaseOutside = function () {
flipRelease();
}
RButton.onRelease = function () {
flipRelease();
}
How do I modify this? Do I add something like ...
Code:
LButton.onClick = function () {
...
}
Do I need to make a few clicks here and there inside Flash to write a function like this? How do I do this???
(I started using Flash only several days ago by the way. This is why I'm asking a very basic question.)