Adding sounds. Help please.
LightBeam说
很久以前 | 帖子#2Ok I figured it our. URLRequest doesn't work.
PatheticAssassin说
8个月以前 | 帖子#3Glad you figured it out, sorry you had no help from me in the forums
回复主题
现在就注册以回复主题
现在就注册以回复主题
LightBeam说
很久以前 | 帖子#1The way I saw it being done is importing the sound file to the library then right click on it > properties. Check the box where it says Export to actionscript, and give it a class name. Then in the actioscript file I wrote the following code.
sound = new Sound(new URLRequest("nameofthefile.mp3");
sound.play();
This works locally, but when I upload it to nonoba it doesn't play anything. Any ideas? Appreciate your help.