Difference between revisions of "3D Space Example.as"
From Organic Design wiki
m |
m |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{legacy}} | ||
+ | <source lang="js"> | ||
Mouse.hide(); | Mouse.hide(); | ||
− | |||
#include "space.as" | #include "space.as" | ||
// Instantiate a new 3D-space | // Instantiate a new 3D-space | ||
// - extends createEmptyMovieClip( name, layer ) | // - extends createEmptyMovieClip( name, layer ) | ||
− | + | createSymbol( _root, 'space', 'mySpace', 0 ); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// Test object | // Test object | ||
− | mySpace.create( [ | + | 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 ] );