A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Loading external text

  1. #1
    Member
    Join Date
    Dec 2000
    Posts
    55

    resolved

    Hi all.

    I created one Dynamic text field and one button,
    when i click on button, in text field need to be load external text file (which iam saved saving by notepad .txt format).

    thanks for help

    regards

    naushad

  2. #2
    FK Supermodel laxmi19885's Avatar
    Join Date
    Jul 2001
    Location
    Mumbai
    Posts
    474
    assume ur textfield name is txtdata. txt file name is text.txt

    -------
    text file start as

    txtdata=your text.
    -------

    and the button action in fla

    Code:
    on (release) {
        loadVariablesNum ("text.txt", 0);
    }

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