OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Using Word generated XML with Flash for dynamic text...
This page's ID:
10693
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
The easiest way is to save your text to a .txt file. Then you can tell Flash to load it into a variable and display it into a textfield via ActionScript. 1. Create a new Flash file and the text field which you want to contain your text. 2. Go to Text Options panel and select "Dynamic Text", and because your text is longer than one single line "Multiple Lines". After that you can resíze the text field to its final height. 3. Enter a variable name in the corresponding field (sth. like chapter1) 4. Now the ActionScript part: Double-click the frame you're working on in the time line and the ActionScript Editor will open. The code you need looks like this: loadVariablesNum ("http://www.domain.com/chapter1.txt", 0); Replace the URL between the quotes with your text file's URL. 5. Save the word file as chapter1.txt. But before you do this you have to put an & and the variables' name in front of the text: &chapter1=Whole text of that chapter 6. Export the Flash movie and have a look at it... that's all! kuckus [This message has been edited by kuckus (edited 03-18-2002).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »