One InstallEventHandler to make mouth animations

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

One InstallEventHandler to make mouth animations

Post by Juan Carlos »

Yes I thinking in this option one InstallEventHandler to know if there is playing a voice sample to make the mouth animation for intros or games, I read that Flash has a insruction for it and I see this in some Flash games.
I tried to use the OnSampleLoop like this:
InstallEventHandler({OnSampleLoop=p_Sound})
and curiosly it works but I read the problems to use this instruction and the instruction isn't perfect with long speeches.
Will be possible a "OnSamplePlaying" inside of InstallEventHandler? To make the mouth animations for example.
Thank you Andreas for your time.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: One InstallEventHandler to make mouth animations

Post by airsoftsoftwair »

Just use an interval function and IsSamplePlaying().
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Re: One InstallEventHandler to make mouth animations

Post by Juan Carlos »

I try to use the interval function and the result isn't so good than using InstallEventHandler({OnSampleLoop=p_Sound}),
the mouth animation with interval is slow but with Install the animation is quickly and perfect, only someting short with long speeches.
Post Reply