Away3d gold using net stream

Software: Away3D 4.x

parele, Jr. Member
Posted: 21 August 2012 06:33 AM   Total Posts: 43
[/code]var videoTexture = new VideoTexture("test.flv",512,512,true,true);
var 
textureMaterial = new TextureMaterial(videoTexture);
var 
planeGeom = new PlaneGeometry(200,200,1,1,false);
var 
planeMesh = new Mesh(planeGeom,textureMaterial);
planeMesh.= -100;
planeMesh.25;
textureMaterial.smooth true;
textureMaterial.alphaBlending true;
_container.addChild(planeMesh);
videoTexture.player.play();[code] 

The Above will allow me to display my FLV file but i dont how to have a listener for preloading(bufferfull)...ideally i want this method

I have also tried doing the generic NS stream as3 so i can detect its meta-data but cant put this stream onto my video material, throws errors:cant convert at away.3d ::::
I really need some help.
Thanks

 

   

parele, Jr. Member
Posted: 21 August 2012 06:56 AM   Total Posts: 43   [ # 1 ]

Type Coercion failed: cannot convert flash.media::Video@2b576ee1 to away3d.textures.Texture2DBase.

   

Richard Olsson, Administrator
Posted: 22 August 2012 07:10 AM   Total Posts: 1192   [ # 2 ]

Please supply information about where this error is happening, by providing the full call stack.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X