A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: TXT file formating for LoadVars()

  1. #1
    The Faster Mustache Lives!
    Join Date
    Oct 2000
    Location
    Atlanta GA. USA
    Posts
    272
    Hey how should I have my varables formated for LoadVars(). Like if I have a list like this... What is the easist way to seperate them?
    -------------example--------------
    name=Card Name
    subject=This is a subject
    headline=Check it out
    message=Hi, how are you doing?
    image_name=logo.gif
    -------------example--------------
    Also when I am using loadVars() do I write it like this....
    LoadVars("http://www.myURL/myScript.php?") I hadn't tried it yet and I won't be able too until tomarow, but.... I though I would go ahead and ask

  2. #2
    q1.
    name=Card Name&subject=This is a subject&headline=...

    q2.
    No
    loadVariables("http://...", 0);

  3. #3
    As long as you have the & in front of each variable, you do NOT need to put them on the same line.

  4. #4
    The Faster Mustache Lives!
    Join Date
    Oct 2000
    Location
    Atlanta GA. USA
    Posts
    272
    Cool, thanks very much

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