WebTechnologiesDiploma: Blogs related to and around this subject.
Not the right place but here's the Flash function:::>------------------//main timelinestop();mySound = new Sound(this);mySound.attachSound("theSoundID");playSwitch = function (){ if(mySound.start()==true){ mySound.stop(); } else if(mySound.start() !== true){ mySound.stop(); }};//buttonon(release) { playSwitch();}-------------------------------
Post a Comment
1 comment:
Not the right place but here's the Flash function:::>
------------------
//main timeline
stop();
mySound = new Sound(this);
mySound.attachSound("theSoundID");
playSwitch = function (){
if(mySound.start()==true){
mySound.stop();
} else if(mySound.start() !== true){
mySound.stop();
}
};
//button
on(release) {
playSwitch();
}
-------------------------------
Post a Comment