Hi mates,

Please forgive me if that particular issue was already treated, but I
couln't find any fix in the group.

Here is my unsolv-able/ed issue :

I used Away 3D 3.3.3 to create 5 planes positionned to make a cube.
These 5 planes are, for now, textured with a video (VideoMaterial).

It's been a long time since I've thought about making one of the plane
becoming interactive. Therefore, i wanted to texture it with an
external swf, for instance one created with Away 3D (for example
rotating the camera around a cube).

The thing is, no matter how I load it, i'm unable to see it on my
scene, and i got some null reference issues and the plane is not
created.

Here is how i proceed :

          [Embed(source="Basics.swf")]
          private var basicsEmbedded:Class;

var topMaterial:MovieMaterial = new MovieMaterial(new basicsEmbedded
(), {interactive:true, smooth:true, precision:5});

and then, of course :
          var topPlane:Plane = new Plane({material:topMaterial, width:
400, height:400, segmentsW:2, segmentsH:2, ownCanvas:true});

I tried to use a Loader with a URLRequest, and the plane is created is
what seems to be a basic material (purple, wireframe).

Am I missing smth obvious ? is the type of swf influencing the
material ?

Thanks in advance for your time and answers.

Peacefully,

Matt

Reply via email to