Difference between revisions of "3D Space Example.as"
From Organic Design wiki
(change number of balls) |
|||
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | #include " | + | {{legacy}} |
+ | <as> | ||
+ | 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 ] ); | |
+ | </as> |
Latest revision as of 08:31, 20 October 2007
<as> 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 ] ); </as>