|
|
|
#1 |
|
Senior Member
Join Date: Jul 2001
Location: Tinley Park, IL
Posts: 702
|
Playing music - problem
I put this code into my first frame:
mySound = new Sound(); // Create new sound variable mySound.loadSound("come.mp3",true); // Load the sound mySound.start(); // Begin playing the loaded sound mySound.setVolume(50); // Set the volume level at 50 But for some reason, the sound only plays a 2nd or two then loops back making is sound as if the sound is skipping. Any thoughts? (I've checked the file. It works fine. 3 min long)
__________________
My Sites: Gaming Site Nightshade Studios MyKM Tutorials ![]() -------------------------------------------------- What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape |
|
|
|
|
|
#2 |
|
Relaxing
Join Date: Oct 2001
Location: colorado, usa
Posts: 1,712
|
Can you post the fun file. Sounds like the swf is looping. (a guess). Thats why I use movie clips myself. Looping means that the frames are looping and keep repeating the frame were the music starts over and over. A stop(); action on the last frame should help.
__________________
Any programming language is at its best before it is implemented and used. Last edited by tmoore935; 11-22-2006 at 11:27 PM. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2001
Location: Tinley Park, IL
Posts: 702
|
OMG! I didn't even think of that. I forgot that I was just building the site in one frame to get the graphical elements into place. LOL..
__________________
My Sites: Gaming Site Nightshade Studios MyKM Tutorials ![]() -------------------------------------------------- What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape |
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|