swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] audio replayed again when presentation ends


From: Pablo Rodríguez
Subject: Re: [Swftools-common] audio replayed again when presentation ends
Date: Sat, 10 Feb 2007 02:32:10 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070111)

Chris Flowers wrote:
> I do not know how swfc generates the audio in the script you posted.
> Maybe Matthias can answer this. But if this is an "event" sound you
> will never get a proper sync to your slide changes. And it will vary
> based on the end user's system specs. The audio is not locked
> to the main timeline in such cases.
> 
> It is usually better to monitor the position of the sound as it plays
> and change the current slide based on the audio's position not the
> host swf itself.

Thanks for your answer, Chris. I just use this because I found it on the
web and I don't know other way to do this.

Could I have an example script that changes slides based on the audio
position?

> Also, I do not see a stop in your main timeline to prevent it
> from looping. Maybe this has something to do with it?

Adding ".stop audio" before the final ".end" makes no difference, and
right after ".play audio nomultiple" plays no audio. Any ideas?

Thanks,


Pablo


>> # Presentation script, generated by RaccoonShow
>> .flash filename="pr-orphanworks-x.swf" fps=10
>> .swf slides "orphanworks-x.swf"
>> .put slides
>> .stop slides
>> .sound audio "orphan.mp3"
>> .play audio nomultiple
>> .frame n+=40 # slide 1 duration: 4.0s time: 4.0
>> .nextframe slides
>> .frame n+=70 # slide 2 duration: 7.0s time: 11.0
>> .nextframe slides
>> .frame n+=25 # slide 3 duration: 2.5s time: 13.5
>> .nextframe slides
>> .frame n+=15 # slide 4 duration: 1.5s time: 15.0
>> .nextframe slides
>> .frame n+=30 # slide 5 duration: 3.0s time: 18.0
>> .nextframe slides
>> .frame n+=30 # slide 6 duration: 3.0s time: 21.0
>> .nextframe slides
>> .frame n+=50 # slide 7 duration: 5.0s time: 26.0
>> .nextframe slides
>> .frame n+=30 # slide 8 duration: 3.0s time: 29.0
>> .nextframe slides
>> .frame n+=100 # slide 9 duration: 10.0s time: 39.0
>> .nextframe slides
>> .frame n+=10 # slide 10 duration: 1.0s time: 40.0
>> .nextframe slides
>> .frame n+=25 # slide 11 duration: 2.5s time: 42.5
>> .nextframe slides
>> .frame n+=15 # slide 12 duration: 1.5s time: 44.0
>> .nextframe slides
>> .frame n+=70 # slide 13 duration: 7.0s time: 51.0
>> .nextframe slides
>> .frame n+=20 # slide 14 duration: 2.0s time: 53.0
>> .nextframe slides
>> .frame n+=10 # slide 15 duration: 1.0s time: 54.0
>> .nextframe slides
>> .frame n+=10 # slide 16 duration: 1.0s time: 55.0
>> .nextframe slides
>> .frame n+=10 # slide 17 duration: 1.0s time: 56.0
>> .nextframe slides
>> .frame n+=50 # slide 18 duration: 5.0s time: 61.0
>> .nextframe slides
>> .frame n+=110 # slide 19 duration: 11.0s time: 72.0
>> .nextframe slides
>> .frame n+=80 # slide 20 duration: 8.0s time: 80.0
>> .nextframe slides
>> .end
>>
>>
>>
>> _______________________________________________
>> Swftools-common mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/swftools-common
> 
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]