A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: ..:: Dynamic Text ::..

  1. #1

    ..:: Dynamic Text ::..

    Morning fellow flashers (ooooh!!)

    Well, its morning here anyway, so.. I bet your probably bored stiff of replying to this one (I know I'm fed up of forgetting how todo it!)but I want to read from a .txt file into a dynamic text box.

    Its going to be one of those 1 line upward scrolling news boxes that can be changed through a back end interface.

    Thanks in advance!
    Ross / [ICE]*ASH
    ---------
    ^_ASH_^
    =======

  2. #2
    Senior Member sofiebel's Avatar
    Join Date
    Feb 2001
    Posts
    1,044
    into level0:
    Code:
    loadVariablesNum("yourtextfile.txt", 0);
    into a target movieclip:
    Code:
    loadVariablesNum("yourtextfile.txt", "container");
    Make sure the variable you use in the textfile is the variable you set in the dynamic text box.

  3. #3
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    •In textfile...

    news=This blablabla

    •Make a dynamic textfield called news (variable name)


    •Load the textfile......

    loadVariablesNum("myTextFile.txt",0);

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

  4. #4
    Cheers guys... and thanks for the quick replies!!

    ---------
    ^_ASH_^
    =======

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