A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loading external text files?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    7

    loading external text files?

    I'm having a brain fart right now. Can someone remind me how to load external text files into dynamic text boxes? Thanks.

  2. #2
    Registered User Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Try this.
    Attached Files Attached Files

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Location
    Malaysia
    Posts
    8
    code:

    l = new LoadVars();
    l.load("external.txt");
    l.onLoad = function(success) {
    if(success) {
    dynamic_text.text = l.txt;
    }
    }




    in txt file data:
    PHP Code:
    txt="hello" 

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