i’m using the sound object to load a sound into flash.
this is the code.
s = new Sound();
s.loadSound(“likeleopard.mp3”);
s.start(0,1);
the sound file is sitting in the same folder as swf file.it is not in the library.
This works ok when i test it in Flash. but when i test it in Dreamweaver the sound file doesn’t load. Can anyone tell me what i’m doing wrong?
cheers
maria
This is a complete stab in the dark, seeing as I don’t know Dreamweaver at all, but Dreamweaver may create a local version of the flash file, but not the mp3. Does it work if you put the full path in?
My only other wild guess would be that there’s some obscure setting you need to alter.
thanks everyone, the problem is solved. fyi
the problem was that i left out “true” parameter. it should have been like this.
s = new Sound();
s.loadSound(“likeleopard.mp3”, true);
s.start(0,1);
so many thanks. especially the deluionalfx tutorial
maria