|
post date:
2009-07-04 09:17:15
|
|
Hi,rnrni've reading the Help and Tutorial, but i'm missing control over duration time of the in-effect in AS3. It's for a Flash that dynamically loads pictures, so i can't use the Effects control Panel. i must program this in Actionscript 3, and need the parameter description for the in-effect duration...
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2009-07-07 09:31:54
|
Hello,
The duration of the effect can be set inside the string that holds the properties for each effect. In the tutorial those strings are taken from the default presets. You can take those strings and alter the duration value.
For example, in the tutorial from the documentation (http://www.extendstudio.com/documentation/creative-textfx-v2/documentation/tutorials/how-to-configure-creative-textfx-from-as.html), a static class named out_BlindsEffect it’s used to get the default properties for the Blinds effect by calling “out_BlindsEffect.Extend_Default”.
out_BlindsEffect.Extend_Default = ordering=Random;delayBetweenPieces=0.32;blindColor=10092441;gradientPosition=Center;numberOfBlinds=8;animateText=true;duration=50;easingType=Strong.easeInOut;blockType=Line
As you can see in that string there is a parameter called duration. You need to change that parameter. At the moment you can’t change that parameter only and submit it without submitting that whole string. We will create a wrapper class in the near future that will make this easier. Also, the properties string of each effect it’s different. You should trace the default preset and see how it looks before you edit one.
Regards,
Andrei Rinciog
|
|