#1
  1. No Profile Picture
    Moron
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    Stein, LB, Netherlands
    Posts
    71
    Rep Power
    14

    Question 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?
  2. #2
  3. busy...is there any other way?
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Location
    Amersfoort, Netherlands
    Posts
    259
    Rep Power
    13
    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
    &end=end

    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

    gl

IMN logo majestic logo threadwatch logo seochat tools logo