Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Animations in MS Agent characters
Message
Information générale
Forum:
Microsoft Office
Catégorie:
Autre
Divers
Thread ID:
00378995
Message ID:
00382205
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform