output variable to txt file

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default output variable to txt file

    I made a flash program that finds prime numbers.
    These prime numbers are put into a string which gets longer and longer

    vPrimeString = vPrimeString + " " + vNewPrime;

    Anyway, I would like to output this to a TXT file...
    Can someone help? I haven't had any luck finding references to this online,
    but the help files say that it can be done (mind you, not saying *HOW* to do
    it)

    Thanks


    Matt McKay Guest

  2. Similar Questions and Discussions

    1. dynamic variable name and output problem
      Hey all, I having trouble with dynamically naming a variable and then outputting the value. If I hard code the output blick below to #scoreAvg#, it...
    2. cfquery output duplicatig a cfset variable
      I am experiencing a weird duplication of a cfset variable that I am trying to use in a form as a hidden input element. I am dynamically building a...
    3. Help with dynamic output using Form.variable
      Well here is my situation: Survey answers insert into access db. Working fine. Viewing the results: I have a form that you can choose by who...
    4. variable to control image area output...
      Hi, http://www.bondistudios.com/test5.cfm?thispage=1 and http://www.bondistudios.com/test5.cfm?thispage=2 are the reference pages for this...
    5. Can't output a variable to HTML
      I have this code on a page: <p class="appTitle"> <?php echo "$appTitle"; ?> </p> But the resulting HTML is: <p class="appTitle"> </p>
  3. #2

    Default Re: output variable to txt file

    Someone correct me if I'm wrong, but I think you can use SharedObject
    to create a "cookie" on the user's local machine to store this data.
    But if they find the file and delete it, or simply disable Flash's
    player SharedObject capability then it's no good.

    If you are talking about saving it on the server side, I would use
    something like a PHP script to write the file for you.

    Javi

    On Fri, 24 Oct 2003 16:44:54 GMT, "Matt McKay" <someone@microsoft.com>
    wrote:
    >I made a flash program that finds prime numbers.
    >These prime numbers are put into a string which gets longer and longer
    >
    >vPrimeString = vPrimeString + " " + vNewPrime;
    >
    >Anyway, I would like to output this to a TXT file...
    >Can someone help? I haven't had any luck finding references to this online,
    >but the help files say that it can be done (mind you, not saying *HOW* to do
    >it)
    >
    >Thanks
    >
    Javier Cerdas Guest

  4. #3

    Default Re: output variable to txt file

    No, it's not going to be on the web...
    It's just going to be a standalone file on my computer, that I wrote in
    flash, that generates prime numbers.
    All I want is to output the variables to a txt file.

    "Javier Cerdas" <jdc@mdtsoft.com> wrote in message
    news:ignipv8al46h0nj04ddevj9lv78t6cri4l@4ax.com...
    > Someone correct me if I'm wrong, but I think you can use SharedObject
    > to create a "cookie" on the user's local machine to store this data.
    > But if they find the file and delete it, or simply disable Flash's
    > player SharedObject capability then it's no good.
    >
    > If you are talking about saving it on the server side, I would use
    > something like a PHP script to write the file for you.
    >
    > Javi
    >
    > On Fri, 24 Oct 2003 16:44:54 GMT, "Matt McKay" <someone@microsoft.com>
    > wrote:
    >
    > >I made a flash program that finds prime numbers.
    > >These prime numbers are put into a string which gets longer and longer
    > >
    > >vPrimeString = vPrimeString + " " + vNewPrime;
    > >
    > >Anyway, I would like to output this to a TXT file...
    > >Can someone help? I haven't had any luck finding references to this
    online,
    > >but the help files say that it can be done (mind you, not saying *HOW* to
    do
    > >it)
    > >
    > >Thanks
    > >
    >

    Matt McKay Guest

  5. #4

    Default Re: output variable to txt file

    Use a real programming language to calculate prime numbers, or just write
    them down when you get tired of looking at your results.

    If you want the collection so far, and want to contribute your cpu cycles,
    just check the web.

    The last thing anybody wants is files with prime numbers in them on their
    local disk.

    Ciaran

    "Matt McKay" <someone@microsoft.com> wrote in message
    news:QWkmb.164118$bo1.71557@news-server.bigpond.net.au...
    > No, it's not going to be on the web...
    > It's just going to be a standalone file on my computer, that I wrote in
    > flash, that generates prime numbers.
    > All I want is to output the variables to a txt file.
    >
    > "Javier Cerdas" <jdc@mdtsoft.com> wrote in message
    > news:ignipv8al46h0nj04ddevj9lv78t6cri4l@4ax.com...
    > > Someone correct me if I'm wrong, but I think you can use SharedObject
    > > to create a "cookie" on the user's local machine to store this data.
    > > But if they find the file and delete it, or simply disable Flash's
    > > player SharedObject capability then it's no good.
    > >
    > > If you are talking about saving it on the server side, I would use
    > > something like a PHP script to write the file for you.
    > >
    > > Javi
    > >
    > > On Fri, 24 Oct 2003 16:44:54 GMT, "Matt McKay" <someone@microsoft.com>
    > > wrote:
    > >
    > > >I made a flash program that finds prime numbers.
    > > >These prime numbers are put into a string which gets longer and longer
    > > >
    > > >vPrimeString = vPrimeString + " " + vNewPrime;
    > > >
    > > >Anyway, I would like to output this to a TXT file...
    > > >Can someone help? I haven't had any luck finding references to this
    > online,
    > > >but the help files say that it can be done (mind you, not saying *HOW*
    to
    > do
    > > >it)
    > > >
    > > >Thanks
    > > >
    > >
    >
    >

    Ciaran 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