I am attaching the source files. Its a menu I was working now. Everything is complete except for the background music (“sound.swf”).
What I did was after the menu is loaded in frame 1 of the menu I created and empty movie clip in lvl 1 and tried to load sound.swf in that movie clip. It works fine when I do a control+enter in flash or export the movie clip and then double click menu.swf
But as soon as I put menu.swf in a html file the sound.swf doesnt load in the empty movie clip :(. Can someone please help me out on this?
Are you saying it doesn’t work in HTML meaning when you upload it to the internet? If that’s the case then maybe you need a preloader for that sound.swf because it won’t load right away since it needs time to load. Testing it in flash means you’re doing it locally so there isn’t any loading time.
What I meant was that when I insert menu.swf in an html file and then view the html file locally it wont work.
Try it:
make a new html page and just insert menu.swf in to it. Save it along with the 2 swf files (menu & sound) in the same folder and then run the html. When u will run that html, the menu.swf will load but it fails to load sound.swf in that empty movie clip in level 1.
That’s what I did, I exported it as HTML and SWF and it gave me a HTML file with the flash embeded and it loaded the sound.swf just fine so I don’t know what’s the problem.