Gytenis Voronovas  kindly wrote:
>hello list,
>what I do wrong that no one can't help me :(

I don't know, I expect everyone was busy..


>Hello list,
>
>..all the time I working with Mac. now I have PC and have problems:(
>
>My project have animated intro. It's like 4 big bodies come in with big
>speed and stop on the stage.
>The are coming with sounds, like "mars attack".
>
>For synchronization I try several methods an have no result
>
>1.:
>
>on spriteBegin me
>   puppetSound "mars_sound" --or puppetSound 2, member "mars_sound"
>   updateStage
>   repeat while the soundBusy (1) -- if soundBusy (1) go to the frame
>   end repeat
>   puppetSound 0
>end


I wouldn't use a repeat loop like that, it will halt all other things for ever.

on beginSprite me
   puppetSound "mars_sound" --or puppetSound 2, member "mars_sound"
   updateStage

end

on exitFrame me
  if soundBusy (1) then
     go to the frame
   else
    go marker(1) -- or whatever needs to be done as the sound is finished
    puppetSound 0
  end if
end

>I have error: One parameter expected
>             repeat while the soundBusy(1)
>
>--hm???? why, this scrip is from Lingo book!!!

What book? Well don't say, it's too humiliating for the author if the above
code was really in a book.

>2.:
>I try to use one sound ( for samples in one sample) file with Q 4 points.
> hm working OK from HD, but from CD I have no synchronization :(

I have no clue, there are several reasons why this can happen. Are you sure
your control points are received by your director movie?

>3:
>I try to export from director intro.mov file, but have wow ......
>lost original tempo settings, no sound track!!!


EXPorting to QT is only usefull for movies without LINgo. It is a very old
function, and it was never updated. Try to use a screenrecording solution
instead although your mileage may vary.

>Q: where is my problem, in a script or in a method?
>    How can I synchronize sound with animation, which has no problems on CD?

Use Qt for both your animation and sound. Thats the only guaranteed way of
synchronising. OR use FLAsh inside Director, that is also easier to
synchronize.

Good luck.
--
mare

New: The OSControl Xtra
This sprite Xtra draws various controls like push buttons, radio buttons,
bevel buttons, checkboxes, scrollbars, progressbars, sliders and
group-boxes in the OS appearance on both Macintosh and Windows.
More info: http://www.peghole.com/xtras

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to