Difference between revisions of "3D Space Example.as"
From Organic Design wiki
m |
(bruddy eejit) |
||
Line 4: | Line 4: | ||
// Instantiate a new 3D-space | // Instantiate a new 3D-space | ||
// - extends createEmptyMovieClip( name, layer ) | // - extends createEmptyMovieClip( name, layer ) | ||
− | createSymbol( _root, 'mySpace', 0 ); | + | createSymbol( _root, 'space', 'mySpace', 0 ); |
mySpace._x = _root.width / 2; | mySpace._x = _root.width / 2; | ||
mySpace._y = _root.height / 2; | mySpace._y = _root.height / 2; |
Revision as of 22:40, 28 March 2006
Mouse.hide();
- include "space.as"
// Instantiate a new 3D-space // - extends createEmptyMovieClip( name, layer ) createSymbol( _root, 'space', 'mySpace', 0 ); mySpace._x = _root.width / 2; mySpace._y = _root.height / 2;
// Test object mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );