A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: dynamic text loading & effects

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    14

    dynamic text loading & effects

    I want to load external txt files into the content in my site, but I want to do kind of a reverse typewriter to load the text in. Like have the last letter in the file appear first, then the 2nd to last, etc, etc and have each letter space over the one that preceded it until all the characters and spaces have been loaded. I've seen a normal typewriter effect on sites before, but I can't find a specific example. I have no idea how to approach this--does anyone have any advice?

    thanks,
    spectrewhite

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    Teres a "normal" typewriter thing, maybe you can take it from there.
    Make a textfield with variable name ...........

    writer

    ............inside a movieclip and put this code ON the movieclip.


    onClipEvent (load) {
    theText = "This is what I have to say today";
    i = 1;
    }
    onClipEvent (enterFrame) {
    writer += theText.charAt(i);
    i++;
    }

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Posts
    14
    that helps somewhat...thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center