A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: more than one variable in a txt file?!?!

  1. #1
    hey, can i have more than one variable per text file????
    its getting really annoying having to make a new text file for each variable i want to load.. i'm using a cgi script to send text into a txt file.. which the swf then picks up.. for instance adding available tracks for download..

    but i'm wondering how i get more than one bloody variable into a text file. and how to separate them.. or define where to look in a text file.

    any help much apprciated.


  2. #2
    Registered User Bzdero's Avatar
    Join Date
    Feb 2001
    Location
    Split, Croatia
    Posts
    488
    Just separate your variables with & sign. (example: variableA=6&variableB=7)

  3. #3

    thanks

    cheers man, nice 1.

  4. #4
    If you are loading multiple variables from one external text file your text must be URL encoded so it would be something like this…
    **********************************
    Var1=long%20blah%20blah%20blah%20blah&Var2=My%20ot her%20text.
    **********************************

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