Announcement

Collapse
No announcement yet.

Scaleform 4/AS3 - 3D Transformations

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Scaleform 4/AS3 - 3D Transformations

    Scaleform 3.x/AS2 used 3Di extensions to do 3D transformations on 2D Flash content. The instructions for using them are found in this video: Using Scaleform 3Di Flash AS2 Extensions

    Scaleform 4, however, makes use of AS3's built-in 3D functionality. This very brief tutorial explains how to use this functionality.

    An object essentially has three 3D transforms that can be applied to it: X rotation, Y rotation, and Z translation. They are achieved in AS3 with the following code:

    Code:
    myMovieClip.rotationX = 45;
    myMovieClip.rotationY = 45;
    myMovieClip.z = 500;
    Just as in Scaleform 3.x, you can adjust the perspective field of view that is applied to a display object. This can be achieved with the following AS3 code:
    Code:
    var persp:PerspectiveProjection = new PerspectiveProjection();
    persp.fieldOfView = 100;
    myMovieClip.transform.perspectiveProjection = persp;

    #2
    Hi Matt. I'm having this issue written in http://forums.epicgames.com/threads/...en-focused-AS3

    I used 3D rotation widget, not codes.

    Comment


      #3
      Hi...

      Is there any tutorial showing how to do a simple 3d menu compatible with realD ?

      Thanks...

      Comment

      Working...
      X