Help needed Regarding playing .wav file in flash

hi to everyone,

first of all le me introduce, im a new member to this grp and very new to flash and actionscript.

here comes my requirement.

i have to play some audio files in flash which will be loaded from external location.

for that i wrote a actionscript

coolTune = new Sound (soundLoader);
coolTune.loadSound(FileName,true);

here i will specify my filename value in object tag.

[SIZE=2][COLOR=#0000ff]<[/COLOR][/SIZE][SIZE=2][COLOR=#a31515]object[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]classid[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]width[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“267”[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]height[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“145”>[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]<[/COLOR][/SIZE][SIZE=2][COLOR=#a31515]param[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]name[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“MOVIE”[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]value[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“actions.swf?FileName=Dholna.mp3”/>[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]<[/COLOR][/SIZE][SIZE=2][COLOR=#a31515]param[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]name[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“QUALITY”[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]value[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“HIGH”/>[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]<[/COLOR][/SIZE][SIZE=2][COLOR=#a31515]embed[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]src[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“actions.swf?FileName=Dholna.mp3”[/COLOR][/SIZE]
[SIZE=2][COLOR=#ff0000]quality[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“high”[/COLOR][/SIZE]
[SIZE=2][COLOR=#ff0000]type[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“application/x-shockwave-flash”[/COLOR][/SIZE]
[SIZE=2][COLOR=#ff0000]width[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“267”[/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]height[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“145”>[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]</[/COLOR][/SIZE][SIZE=2][COLOR=#a31515]embed[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]>[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]</[/COLOR][/SIZE][SIZE=2][COLOR=#a31515]object[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]>[/COLOR][/SIZE]

[SIZE=2]so the above code will load the flash file and will play the song depending on my parameter values.[/SIZE]

[SIZE=2]but my real challenge is to play the .wav files.[/SIZE]
[SIZE=2]eg:[/SIZE]
[SIZE=2][COLOR=#a31515]embed[/COLOR][SIZE=2][COLOR=#ff0000]src[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]=“actions.swf?FileName=sample.wav”[/COLOR][/SIZE]

[COLOR=#0000ff]im specifying the .wav file and its not playing any sound.[/COLOR]

[COLOR=#0000ff]i want to know whether flash supports .wav or not?[/COLOR]
[COLOR=#0000ff]whether my approach is correct or not?[/COLOR]
[COLOR=#0000ff]please guide me in this regard.[/COLOR]

[COLOR=#0000ff]Best Regards[/COLOR]
[COLOR=#0000ff]Baji Prasad.B[/COLOR]
[/SIZE]