Skip navigation
Currently Being Moderated

How to create file and write file (over byte)

Jul 1, 2012 9:28 PM

Hi,

 

I read this tutorial about streaming video-on-deman over p2p network. It load video file through URL, and split file to chunks, save in RAM. If file has big size, it may be crash...

 

I want store data file (load from URL) in hard disk. And my player can play file from harddisk, not RAM.

 

First, I start load video file over URL, I can get size of this file (example 18MB), and create a video file 18MB size. Then, my created file is ingested by bytes load from URL.

 

It similary Torrent.

 

Is this possible ?

 
Replies
  • Currently Being Moderated
    Jul 7, 2012 3:14 AM   in reply to Huy Mai

    to save file in hard disk, u have to use Mprojector like tool,that is swf2exe tool.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 7, 2012 4:33 AM   in reply to Huy Mai

    Sumit, that's not true actally, since player 10 you can use FileReference to save files to the local system. However that wouldn't be enough for this. The FileStream object in AIR can write bytes directly to disk, so I think this should be doable.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points