arcticPigs release V1.0 helpefiles |
![]() |
This events fires as soon as the 3D control is initialised.
You can count on a valid and functioning 3D window after this event has fired. It is strongly recommended that you place all initialisation calls for your 3D scene, including all loading of files within a script block linked to this event.
Syntax: |
onCreate(void) |
Parameters: | none |
Example: | <SCRIPT Language="JScript" for="arctic" event="OnCreate()"> // Create a new script to hold the chor hMain = arctic.world.newScript("main") // Load choreography arctic.doc.loadChor("tubby/tubby.chor") // Add the chor to the script hMain.addChoreography("tubby") // Start the script. hMain.start() </SCRIPT> |
See also:
Last Updated: 06/15/02 |