Welcome, Guest
  • Author Topic: Saving to text files Tutorial  (Read 1295 times)

    chiossone

    • Server what's that
    • *
    • Posts: 6
      • View Profile
      • Email
    Saving to text files Tutorial
    « on: 03/10/10, 05:10 »
    Hi to everyone,
    I would like to make a question about "Saving to text files" Tutorial, that I followed early.

    I build the same form (but with more text areas) and the same php file (save.php) that I have edit to fit my flash text area. Everytingh work fine, but one problem is coming up:

    when I launch the falsh form on browser, if I don't fill all the text file, the form not will launch (i.e. I never see the page that display me" submited data was successiful").

    Please, could someone help me to edit the fla code, so if I fill only few text area the form work too?

    Thanks.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Saving to text files Tutorial
    « Reply #1 on: 03/11/10, 11:23 »
    chance is, the reason lyies at the php side.

    If it delivers the right results after normal use (all fields are filled), I cannot imagine the fault beeing at flash side.

    Check, if you check the existance of data, and how you handle it, if the fields are empty.

    I suppose, you are using loadVars for communication?
    happy flashing
    8)
    Ronald

    chiossone

    • Server what's that
    • *
    • Posts: 6
      • View Profile
      • Email
    Re: Saving to text files Tutorial
    « Reply #2 on: 03/11/10, 12:07 »
    Thank you for answer me. Well, I use  Actionscript 2, and all the data put in the flash form, will be stored again in another flash movie. I'ts like a small CMS. Please, can you  help me with the php? Cause I don't know anbout it..Thank you...

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Saving to text files Tutorial
    « Reply #3 on: 03/11/10, 12:49 »
    My suggestion:

    read and work yourself through the loading and saving tutorials.
    Try to understand what you are doing.
    Programming is not realy a copy and paste job.
    It helps you to get the first steps, if you start modifying, you need to understand what happens inside of the samples.

    The samples are well documented. And if you get stuck, post your question here - we help you understand.
    happy flashing
    8)
    Ronald

    chiossone

    • Server what's that
    • *
    • Posts: 6
      • View Profile
      • Email
    Re: Saving to text files Tutorial
    « Reply #4 on: 03/11/10, 13:10 »
    Thank you Ronald, I'll try on php...