Hi everyone,
just trying to play a simple MP3 file using actionscript3; the fla, swf and mp3 files are all in the same folder. I've looked at three different textbooks; they all show pretty much the same thing and none of their code examples work?!!

I have moved the mp3 file into my library, named it Tune (this is my class); flash fills in the base class as flash.media.Sound. I go into the IDE by clicking on the first frame of level one and I type in the following:

import flash.media.Sound;
import flash.net.URLRequest;
var snd:Tune = new Tune();
var req:URLRequest = new URLRequest("carpenters_weveonlyjustbegun.mp3");
snd.load(req);
snd.play();
When I test the fla, I get the following error:

Error:#2037:functions called in incorrect sequence or earlier call was unsuccessful

if I right click the mp3 file in the library and bring up the properties panel, and select 'test',..it plays just fine!!

Would greatly appreciate any suggestions.

captsig