Hello Friends,

I am trying to run an .flv through away3d class but its not working. Here is the code I have so far.


package
{
import away3d.materials.VideoMaterial;
import flash.display.Sprite;

public class MyClassExtend extends Sprite
{
public function MyClassExtend()
{

trace("workingok");
var vmat:VideoMaterial = new VideoMaterial( { loop:true, file:"new_york1.flv" });
}
}
}


It is tracing but not playing the flv. Please guide me if I am doing something wrong.