aneuryzma
March 5th, 2009, 08:19 AM
Hi I'm trying to use the file of the tutorial Reflect Class:
http://www.adobe.com/devnet/flash/articles/reflect_class_as3.html
but it doesn't work and I spent 2 hours trying a lot of different thigns.
First of all: the constructor parameters are completely insensitive. Nothing is changing when I change them.
Second: I've attached 2 pictures.
The first one is the result of the following line code.
import com.pixelfumes.reflect.*;
var r1 = new Reflect({mc:mClip, alpha:50, ratio:50, distance:0, updateTime:0, reflectionDropoff:0});
The second one is exactly the same code, but I've commented the line in which the gradient is applied.
//mc.getChildByName("reflectionBMP").mask = gradientMask_mc;
Thanks
http://www.adobe.com/devnet/flash/articles/reflect_class_as3.html
but it doesn't work and I spent 2 hours trying a lot of different thigns.
First of all: the constructor parameters are completely insensitive. Nothing is changing when I change them.
Second: I've attached 2 pictures.
The first one is the result of the following line code.
import com.pixelfumes.reflect.*;
var r1 = new Reflect({mc:mClip, alpha:50, ratio:50, distance:0, updateTime:0, reflectionDropoff:0});
The second one is exactly the same code, but I've commented the line in which the gradient is applied.
//mc.getChildByName("reflectionBMP").mask = gradientMask_mc;
Thanks