Basic Tutorial

 

1. After installing the 3DEnvironment using the Macromedia Extension Manager, open Flash and start a new file.

Press Ctrl+F7 (Win) or Cmnd+F7 (Mac) to open the Component panel and drag a copy of the component onto the stage.

screen shot

 


2. Next you must create a symbol to exist in the 3D environment you're creating. Press Ctrl+F8 (Win) or Cmnd+F8 (Mac) to open the 'Create New Symbol' dialogue box. Enter a name for the symbol, for the purposes of the tutorial name it circle_clip. Ensure that the type is set to 'Movie clip'. Tick the 'Export for Actionscript' checkbox (the 'Export in first frame' check box will be ticked automatically.) Enter an 'Identifier' for the clip, for the purposes of the tutorial give it the instance name circle. Click OK.

screen shot

 


3. On the timeline of the clip you have just created draw a graphic, for the purposes of this tutorial draw a circle.

screen shot

 


4. Return to the main timeline, select the 3DEnvironment component on the stage and press Alt+F7 to open the Component Inspector panel.

screen shot

 


5. Press the Add button to add an object to the 3D environment. The new object panel will appear once you press the Add button.


Enter x, y and z positions for the object in the 3D environment. The x value indicates the desired horizontal position, the y indicates the desired vertical position and the z value indicates the desired depth.

Enter the regName for the object. This value allows you to refer to the object later. Note that the regName should be a unique name.

Finally enter the linkage Identifier of the symbol you created in step 2.

Press OK.

screen shot

 

Now that the object has been added to the object's list, you can edit the object's position, regName and linkage identifier if you wish.


6. The essence of a 3D environment is the position of objects relative to each other. To create a three dimensional effect with your component repeat step 5 several times to create more objects. (For the purpose of the tutorial you can use the same linkage identifier so that you do not need to create multiple symbols.)

screen shot

 


7. In the Component Inspector, press the Control tab. Tick each of the checkboxes to include that type of movement.

 

Select the text field labelled Forward and press the up arrow button on your keyboard.

Select the text field labelled Backward and press the down arrow button on your keyboard.

Select the text field labelled Up and press the Shift key on your keyboard.

Select the text field labelled Down and press the Control key on your keyboard.

Select the text field labelled Left and press the left arrow button on your keyboard.

Select the text field labelled Right and press the right arrow button on your keyboard.

screen shot

When you test your file, pressing and holding these buttons will control the movement of your environment. For more information on the subject please refer to the Using the Control tab section of this userguide.


8. Press Ctrl+S (Win) or Cmnd+S (Mac) to save your file and Ctrl+Enter (Win) or Cmnd+Enter (Mac) to test your file.

 

Press and hold the keys that you entered in step 7 to move your environment.