Holomatix

Log In / Register


Purchase
Using 3D in Flash
Blaze 3D Studio allows you to easily add 3D content into your Flash presentation.

In the Flash authoring tool, Macromedia Flash MX, a 3D scene is represented by a MovieClip and is placed in a layer just like any other Flash layer. The 3D objects in the 3D scene will appear behind Flash content in layers above and in front of Flash content in layers below.

The quickest way to load 3D content in your Flash presentation is to use the loadMovie method of an empty MovieClip. After publishing your 3D project .bla file from Blaze 3D Studio, it will create a 3D .swf file which contains the data for the 3D and some ActionScript which will position the objects correctly. To make your 3D model appear in your Flash presentation, all you need to do is load this 3D .swf file using the loadMovie method. 

Flash MX does not directly support 3D rendering and so the 3D content is not visible when the Flash presentation is played in a Flash player and you will not see the 3D content when previewing your presentation in the Flash authoring tool.

To view the Flash and 3D together, you should use Blaze 3D Studio to publish the Flash .swf file. This is found inside Blaze 3D Studio in the Publish tab. After dragging in or navigating to your Flash .swf file, press the Publish button. Publishing will take a few seconds, then a browser window will launch and Blaze will play the movie with integrated 3D.

Now you can see the 3D, but you can't yet move it around. Any movement of the 3D is controlled by ActionScript. In this way it can be easily modified to suit the requirements of each project. There are example scripts on this site, in Blaze ActionScript Code Samples. The sample entitled Standard navigation is best for most models. Pasting that code (which defines a number of clip events) in the MovieClip which holds the 3D scene and re-publishing will let you navigate around your 3D model.

You now have a 3D model integrated into a Flash presentation. From here you can use Blaze ActionScript Extensions to send the model to predefined positions, control its visibility, play animations, change its appearance and much more.

Please refer to the Tutorials section to see sample projects available as the Blaze 3D Extras via the Blaze 3D Studio application.
 
Next >


© Copyright 2000-2011 Holomatix Ltd. All rights reserved.