A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: retreving content of a .txt file and displaying it

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    29

    retreving content of a .txt file and displaying it

    ok heres what im trying to do, i would like my application to get the contents of http://www.radioactivegames.co.uk/va...a/infotest.txt and display it in an editbox.

    my editbox is the variable "infodisplay"

    here's the script:
    infodisplay=loadVariables ("http://www.radioactivegames.co.uk/varflashdata/infotest.txt",GET);

    but it wont work helpppppp!!

    thx
    Andy

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    you must format the text as a variable.

    if you can access the text just add &infodisplay= to the font of your text.

    If you cannot do that use server script to send it that way. I.E. in PHP you could load the file and prepend the &infodisplay= and echo it back.

  3. #3
    Junior Member
    Join Date
    Feb 2005
    Posts
    29
    yep i have access to it thx blanius

  4. #4
    Junior Member
    Join Date
    Feb 2005
    Posts
    29
    hmm its still not working??? http://www.radioactivegames.co.uk/va...ta/movie_6.swf

    source
    http://www.radioactivegames.co.uk/va...ovie%206.movie

    EDIT:
    got it working blanius was right i just forgot to remove something
    Last edited by WiZzkid; 07-26-2005 at 09:02 AM.

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