“FLASHEFF2 ERROR: Target must be a non-null DisplayObject.”
My problem is that the Flash Eff effect cannot be applied to my movieclip instance. It works fine if I add the movieclip to the stage by dragging it from the library but not if I initialize it from Actionscript:
import com.jumpeye.Events.FLASHEFFEvents;
import com.jumpeye.flashEff2.filter.reflection.FEFReflection;
import myImage;
var image1:myImage = new myImage();
addChild(image1);
var effect:FlashEff2Code = new FlashEff2Code();
addChild(effect);
var reflection:FEFReflection = new FEFReflection();
reflection.refresh = false;
reflection.reflectionAlpha = 0.8;
reflection.reflectionRatio = 160;
effect.addFilter(reflection);
effect._targetInstanceName = "image1";
Please Help!