Hello.
Is the ".aif" the correct format to introduce sound on a web page to ear it on MAC and PC?
And what is the MHZ correct to web? 22Mhz?
![]()
| SitePoint Sponsor |



Hello.
Is the ".aif" the correct format to introduce sound on a web page to ear it on MAC and PC?
And what is the MHZ correct to web? 22Mhz?
![]()

AIF works primarly on a MAC. For web you have to go WAV. 22 is fine for the Hz. I suggest editing your sound, importing in flash as a 1 x 1 PX document, then exporting and putting that on your web page. Its faster, and you can load in MP3s
Mike Lynch -- President of CMCStudios
Coming soon at mikejlynch.net Photoshop, Illustrator, Final Cut Pro, LiveType, After Effects, Fireworks, Dreamweaver, Building a PC, and Home Networking Tutorials.



Hello.
I did that.
And the problem is .. well the two problems are: the sound doesn't loop and when I clicked on 'play' more than one time it repeats the instance as if it is an event sound.
Bye!!



This is the code to play:
Code:on (release) { s = new Sound(); s.attachSound("sound"); s.start(); }

You have to set it the number of loops that you want. I haven't written that code in a long time. I think there is a tutorial on http://www.werehere.com that shows how its done. Thats where I got it from.
You might also want to read this article: http://archive.devx.com/webdev/artic...hp082201-1.asp
Mike Lynch -- President of CMCStudios
Coming soon at mikejlynch.net Photoshop, Illustrator, Final Cut Pro, LiveType, After Effects, Fireworks, Dreamweaver, Building a PC, and Home Networking Tutorials.
Bookmarks