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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! Trying to play loop after intro music

Status
Not open for further replies.

soulknite

Technical User
Jan 11, 2002
11
US
Hi, I'm having a hard time in getting a loop to fade in after my intro music is played.

I've used both sound(1) and puppet in the behavior track, they work fine up to a point. I've placed a soundBusy and/or isBusy elsewhere on the score and pretty much said to play "IntroLoop" if there's nothing going on in channel 1.

Neither technique works. Everytime I preview, it plays the intro and then as soon as it gets to the "*Busy" behavior, it shuts off my music completely. I mean, I can't hear music in director at all and have to close the program and reopen it. Now if I test the busy behavior and there's no sound before it, it works fine and the loop begins with the fade in, but if there is any sound played before hand and it checks, the sound goes off. I've given up on fading in until I get this fixed. Any help would be greatly appreciated. Thank you in Advance.

// This is on frame 1
on exitFrame me
puppetsound 1,"Opening External"

end

// This is on Frame 30
on exitFrame me
if soundBusy(1) then go to the frame
else sound(1).play(member("IntroLoop"))
sound(1).fadeIn(3000)

end if
end

(please note that i've swaped sound() for puppetsound and vice versa when one way doesn't work. [there like 4 combinations of this and they've all failed])
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top