Important! All new questions are usually answered within the next business day.

TxEff AS3.0

(views: 8540)

TxEff is a AS3.0 Flash Component especially developed for web designers that need to include text animations within their Flash movies in a fast and reliable manner.



Apply transitions on multiple text from xml file

(2008-03-04 - views: 1145)

Q: Can I read different lines of text from an .xml file and apply text effects on each other, one by one ?
A: Yes, you can. The example file contains a few lines read from the xml file which are displayed in a text field one after the other, with show and hide TxEff transitions.

NOTE: You can change the settings for each of the effects and you can read those settings from the same xml file. But that scenario is not the scope if this demo. It's not so hard to do that either: you only need to setup the xml so it will contain the extra information (you can choose whatever structure you want for it), read the extra information from the xml file and change the TxEff parameters according to that. For more details on how to work with xml files, please consult the Flash CS3 documentation on this subject.
Files: TxEff_MultipleTransitionsFromXML.zip 


User Comments

Duration?
posted by octaneplus on 2008-03-31

How do I control the duration between the different text elements. Say 3 seconds between each text animation.
Change duration
posted by negush on 2008-04-01

To change the time interval between two text effects, you need to change the delay parameter of the Timer() constructor.
Add a delay on start ?
posted by GdabZ on 2008-05-21

How would you add a delay on the start of the animation ? I would like to prevent it to run immediately after loading.

Thanks !
Use the Timer class
posted by negush on 2008-05-22

In AS3, you can use the Timer class to execute different actions at a specific time or after a specific delay. See http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/Timer.html for more details.
Flash CS3 documentation
posted by digitalcomplexion on 2008-07-01

I check in there and less your an expert both with TxEff and AS3 it makes it very difficult to figure out the xml code to have a transition for each line of text. Bummer
Flash CS3 documentation
posted by negush on 2008-07-02

The .xml file for this example is custom made. You can come up with any structure you want and you can implement the slide show logic based on your .xml structure. What you have there is only an example. You can set up your own xml and apply your own slide show logic, if you wish.


Login to post your comment login to post your comment



Back

Knowledge Base Search

Enter keywords bellow:
Advanced Search

Menu

FlashEff Premium Special Offer



Get your FlashEff Premium Now!

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign

Translate this page