|
Prev: How do I get the IShockwaveFlash COM interface from flash control HWND ("MacromediaFlashPlayerActiveX").
Next: there is not enough memory to open this scene
From: Psycho Mantis on 12 Jun 2005 12:09 Hey, I'm new to flash, and I'm using tutorials to learn it.. I ran into this problem: I'm trying to make a music file play during my flash movie. Now the tutorial on http://www.flashkit.com/tutorials/Audio/Adding_S-Eddie_Ca-19/more5.php site tells me to select a frame, then click Modify -> frame. It isn't there! I'm using flash Professional 2004. What should I do? I can't just insert the music file into the first frame because the music file is about 3:30 minutes, so I'd need about 6000 frames and I don't know how to do that (in an easy way) Hope someone knows what to do.. tnx
From: Psycho Mantis on 12 Jun 2005 12:54 I found out...Finally. The properties window was there all the time; down in the screen. I can't believe I've been struggling with this so long and it's just there :S
From: tralfaz on 12 Jun 2005 16:03
"Psycho Mantis" <webforumsuser(a)macromedia.com> wrote in message news:d8hpci$75$1(a)forums.macromedia.com... >I found out...Finally. > The properties window was there all the time; down in the screen. I > can't believe I've been struggling with this so long and it's just > there :S Suggestion.. If it is a background type sound and not synced to the movie it would be much better to load the mp3 file externally. If you keep it out of the swf file then the swf file can load up right away. Using streaming mode, the sound will start playing after it downloads for 5 seconds. On the other hand, if you import it into your library you will be forced to wait until the whole 3 meg file downloads before the swf starts to play. Loading an external mp3 file is just two lines of code. You can copy and paste the code and then just change the name of the sound file. tralfaz This code would go on frame 1. Do not loop to it! Put the mp3 file in the same directory as the swf file. Change the name "strings.mp3" to the name of your sound file. s = new Sound(this); s.loadSound( "strings.mp3",true); // start streaming mode // if you want the sound to repeat when it ends, then add these lines.. s.onSoundComplete = function () { s.loadSound( "strings.mp3",true); } |