|
1. |
Take new file in Flash. Choose Modify
> Movie. |
| 2. |
Set Frame Rate to 60 fps and Dimension of 779
px. X 434 px. |
| 3. |
Make a speaker graphic.
|
| 4. |
Make two buttons. I.e. speaker on and speaker off |
| 5. |
Put
the speaker graphic into these two buttons. |
| 6. |
In the speaker off button put a cross mark on the
new layer. |
| 7. |
In
the scene insert keyframes at second and third frames. |
| 8. |
Put
the speaker on button on the second frame and speaker
off button on the third frame. |
| 9. |
Assign 'stop' action
on the second frame. |
| 10. |
Import any sound in any format supported by flash.(Choose
File > Import )
|
| 11. |
Choose the sound from the library and drag it into
the second as well as into the third frame. |
| 12. |
Select
second frame. Choose Modify
> Frame then click the Sound tab in the
Frame Properties dialog box. |
| 13. |
From the Sound pop-up menu, choose the name of the
sound file. |
| 14. |
Choose
Sync :Start |
| |
|
| 15. |
Enter
a value in Loop to specify the number of times the
sound should loop. ( Choose
Loop : 9999 ) |
| 16. |
Press
OK |
| 17. |
Select third frame and click the Sound tab in the
Frame Properties dialog box. |
| 18. |
Choose
the same sound from the Sound pop-up menu. |
| 19. |
Choose
Sync :Stop |
| |
|
| 20. |
Choose Loop :0 |
| 21. |
Press OK |
| |
The
main scene timeline now looks something like this:
|
| 22. |
For speaker on button give action:
On (Press)
Go to Next Frame
End On |
| |
|
| 23. |
For speaker off button give action:
On (Press)
Go to Previous Frame
End On |
| |
|
| 24. |
Save the file as bgsound.fla
which will get converted into bgsound.swf. |
| 25. |
Choose
Control > Test Movie |