Knowledge Base |
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
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
Change duration
To change the time interval between two text effects, you need to change the delay parameter of the Timer() constructor.
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 ?
How would you add a delay on the start of the animation ? I would like to prevent it to run immediately after loading.
Thanks !
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
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.
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
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
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
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.
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
Other questions in this item:
Using Pattern Transitions Flash player version with AS3 Show and hide the text, using ActionScript Get new patterns "pattern is unavailable" error message Different patterns in & out Text and transition not displaying TXEFFEvents Properties Cannot import effects from site Keep CSS (a:hover) on text after effect Preload TxEff animations Setup TxEff from .xml file Apply filters on TxEff animation Flash player version with AS2 Main TxEff animation loads external TxEff animations Simple show and hide effect on time line TxEff pattern does not snap to text field Setup properties don't display in the Component Inspector Bought the Full TxEff License but only have three patterns in the patterns listMenu |
|
|


How do I control the duration between the different text elements. Say 3 seconds between each text animation.