I load a .swf file into a loader.
And then set content of loader as a Sprite.
Assing this sprite as a MovieMaterial.

Finally, attach this MovieMaterial in a Plane.

But I find the dimensions of stage become very big (more than 10000 x
10000).

Here is my source code.

swfLoader=new Loader();
swfRequest=new URLRequest("sample.swf");
swfLoader.load(swfRequest);

swfLoader.contentLoaderInfo.addEventListneer(Event.COMPLETE,
swfLoadedHandler);

function swfLoadedHandler():void{
    swfInstance=swfLoader.content as Sprite
    swfMaterial=new MovieMaterial(swfInstance, {interactive:true,
smooth:true});

    swfPlane=new Plane({material:swfMaterial});
}

Reply via email to