June 13th, 2002, 04:18 AM
txt and html files in flash?
I know that it is possible to let a flash movie display text that is in a .txt file. Could you please explain me how that was done? I know that this question has been asked before but I don't remember the answer anymore.
Is it also possible do display a html page inside a flash movie? Or at least the text that is in the html file?
June 17th, 2002, 10:02 AM
1) yes it is possible to show text from a .txt file in flash...the steps (not precise but the way to do it) to take:
create .txt file which contains:
&var1=your text here
now in your flash movie make and make a new frame. In this frame use load variables and refer to your .txt file (frame 1)
secondly a new frame (frame 2) which checks if the variable end is loaded
something like if(end=end) goto frame 4
a third frame which loops back to frame 1
a fourth frame with a textfield (use AB| ) and call this field var1
That's about it for using external txt files
2) Depending on the version of flash used u can use a little bit of html code in your text in flash, do not expect much of this. the tags you can use won't go further then <b> <i> <p> and that's about it, using the latest flash version MX could perhaps give you some more to work with