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

Sound on Director but not on Projector?!?!?

Status
Not open for further replies.

THKPT

Programmer
Jun 29, 2003
3
PT
Hi,

I have run into this strange problem.
When developing the program while on Director the sounds are playing, but the Projector I created is not playing any sound. What may be wrong?

Here what I'm doing:
on startMovie
the soundLevel = 5
the soundEnabled = true
sound(1).volume = 150
soundWalkRoad = ["FOOT_1", "FOOT_2", "FOOT_3", "FOOT_4"]
soundCurr = 1
(...)
end

on playerNextMovementAnimation
(...)
-- cicle through sounds --
puppetSound 1, soundWalkRoad[soundCurr]
soundCurr = (soundCurr + 1) mod soundWalkRoad.count
if soundCurr = 0 then
soundCurr = soundWalkRoad.count
end if
end

As I said this is working just fine on Director, but in Projector somehow it doesn't play any sound.

Thank you in advance for your help

 
Your code should be fine (although I would move
Code:
puppetSound 1, soundWalkRoad[soundCurr]
to the end of the script) - may be Xtras are missing from the Projector?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top