>Hello All,
>
>Does anybody know how to determine which animations are supported by particular MS Agent characters? Lists of animations are different for different characters, there are animations common for most of them, but for example .Play("Greet") may not be supported by particular character. Is there a way to retrive and check the list of animations at the runtime before issuing a particular Play() function?
>
>TIA
Never mind. Found it.
The character has AnimationNames collection so the loop like
FOR EACH loAni IN thisform.oleAgent.Characters("Merlin").AnimationNames
IF loAni = "Dance"
llAnimatonExists = .t.
ENDIF
ENDFOR
will do the job taking around 0.03 sec
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison