Vhost API - Manage Scene Attribute Functions: Attribute Modification functions (Scene embedded in HTML)
setColor(characterPart, hexNumber);
The setColor() function allows the VHost programmer to dynamically change the following color attributes of a Character:
make-up:
eyes
hair
mouth
The syntax of the setColor() function is as follows: setColor(attribute , hexColor)
setColor(
--choose!--
eyes
hair
mouth
skin
make-up
,
);
See the source of this page for the API code