How to Set Perspective Projection of AS3 Interactive Objects without Losing Interactivity

A simple but useful tip concerning native 3D methods of Flash Player 10.
Problem: If you assign a custom instance of PerspectiveProjection to an InteractiveObject,
you lose interactivity. Solution: Create a 2D container for the object and assign
a PespectiveProjection instance to the container.

You Might Also Like...

  • How to Set Perspective Projection of AS3 Interactive Objects without Losing Interactivity

    674 readersA simple but useful tip concerning native 3D methods of Flash Player 10. Problem: If you assign a custom instance of PerspectiveProjection to an InteractiveObject, you lose interactivity. Solution: Create a 2D container for the object and assign a PespectiveProjection instance to the container.

  • 3D News Ticker in Flash CS4

    587 readersIn this effect, we show how to use our custom AS3 class 'NewsTicker' to create a customizable 3D message ticker. We use the new 3D methods available in AS3 for Flash Player 10. Messages are loaded from an external

  • The focalLength of a Custom PerspectiveProjection in Flash CS4 3D

    1096 readersThe focalLength is not always what you might think it is. You create a PerspectiveProjection object: pp=new PerspectiveProjection(), and set pp's properties. When you assign: obj.transform.perspectiveProjection=pp to a DisplayObject,

  • The focalLength of a Custom PerspectiveProjection in Flash CS4 3D

    427 readersThe focalLength is not always what you might think it is. You create a PerspectiveProjection object: pp=new PerspectiveProjection(), and set pp's properties. When you assign: obj.transform.perspectiveProjection=pp to a DisplayObject, the focalLength changes. Why? How does it change? We explain this in our new tutorial. The value of focalLength is crucial for effective 3D depth-sorting.

  • 3D Cylindrical Photo Gallery in AS3 Flash – Revolves Around You

    616 readersAn awesome cylindrical 3D photo gallery that can be fully customized by editing a simple XML file. Sit in the center of the cylinder and watch the images revolve around you. The application uses native 3D methods of Flash Player 10. One of the technical details reveals a rather counterintuintive behavior of the custom PerspectiveProjection.

  • 3D Cylindrical Photo Gallery in AS3 Flash – Revolves Around You

    1933 readersAn awesome cylindrical 3D photo gallery that can be fully customized by editing a simple XML file. Sit in the center of the cylinder and watch the images revolve around you.

  • How to Set Perspective Projection of Display Objects – Flash CS4 3D Experiments

    570 readersIf you have more than one 3D object in your movie, manipulating the perspectiveProjection property of the root may not produce satisfactory results. In this tutorial we show how to assign instances of the

  • Simple and Sleek Solution to Blurring of 3D Objects in Flash Player 10

    366 readersEveryone who works with 3D methods in FP10 is familiar with the blurring issue: the moment an object becomes a 3D object, it blurrs. We present a simple and elegant solution to this issue by Matteo Sisti Sette.

  • XML-Driven 3D Advertising Billboard – Flash CS4 and AS3 Effect

    431 readersWe use the native 3D methods available in Flash Player 10 as well as several custom ActionScript 3 classes to construct an advertising billboard with a 3D twist. The billboard is fully

  • Eval For ActionScript 3 – Svetka

    443 readersAs you know, ActionScript 3 doesn’t have eval function. How to solve this problem? The solution is to create objects on-the-fly on the JS-side with stub methods calling corresponding methods on the AS-side. It is what the Svetka done. It uses browser’s Javascript. It is an open source project then you can watch the tutorial