Hi,
I’ve noticed many people with similar problems but I can’t find a definate answer.
I have a main_movie.swf which acts as the menu and main window system for my site. main_movie loads other section of the site which are external swf’s. One of my sections is called media (media.swf).
In media I want to play a mp3 track, I’ve declared as a sound abject like this:
// in layer sound objects on main timeline: frame 1
x = new Sound();
accessed using button (in media) like this:
on (press) {
//Play Button
if (playing!=true) {
_root.x.loadSound(“slow.mp3”, true);
playing=true;
}
this works fine when I test the media.swf on its own, but when it is called from main_movie.swf i hear nothing when I press the play button. I also have a menu button in media.swf with an event sound for the ‘over’ state which works perfectly in both cases.
Anybody know what i’m doing wrong here. I like the idea of loading externally as it keeps the file size of the swf small. I’ve read about exporting the library and couldn’t figure that out either but I wouldn’t that make my file’s kinda big anyway?
any help is appreciated
i’m using mx2004 but i’m saving as FlashMX for compatibility
dalyboy