O'Reilly logo

Away3D 3.6 Cookbook by Michael Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Controlling the MovieClip of MovieMaterial

Away3D MovieMaterial is much more powerful than it may seem at first glance. In fact, using it as a texture input only would be a sheer waste of its potential. As MovieMaterial uses a generic MovieClip object to draw a texture, it opens up a wide range of possibilities before us if we access the MovieClip itself. This way we can animate, interact, apply filters, and create additional special effects for your MovieMaterial on its MovieClip level. In the following example, we will learn how to trigger simple animation transition effects on MovieMaterial, which were defined in the resource MovieClip, during runtime.

Getting ready

  1. Set up a basic Away3D scene using our usual AwayTemplate.
  2. Also create a Fla

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required