Packagecom.acapela.vaas.advanced.events
Classpublic class MouthPositionEvent
InheritanceMouthPositionEvent Inheritance flash.events.Event

The event dispatched for each mouth properties set associated to the message played.

MouthPositionEvent instances are dispatched by the Player class to listeners registered for SYNCHRO_MOUTH_POSITION event type.

See also

com.acapela.vaas.advanced.synchro.MouthPosition
com.acapela.vaas.advanced.Player


Public Properties
 PropertyDefined by
  jawOpen : Number
[read-only] Shortcut to upper jaw oppening
MouthPositionEvent
  lipTension : Number
[read-only] Shortcut to lip tension.
MouthPositionEvent
  mouthHeight : Number
[read-only] Shortcut to height of the mouth or lips.
MouthPositionEvent
  mouthUpturn : Number
[read-only] Shortcut to which the mouth turns up at the corners (that is, how much it smiles).
MouthPositionEvent
  mouthWidth : Number
[read-only] Shortcut to width of the mouth or lips.
MouthPositionEvent
  position : MouthPosition
[read-only] the complete MouthPosition corresponding to this event
MouthPositionEvent
  teethLowerVisible : Number
[read-only] Shortcut to lower teeth visibility
MouthPositionEvent
  teethUpperVisible : Number
[read-only] Shortcut to upper teeth visibility
MouthPositionEvent
  tonguePosn : Number
[read-only] Shortcut to tongue position.
MouthPositionEvent
Public Constants
 ConstantDefined by
  SYNCHRO_MOUTH_POSITION : String = "synchroMouthPosition"
[static] The MouthPositionEvent.SYNCHRO_MOUTH_POSITION constant defines the value of the type property of an synchroMouthPosition event object.
MouthPositionEvent
Property detail
jawOpenproperty
jawOpen:Number  [read-only]

Shortcut to upper jaw oppening

Implementation
    public function get jawOpen():Number
lipTensionproperty 
lipTension:Number  [read-only]

Shortcut to lip tension.

Implementation
    public function get lipTension():Number
mouthHeightproperty 
mouthHeight:Number  [read-only]

Shortcut to height of the mouth or lips.

Implementation
    public function get mouthHeight():Number
mouthUpturnproperty 
mouthUpturn:Number  [read-only]

Shortcut to which the mouth turns up at the corners (that is, how much it smiles).

Implementation
    public function get mouthUpturn():Number
mouthWidthproperty 
mouthWidth:Number  [read-only]

Shortcut to width of the mouth or lips.

Implementation
    public function get mouthWidth():Number
positionproperty 
position:MouthPosition  [read-only]

the complete MouthPosition corresponding to this event

Implementation
    public function get position():MouthPosition
teethLowerVisibleproperty 
teethLowerVisible:Number  [read-only]

Shortcut to lower teeth visibility

Implementation
    public function get teethLowerVisible():Number
teethUpperVisibleproperty 
teethUpperVisible:Number  [read-only]

Shortcut to upper teeth visibility

Implementation
    public function get teethUpperVisible():Number
tonguePosnproperty 
tonguePosn:Number  [read-only]

Shortcut to tongue position.

Implementation
    public function get tonguePosn():Number
Constant detail
SYNCHRO_MOUTH_POSITIONconstant
public static const SYNCHRO_MOUTH_POSITION:String = "synchroMouthPosition"

The MouthPositionEvent.SYNCHRO_MOUTH_POSITION constant defines the value of the type property of an synchroMouthPosition event object.

The synchroMouthPosition event is suitable to animate the mouth of an avatar for example.

This event has the following properties:

PropertyDescription
mouthHeighta Number representing the height of the mouth or lips.
mouthWidtha Number representing the width of the mouth or lips.
mouthUpturna Number representing the mouth turns up at the corners
(that is, how much it smiles).
jawOpena Number representing the upper jaw oppening.
teethUpperVisiblea Number representing the upper teeth visibility.
teethLowerVisiblea Number representing the upper teeth visibility.
tonguePosna Number representing the tongue position.
lipTensiona Number representing the lip tension.
positionthe the complete MouthPosition instance associated to this event.
bubblesfalse
cancelablefalse
targetThe Player instance or the other object instance that generated it.

See also