The sound gets cut , i dont understand y

well i have the preloader component and now i want to put music in the background but when i put the music in the background it gets cut off for some reason i dont know why but i included the source file to see if u guys can help me

heres the example

www.autodaze.com/test.html

how did you add the sound?

Did you use a external movie for the background sound

or did you just put it in the timeline?

i just put it in the timeline

the .fla can be reached at www.autodaze.com/test.fla just click on SAVE or OPEN when u do that

sheeeeeeeesh. 4 megs of an .fla. And not only that. The pictures section on that site is 4 megs as well. maybe you wanna tone it down a little with file size

The reason is because you have your sound on your timeline. When you put it on the timeline, you have to have enough keyframes to let the song completely play. To get around this, put an empty MC somewhere on your first frame.

its actions should be :


onClipEvent (load) {
   testSound = new Sound(this);
   testSound.attachSound("sublime");
   testSound.start(0, 1);
}


and then you need to go into your library panel. Find the sublime song you have in there, and right click it. Choose “linkage”. when that window is open, you need to select “export for actionscript”. You can put a name to it now and name it “sublime”.

Then you can export your movie and everything should work fine!

hey danno got a unrelated question for you ,

How do you put code in a post, “php”

I heard you have to enter it one line at a time, this right or how do you do it?

see the button below “font” that says “php” hit that. I don’t do that I just do this :

{php}

my code here

{/php}

but use brackets instead of those… use “[” & “]” instead of {.

Danno~