[Papervision3D] How can I use a SWF as Material in a cube face?
guitarro17
guitarro17 at yahoo.com.br
Thu Oct 1 12:56:25 PDT 2009
Well, I tryed just like this:
ldr = new Loader();
var url:String = "video.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
addChild(ldr);
var material:MovieMaterial = new InteractiveMovieMaterial(ldr, true);
material.interactive = true;
material.doubleSided = true ;
var matList:MaterialList = new MaterialList({front:material,
back:material, right:material, left:material, top:material, bottom:material}
);
var cube:Cube= new Cube(matList,160,1,90,5,5,5);
But it does not work... what is wrong?
guitarro17 wrote:
>
> There is possible to use a external swf as material to the faces of a
> cube? If yes, how can I do this???? I tried with loaders, movieclips, but
> i get nothing :(
>
--
View this message in context: http://www.nabble.com/How-can-I-use-a-SWF-as-Material-in-a-cube-face--tp25690402p25705476.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list