mediaman
03-19-2001, 03:10 PM
Okay, I know how to add actions to frame or button, the simple way anyway. You know, pull down the "+" and click on which one you need.. so on and so forth. However many of the tutorial and stuff that I've looked at tells me to add script that is different than anything on the pull down menu. I quess they are expressions? Like this...
mySound = new Sound();
mySound.attachSound("liabrarySound");
I understand the script but how do I attach it to my frame or button? Also..
on (release) {
mySound.start(1,100)
}
I get the on (release)part, but how do I insert the rest?
Can anyone offer me a clue?
mySound = new Sound();
mySound.attachSound("liabrarySound");
I understand the script but how do I attach it to my frame or button? Also..
on (release) {
mySound.start(1,100)
}
I get the on (release)part, but how do I insert the rest?
Can anyone offer me a clue?