I need help i am desperate !! I can't understand how could i save .txt

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default I need help i am desperate !! I can't understand how could i save .txt

    i want to know how can i save something from a "field" or a variable to hard disk or to floppy.
    if the answer is ( fileIO or filextra) i allready try it but nothing, they confiused me .
    i dont know how to use it , so if you want answer me with an sort example because i am an idiot .
    thanks a lot


    ieraks webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. I still don't understand how to save slices...can you believe?!
      I've got my pictures all sliced up. And I need instructions on how to save it to FTP it to my web directory. I know how to FTP....it's just that I...
    2. Desperate !
      Using demo version of Contribute4 on a Mac10.4.8, .Mac server and demo of Sandvox authoring for website. Everything was working fine, cleaned out...
    3. desperate for help!!!!
      I have created a 3d scene and i want to clone a character into it from another cast member which will then be able to naviagte around, however no...
    4. help me please i'm desperate
      This is a script tha i can drag a sprite and release is somewhere and check if it is correct how can i force it to be unmoveable the next time i'll...
    5. HELP! I'm Desperate...
      Hi, I'm going off to school and won't have computer access for like 9 months... :-\ .. and I need someone with a couple of hours every week to...
  3. #2

    Default Re: I need help i am desperate !! I can't understand how could i save .txt

    The below will write contents from a field named "YourTextFieldName" into a
    text file "yourtextfile.txt" located in the same directory as your DIR.

    fileObj=new(Xtra "fileIO")
    filename=the moviePath & "yourtextfile.txt"
    openFile(fileObj,filename,0)
    writeString(fileObj, member("YourTextFieldName").text)
    closeFile(fileObj) -- Close the file
    fileObj = 0 -- Dispose of the instance

    * Be sure to include the Xtra (FileIO) with your movie.

    Michael Hamstra


    "ieraks" <webforumsuser@macromedia.com> wrote in message
    news:bm3hau$7ql$1@forums.macromedia.com...
    > i want to know how can i save something from a "field" or a variable to
    hard disk or to floppy.
    > if the answer is ( fileIO or filextra) i allready try it but nothing,
    they confiused me .
    > i dont know how to use it , so if you want answer me with an sort example
    because i am an idiot .
    > thanks a lot
    >
    >

    Michael Hamstra Guest

  4. #3

    Default Re: I need help i am desperate !! I can't understand how could i save .txt

    The free propSave xtra ([url]www.pimz.com[/url]) is very easy to use. The vList xtra
    ([url]www.updatestage.com[/url]) does the same and much more. If you need the file to be
    readable in e.g. Notepad then you need to persevere with fileIO. Show us the
    code you're trying. The documentation for fileIO can be found by searching in
    [url]www.macromedia.com/support/director[/url]

    Andrew Morton

    Andrew Morton Guest

  5. #4

    Default Re: I need help i am desperate !! I can't understand how could i save .txt

    thanks a lot for your help
    but tye told this " handler definition expected" at first line
    how can i put he xtra (fileio) into my movie


    ieraks webforumsuser@macromedia.com Guest

  6. #5

    Default Re: I need help i am desperate !! I can't understand how could i save .txt

    MOFIDY-MOVIE-XTRAS

    Click "ADD" - select "FileIo.x32 - "OK"

    Michael Hamstra

    "ieraks" <webforumsuser@macromedia.com> wrote in message
    news:bm3mth$hpd$1@forums.macromedia.com...
    > thanks a lot for your help
    > but tye told this " handler definition expected" at first line
    > how can i put he xtra (fileio) into my movie
    >
    >

    Michael Hamstra Guest

  7. #6

    Default Re: I need help i am desperate !! I can't understand how could i save .txt

    how about 'setPrefs'?
    no need of xtras, simple to read and write.
    eREz

    "ieraks" <webforumsuser@macromedia.com> wrote in message
    news:bm3hau$7ql$1@forums.macromedia.com...
    > i want to know how can i save something from a "field" or a variable to
    hard disk or to floppy.
    > if the answer is ( fileIO or filextra) i allready try it but nothing,
    they confiused me .
    > i dont know how to use it , so if you want answer me with an sort example
    because i am an idiot .
    > thanks a lot
    >
    >

    eRez H. Baram Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139