Difference between revisions of "3D Space Example.as"

From Organic Design wiki
(Instantiate a new 3D space)
(test if its calling it)
Line 3: Line 3:
 
// Instantiate a new 3D-space
 
// Instantiate a new 3D-space
 
createEmptyMovieClip( 's', 0 );
 
createEmptyMovieClip( 's', 0 );
initialiseSpace( s );
+
initialiseSpaces( s );
 
s._x = width/2;
 
s._x = width/2;
 
s._y = height/2;
 
s._y = height/2;

Revision as of 10:40, 19 March 2006

  1. include "Space.as"

// Instantiate a new 3D-space createEmptyMovieClip( 's', 0 ); initialiseSpaces( s ); s._x = width/2; s._y = height/2;

// Create a ball attachMovie( 'ball', 'ball', 1 ); col = new Color( ball ); col.setTransform( { ra:0x40, ga:0x40, ba:0x80 } );