# Preload music.swf file

**URL:** https://forum.kirupa.com/t/preload-music-swf-file/192190
**Category:** flash
**Created:** [June 26, 2006, 9:52pm UTC](https://forum.kirupa.com/t/preload-music-swf-file/192190 "2006-06-26T21:52:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mmak](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@mmak](https://forum.kirupa.com/u/mmak)
#### Post date: [June 26, 2006, 9:52pm UTC](https://forum.kirupa.com/t/preload-music-swf-file/192190/1 "2006-06-26T21:52:07Z")

</div>

I’ve created a flash movie that consists of 2 SWF files, one for the main Flash movie and the other for music only.

In the main movie, I have:  
Frame 1-3 - simple percentage preloader  
Frame 4 - action: loadMovie(“music.swf”,1); (to trigger the music)  
Frame 5 - starts the movie

The problem is, the movie starts before the music plays. The percentage preloader only preloads the main SWF file but not the music file. Is there a way to preload “music.swf” also so when the movie plays, the music will turn on?

I’m a beginner here so any help would be appreciated! Thank you!
