Can Flex write to local file?

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Can Flex write to local file?

    I am totally new to Flex. Just want to know:

    When my users visite my page, I ask them to type in something, and Flex need
    to assemble a file and ask the user to download.

    I know this can be done in server: post back to server and generate a
    temporary link. But what I want is flex directly write to local drive of the
    user without first dump some file in my server and serve the link .

    I know a SIGNED java applet can do that. But can Flex do that? Is there a
    thing called signed Flex?

    Thank you.

    Joe

    joeserel Guest

  2. Similar Questions and Discussions

    1. Flex & AIR cannot write same files in Windows and Mac
      i have a FLEX app that is utilizing AIR. in this app i am trying to read a set of files (anywhere from 1-200+), read the data in those files, and...
    2. Can I use Flex to write a server app?
      I know Flex is mostly used as UI or front end. My scenario is to use Flex as a running server app to receive update from remote device and then...
    3. Problem with local file and local link
      Hi to everybody, I have installed a new version of flash player (9,0,28,0) and when I open a local file like: c:\test\index.html When I click...
    4. Problem with local installation of the flex store sample.
      I've downloaded and installed the flex store sample. I unpacked the zip file into a c:\jrun\servers\cfusion\cfusion-ear\cfusion-war\flexstore...
    5. any way to write to the disk on local network?
      I need to write a file to the disk In my ASP scripts I use this Set fso = CreateObject("Scripting.FileSystemObject") Set ts =...
  3. #2

    Default Re: Can Flex write to local file?

    Short answer: No.

    Both the Flash player and the browser are designed to prevent this.

    Macromedia "Central" supposedly addresses needs like this but I know no more
    about it.

    For now, you are stuck with the server-based solution.
    Tracy

    ntsiii Guest

  4. #3

    Default Re: Can Flex write to local file?

    Thanks, ntsiii. So no signed flash available...

    Another question is : can I implement some scientific calculation in flash? I
    mean , can I write a public method, e.g. calculate(dataId), and call it from
    JavaScript and get the result? The dataId is a id column in my DB. I want flash
    to grab data from my server, and do some calculation and return the value to
    javascript. And Javascript will show this value in the browser.

    joeserel Guest

  5. #4

    Default Re: Can Flex write to local file?

    You might want to check out the following article:

    [url]http://www.macromedia.com/support/documentation/en/flex/1/lsos/lsos3.html[/url]

    You can use a Shared Object to write information directly to the user's hard
    drive. The location and amount (100K) is restricted.

    serrault Guest

  6. #5

    Default Re: Can Flex write to local file?

    Thanks, serrault. I just read the article. Shared Object is like a big cookie
    and the location and file extension (*.sol) are restricted... I need a way to
    let the user same a data object into their file system interactively - just
    like download file. Looks like Flex can not do that. Anyway, glad to know this
    shared object trick...

    joeserel 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