Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2004
    Posts
    38

    How to decode files to memory?



    Hi!

    I have a simple question. I think it can´t be done, but I will ask. I have a lot of SWF files encoded inside the CD using the Base64.

    I want to play one of these files in a Flash object. The way I am using is decoding the files to the HD and play.

    I would like to play the files without without decode them. This is not possible I think. So, I would like to decode the files just into memory and play them point to the file.

    Is it possible. It should work like this: A funcion will receive the file to decode as argument and will decode it into memory and return an object.

    This object points to the file into memory. The Flash plugin will receive will receive the object and play the file.

    Is it possible?

    Thanks!

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    Unless you can create a RAM disk on the user's system, I don't think you'll be able to do that with the crypto plugin, sorry.

    Why are you base64 encoding the files if they're on a CD? Why not just store them as files on the CD in the first place?

    Base64 encoding is normally used to store binary data inside a text file, like in an email or usenet post.

    Note that base64 isn't in any way a secure format; if you're trying to protect the files, you would be better off blowfish encrypting them.
    Last edited by Lorne; 05-25-2005 at 09:21 AM.
    --[[ Indigo Rose Software Developer ]]

Similar Threads

  1. Error message when running a setup
    By me0007 in forum Setup Factory 6.0
    Replies: 15
    Last Post: 10-19-2004, 06:05 AM
  2. method to index/compare user's files for update?
    By intel352 in forum Setup Factory 6.0
    Replies: 0
    Last Post: 01-15-2003, 03:08 PM
  3. INFO: Why Files are Renamed in the DATA Folder
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-24-2002, 03:36 PM
  4. HOWTO: "Hide" Externally Referenced Files
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 03:19 PM
  5. HOWTO: Remove Files that were Installed by a Patch or Alternate Source
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-24-2002, 09:49 AM

Posting Permissions

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