PDA

View Full Version : Sounds problems


tano
10-07-2001, 02:29 AM
Hi there

Yeah I know that maybe this is a stupid question for you guys, but I would really appreciatte some help.

Ok, I have the following problem:

I made an animation with actionscript. Works perfectly, and I need 20 fps. So in a cool PC it works fine, but on a slow machine, the animation shows slower (i don't care about that, because I think that is because of the PC) But the loops that I have don't play correctly. I tried with loops, as streaming and as event. The problem is that if it can't draw 20 fps, and maybe reaches 12 fps, when the ¿"line"? (the red thing, may be the name is "read header"?) will play the sounds when it gets to the start of them.

What I need is some script that plays the sound continously without any gap or something. ¿Should I put it as a MC, or what?
thanks

Jesse
10-18-2001, 03:02 AM
Make a new sound object and usse attachSound. Read the AS Dictionary entry on it which is sufficient to learn how to do it. Also note that you can increase perfomance on slower systems by reducing the JPG quality in your publich settings (I use 0. it makes no difference tot he quality unless you're using lots of JPGs, but speeds up play a lot)