Can you convert the SWF into an FLV and use a VideoMaterial instead?

var planeMaterial:VideoMaterial = new VideoMaterial({file:"any.flv"});

On Mar 31, 5:29 am, metSyS <[email protected]> wrote:
> When we need to load some any.jpg, and transform it into
> BitmapMaterial, we write next code:
>
> var picLoader:Loader=new Loader();
> picLoader.load(new URLRequest("any.jpg");
> picLoader.addEventListener(Event.COMPLETE, picLoadedFunc);
>
> public function picLoadedFunc(e:Event):void
> {
>         var planeMaterial:BitmapMaterial = new
> BitmapMaterial(Cast.bitmap(e.target.content), {smooth:true, precision:
> 2});
>
> }
>
> and how to transform loader into MovieMaterial??
>
> var swfLoader:Loader=new Loader();
> swfLoader.load(new URLRequest("any.swf");
> swfLoader.addEventListener(Event.COMPLETE, swfLoadedFunc);
>
> public function picLoadedFunc(e:Event):void
> {
>         //????????????????????????????????????????
>
>
>
> }


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to