Creative MovieFX v2 Forum


box Creative MovieFX v2
Creative MovieFX v2 is a Flash effects component that offers the ability to apply effects on any movie clips. From the user friendly interface it?s very easy to browse the over 280 predefined effects gallery and apply them on the three transition types available (In effects, Out effects, and Wait effects) without writing a line of code.

Find out more about Creative MovieFX v2

Thread: CreativeMovieFX V1

title left
User Details
message
title right
Lee

post date:
2010-11-02 11:35:41
Hi

I am having to go back to an old project that was created in AS2. I have bee asked to put together a class file that will trigger of an effect on a MovieClip that is on the stage. Here is my class so far (below). I can trace down to the effect being init, but the effect doesn't fire. I have also traced out '_global' and it is coming back as undefined. Does anyone have any suggestions?

Cheers

import xtd.effects.movieclip.BlurEffect;

class MovieFX1 extends MovieClip {

public function MovieFX1(mv:MovieClip) {
//INT
_global["BlurEffect"] = xtd.effects.movieclip.BlurEffect;
trace('_global: ' + (_global));
var initObj:Object = new Object();
initObj.targetMC = mv;
initObj._effect = "Blur";
initObj.autoStart = "Start";
initObj.effectParams = new Object();
initObj.effectParams.blur=15;
initObj._duration=50;
_root.attachMovie("Creative MovieFX", "me", _root.getNextHighestDepth(), initObj);
_root.me.onEnterFrame = function():Void {
_root.me.initEffect();
delete this.onEnterFrame;
};
_root.me.startEffect()
_root.me.onInitEffect = function():Void {
trace("Effect init");
};

_root.me.onStartEffect = function():Void {
trace("Effect started");
};
}
}
Cristian Dorobantescu [Extend Studio]

post date:
2010-11-03 04:29:20
Hi Lee,

Could you please put the file in a ZIP and send it to support@extendstudio.com ?

Thanks,
Cristian