hey guys ... now my swf-file is loaded in a movieclip, but my problem
is how to get this applied as texture. My code for this is the
following:
private var mc:MovieClip;
private var laden:Loader;
private var url:URLRequest;
mc = new MovieClip();
addChild(mc);
laden = new Loader();
url = new URLRequest("intro.swf");
laden.contentLoaderInfo.addEventListener(Event.COMPLETE, geladen);
laden.load(url);
var mbildschirm:MovieMaterial = new MovieMaterial(mc);
tv = new Cube ( { material:mweiss, width:100, height:60, depth:6, y:
50, z:100 } );
tv.cubeMaterials.front = mbildschirm;
myScene.addChild(tv);
public function geladen(e:Event):void
{
trace("Externer Film wurde geladen!");
trace(e.target.content);
mc.addChild(laden);
}
the swf file is shown in front of my scene but it is not applied on
the "tv" = (
does anybody know where my problem is? Or did i go the wrong way?
greeeetz manu