dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Could it possible to read file data with FileReference into ByteArray?

  1. #1
    Actionscript 3, postproduction georgecalgary's Avatar
    Join Date
    Jun 2005
    Location
    Toronto
    Posts
    229

    Could it possible to read file data with FileReference into ByteArray?

    I have trouble to upload file with FileReference.upload() because of some special requirement from server side. Is it possible to read FileReference data into ByteArray so I could manually upload them? Or it totally impossible because of security sandbox?

    Thanks,
    George

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    What is the serverside trouble? I have been dealing with some.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  3. #3
    Actionscript 3, postproduction georgecalgary's Avatar
    Join Date
    Jun 2005
    Location
    Toronto
    Posts
    229
    Thanks cancerinform. Already fixed it. Actually I uploaded successfully but my colleague save to another folder so we didn't find them.

  4. #4
    Junior Member
    Join Date
    Dec 2000
    Posts
    11
    Hi George,

    Could you please tell me, how you read Filereference data into Flex application before sending it to server?

    Thanks
    Kannan

  5. #5
    Junior Member
    Join Date
    Sep 2008
    Posts
    3

    Unhappy How to read the data from FileReference object

    Hi

    i'm new to Flex developement.

    i would like to upload a file to server.

    i don't know how to do it. i know that it is possible by using FileRefernce object in flex.

    Is there any thing like I/O concepts like FileInputStream or FileReader etc kind of things in Flex.

    How read a data from a FileReference. How to send that file to a server

    One more thing is

    How do i send a file object to a server as a parameter .

    I used upload(new URLRequest("my location");
    it is showing that uploading succesful. But when i go to that location i did n't find the file.

    Please help me in this context.

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