Difference between revisions of "3D Space Example.as"
From Organic Design wiki
m |
m |
||
(125 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | #include " | + | {{legacy}} |
+ | <source lang="js"> | ||
+ | Mouse.hide(); | ||
+ | #include "space.as" | ||
// Instantiate a new 3D-space | // Instantiate a new 3D-space | ||
− | createEmptyMovieClip( | + | // - extends createEmptyMovieClip( name, layer ) |
− | + | createSymbol( _root, 'space', 'mySpace', 0 ); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// Test object | // Test object | ||
− | + | mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] ); | |
+ | </source> |
Latest revision as of 13:19, 6 August 2024
Mouse.hide();
#include "space.as"
// Instantiate a new 3D-space
// - extends createEmptyMovieClip( name, layer )
createSymbol( _root, 'space', 'mySpace', 0 );
// Test object
mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );