Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looping Sound, loops over original loop? 1

Status
Not open for further replies.

danielh68

Technical User
Jul 31, 2001
431
US
Hi,

I'm sure this question has been asked countless times and I even performed a search on "looping sounds" at this forum. Unfortunately, I didn't find anything that answered my question. Anyhow, I will get to the point: I have a music file playing in my movie, but when it loops, it doesn't discard the original track. It just rides on top of it. It sounds really garbled. What accounts for this and how can I fix it?

Thanks in advance,
DanH
 
Do you have more than 1 music file?
If so then stop the first before starting the second.
 
No, I only have one sound. This is what I have done at the moment: I have made a movie clip that holds my sound file, the last frame ends on frame 85. On this frame I created an action that goes to the first frame and plays. In addition, I have the sync set to Start. At present, it loops fine; however, now I have a moment of dead air when I preview through a browser. Strange, when I test the movie clip in Flash it runs seamlessly.

I'm totally open for suggestions. Right now, I either get some dead air with the above technique or, if I loop, it layers the same track on the previous one and keeps layering until it reaches its specified # of loops.

Thanks again,
DanH
 
if using mx then try adding mysound.start() in frame 1 and mysound.stop() in frame 85
idea to make it start fresh in each loop as its clearly not doing this.
 
Great Bill, Thanks! Works perfectly!!! --dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top