|
-
Sound on button!!
Hello people I don't why my code does not work on I click on it that have no sound I checked my linkage name is all correct and the file is in library too here the code can someone plss correct the code for me thanz alot~~btw is a button I wanted it to click on it and the sound would play..
on(press)
{
mySound = new Sound();
MySound.attachSound("beat1");
}
-
FK'n_dog
You must call Sound.start to start playing the sound.
on(press)
{
mySound = new Sound();
MySound.attachSound("beat1");
MySound.start();
}
-
But it still never work I copy and paste the code u give but when I play the movie I press on it still does not have any sound
-
Genesis of creative reflexes..
Make sure tat ur sound in library is having the id as beat1...just trying to confirm
- Innovative Websites - (Flash/HTML-CSS)
- Flash Intros/Animations
- Interface/Layout Designing/Logo Designing
-
yup it works thank for yr help!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|