Creative TextFX

Creative TextFX and dynamic text in Flash 8
You need to log in in order to post on the forum | Home

User Details message
Alex Ross
Fri, 13 Apr 2007
Hello,
I am using Creative TextFX and is great ….I like the effects because they resemble the effects from Adobe After Effects. I have two questions and I hope I will receive an answer fast on this.

1. I am using Creative TextFX in one of my projects and I want to apply some effects on a dynamic text ….can this be done and how?

2. Can I use the product with Flash 7?!
  Back
Romeo Copaciu [eXtend]
Fri, 13 Apr 2007
Hello Alex ...

We would like to thank you for purchasing our product.

I will first answer to your second question because the answer to that one is shorter.
We are sorry but you can only use Creative TextFX with flash 8, due to the fact that we are using ActionScript 2.0 in Creative TextFX classes.

Regarding your first question; you will have to use the product together with a little bit of ActionScript. We have more examples of how to use Creative TextFX with dynamic text in the "How To" directory inside the product package.
So depending on what exactly you need to do you can choose the appropriate method. I will give you only a simple example here:

1. Drag the component on the stage and configure everything you need.
2. Set the "Behavior" parameter to "Do Nothing".
3. Give the component an instance name. (for example "MyTextFX")
4. Use the following code to change the text and start the effect:

_root.MyTextFX.text = "Some text here";
_root.MyTextFX.text.startEffect();

I hope this helped, also check the fla files in the "How To" directory i mentioned above.

If you have any other question feel free to reply to this thread or contact us.


Have a good day ... Romeo Copaciu.
  Back
Joseph Ferrari
Wed, 07 Nov 2007
I'm using the demo version and cannot get dynamic text to work--I tried the suggested code.

I'm using Flash CS3
  Back
Catalin Serban [eXtend]
Wed, 07 Nov 2007
Hi Joseph I have sent you via email a new tutorial on how to work with dynamic text

Kind Regards,
Catalin Serban
  Back
Joseph Ferrari
Wed, 07 Nov 2007
Thanks, I got it and will try shortly.
  Back
Joseph Ferrari
Wed, 07 Nov 2007
I got the text effect to work, but I can't seem to dynamically change the text.

Here is the application: I want the text to recycle 3 differnt text messages. On completetion of each effect, change the text and then do the effect again--using onEffectFinished and onReverseFinished.

Any help would be appreciated.

Joseph
  Back
Catalin Serban [eXtend]
Thu, 08 Nov 2007
Hello Joseph,
Have you succeeded in dynamically setting the text from the AS I have gave you (for one text line)?

Please send me the *.FLA file and we can assist you with this.

Kind Regards,
Catalin Serban
  Back
Joseph Ferrari
Thu, 08 Nov 2007
Yes, I'm able to dynamically set the text in AS (your code), here is the code:
initObj = new Object();

initObj._effect = "bounce";
initObj.textParams = new Object();
initObj.effectParams = new Object();
initObj.effectParams.yMove = -100;
initObj.textParams.embed = true;
initObj.textParams.font = "Tekton Pro";
initObj.textParams.size = "20";
initObj.gradColors= new Object();
initObj.gradColors.color=("#c62f38","#5C407A");
initObj.gradColors.alpha=("100","100");
initObj.gradColors.ratio="90";
initObj.spacing = 0;
initObj._duration = 50;
initObj._overlap = 90;
initObj._x = 100;
initObj._y = 100;
this.initObj.text = "Hello You Wonderful World";
_global["bounceEffect"] = xtd.effects.text.bounceEffect;
this.attachMovie("Creative TextFX","te",10,_root.initObj);
te.initEffect();
te.startEffect();

te.onEffectFinished = function(){
this.text = "You have entered"; // set a new text string
te.reverseEffect();
}
te.onReverseFinished = function(){
this.initiObj.text = "Hello World"; // set a new text string
te.startEffect();
}

Thanks, I appreciate any help or enlightenment into this matter.
Joseph
  Back
Catalin Serban [eXtend]
Thu, 08 Nov 2007
Joseph,
Please send at support (at) extendstudio (dot) com the *.FLA file this way we can help you with this development issue.

Kind Regards,
Catalin Serban
  Back
Tommas H. Kristensen
Wed, 16 Apr 2008
I try to put the text in dynamic with this in the keyframe
_root.MyTextFX.text = "Some text here";
_root.MyTextFX.startEffect();

I have set the behavior to do nothing and nothing happends. If I set behaivior to Start it load some of the letters, but not all the text.

I have set the instancename to MyTextFX

Why will i not work?

Regards
Tommas
  Back
Lavinia Iancu [eXtend]
Thu, 17 Apr 2008
Hello Tommas,

I have sent you an email containing three tutorials for using Action Script (regarding font embedding, using dynamic text and a general Action Script tutorial). If the problem persists, please contact us.

Kind regards,
Lavinia Iancu
  Back