Preload music in flash

I am working on a flash webiste and what I found out that my sound are slowing down my flash to run animations. I have added a dog wh is scratching himself and meanwhile sound is playing. It gets stuck for a second or two. I've checked if ther is duplicate frames that might cuse this but no... So I removed sound and it works well.

Problem is that if there is no sound, it seems booring. What I think is if I would just preload all sounds like preloading movie, i would get it working. I know there's way to do that. So can anybody give me some code for it or maybe even integrate it to my preloader:

What you want probably is to preload the complete flash movie, not only the sound. What I found easiest is to use a Flash Preload Component (for Flash MX). You drag-drop this component in your movie and you have a preloader, just like that.

Well one thing you keep in mind that is the streaming muzic files while downloading, dramatically increase the size of flash movie as flash is not actaually the streaming media format and is same as quicktime format. You can find much more help with searching over web with google for flash and multimedia integration. In the book Flash MX Bible they have more than a chapter related to this topic.
Regards,
Fahd Murtaza

Featured Post

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…

HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5.
As we learned in our last micr…

In addition to being a great web-based presentation tool, Prezi also makes it easy to save your presentation as a PDF to share with others as well. Learn how in this tutorial.
Select the share icon from the top menu in your Prezi editor:
Select "D…