SitePal speaking characters embedded in a Web page or within Flash can be enhanced using our Application Programming Interface (API).
SitePal client-side API
The SitePal Player provides an API (Application Programming Interface) that allows a JavaScript or Flash ActionScript programmer to affect different runtime attributes by making function calls from the hosting HTML page or Flash movie. The API enables communication between the host environment and the embedded SitePal Scene.
API Capabilities:
HTML Example: synchronizing with character events:
The SitePal playback environment generates Event callbacks which correspond to different stages of playback. The site in which the host is embedded can use these Event callbacks to trigger other actions.
Link to Example
More HTML Examples
FLASH Example: A complete API implementation in Flash
The SitePal playback environment gives a Flash ActionScript developer access to many of the API functions.
Link to Example
More FLASH Examples
|