Hi,
i have a little question : how can i make the shadow work?
it does nothing on my screen : (i have imported import away3d.materials.utils.SimpleShadow; and i’ve got no error from flash cs4 ...)
private function initObjects():void{
//album
var bm : BitmapFileMaterial = new BitmapFileMaterial("monSite.jpg");
cPlane = new Plane({material:bm,width:200,height:200,bothsides:true,z:0,ownCanvas:true});
cPlane.rotationX = 90;
//cPlane.blendMode = BlendMode.MULTIPLY;
view.scene.addChild(cPlane);
addEventListener(Event.ENTER_FRAME, mouvementSurPlane);
//album shadow
var simpleshadow:SimpleShadow = new SimpleShadow(cPlane,0xFFFF0000, 4, 100, 100);
simpleshadow.apply(this.scene);
if anyone knows, i would really appreciate !
Thanks a lot.
Paul