|
User Details |
message
|
|
jlsyzsin
post date:
2009-01-26 05:01:01
|
I need to be able to advance to the end of the effect or kill the effect.
Destructor doesnt work because it removes the image, but I need something similar where it will stop the effect and just show the picture. Is this possible?
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2009-01-26 09:23:03
|
Hello,
I don't know if I understand exactly what you need to do. You have the possibility to disable any of the effects ( in , wait or out ) from the timeline panel.
Please explain better what you are intending to do and I will make a sample file for you.
Best regards,
Andrei Rinciog
|
|
|
jlsyzsin
post date:
2009-01-26 13:44:06
|
Sorry if I wasnt clear, Im not using the timeline or the effects panel at all. Im doing this through actionscript.
Im only using in effects, not wait or end effects. Just have those to none effects.
So say a picture is fading in. And say its about halfway fading in. Usually the images will go through its full effect normally, but sometimes I need to interupt the effect and have the effect finish before its done or kill the effect. In this example I need to be able to stop the fading in and go straight to the end value which is alpha = 1.
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2009-02-03 11:42:04
|
Hello,
First of all sorry for the late reply.
You can jump directly to the end of the effect using the "currentFrame" property of the moviefx instance. You said that you are using the component from code so you have an object of type MovieFXMain. Let's say you've named it "myMFX". To execute the jump to the end you just need to insert :
myMFX.stop();
myMFX.currentFrame = myMFX.duration;
That's all the code needed.
Best regards,
Andrei Rinciog
|
|