2 Replies Latest reply on Jan 15, 2012 5:19 AM by SourceSkyBoxer

    ByteArray like FC64 Sample Application?

    SourceSkyBoxer Level 1

      Hello dear developers,

       

      Did you know about FC64 Flash Application?

      Check out: http://codeazur.com.br/stuff/fc64_final/

      It is a nice way for Flash Application can call into Binary.

      Is it possible with Linux Kernel? like CoLinux or Ulteo Desktop on Windows Vista and 7 ?

      Colinux: http://www.colinux.org/

      Ulteo Desktop: http://www.ulteo.com/home/

      TopologiLinux: http://www.topologilinux.com/

       

      Question 1: Support with OpenGL, CPU and Sound?

      I am not sure while Adobe Air can work with GPU and CPU with virtual image with example Ubuntu 11.10 - Well i know becasue Ubuntu 11.10 can work under OpenGL inside Flash Player ( HardwareVisdeo Support and Audio ). Are you sure?

       

      Question 2: bootable Image?

      Did you know about gz Files ( like this compressing File and Data http://www.adobe.com/devnet/air/flex/quickstart/articles/compressing_files.html ) but i want know - how do i make bootfile into image and Adobe Air can make bootfile bootable into image ( *.iso )? Is it right or worng?

       

      I have been written code isoFile.as with same function via bootFile.

       

      /**
       *           SnakeMedia Library
       * 
       *           isoFile, Adobe Air 3.1 reads, writes and modifices image ( *.iso ) 
       *           Iso ( Image Standard Object ) = Default Image
       *           -          Boot abled Image
       *           -          Non-boot abled Image
       *           -          Audio Image
       */
      package com.bytehost.snakemedia.utils
      {
                import flash.utils.ByteArray;
      
      
                public class isoFile
                {
                          // Variables
                          private var _bootFile:String;
                          private var _isoData:ByteArray;
                          private var _isoFilename:String;
                          private var _isoHeaderFileName:String;
                          private var _isoFileSystem:String;
                          private var _fileModificationTime:Date;
        
                          public function isoFile(bootFile:String,
                                                                                      isoData:ByteArray,
                                                                                      fileModificationTime:Date,
                                                                                      isoFilename:String="",
                                                                                      isoHeaderFileName:String=null,
                                                                                      isoFileSystem:String=null)
                          {
                                    _bootFile = bootFile;
                                    _isoData = isoData;
                                    _isoFilename = isoFilename;
                                    _isoHeaderFileName = isoHeaderFileName;
                                    _isoFileSystem = isoFileSystem;
                                    _fileModificationTime = fileModificationTime;
                          }
        
                          public function get bootFile():String
                          {
                                    return _bootFile;
                          }
        
                          public function get isoFilename():String
                          {
                                    return _isoFilename;
                          }
        
                          public function get isoHeaderFileName():String
                          {
                                    return _isoHeaderFileName;
                          }
        
                          public function get isoFileSystem():String
                          {
                                    return _isoFileSystem;
                          }
        
                          public function get fileModificationTime():Date
                          {
                                    return _fileModificationTime;
                          }
        
                          public function getIsoData():ByteArray
                          {
                                    var result:ByteArray = new ByteArray();
                                    _isoData.position = 0x00000000;
                                    // If your bootFile is marked on image than it will be bootabled...
                                    _isoData.readBytes(result, 0x00000000, _isoData.length);
                                    return result;
                          }
        
                          public function getBootFile():ByteArray
                          {
                                    var startFile:ByteArray = new ByteArray();
                                    _isoData.readBytes(startFile, _isoData.length, _bootFile.length);
                                    return startFile;
                          }
                }
      }
      

      Do you like this?

       

      If you say me worng than you can answer suggesions or improvement?

       

      Question 3: Can Adobe Air create zero byte block like Virtual-Harddisk Image by VMWare or VirtualBox, Qemu?

      Is it possible? How do i code current like Actionscript 3? Or i need air native extensions?

      1 B, 1024 B = 1 KB, 1024 KB = 1 MB, 1024 MB = 1 GB, 1024 GB = 1 TB and more...

      It will create flat image like flat image was created by qemu-img.

       

      Question 4: Can Adobe Air connect Virtual Network Device?

      If you don't know what is a Virtual-Network like VMWare Network Manager oer VirtualBiox Network Device?

      Do i need Air native Extensions? If izt needs than you can suggest or improve me

      How do i know wheile Adobe Air works sure with current Network IP like Example Host is 192.168.0.131 and virtual: 192.168.151.131?

       

      Question 5: Can Adobe Air read Device like USB, Webcam, Keyboard and more also Players ( Need air native extensions )???

      Is it possible? Can Adobe Air read with DVD / CD while i put Ubuntu Image or Windows 7 DVD Image  from DVD Player into Adobe Air Application and Adobe Air Application can load from image or dvd/cd via air native extension? Are you sure or right?

       

      Question 6: Can i make sure with Air Native Extension ( It will be carefully!!!!!!!! )

      Why do i need be carefully?

      If i code eworng than air native extension can kill or break graphic card drive. It must make sure.. I hope you becasue you understand currently

      A: Can i bind into default display drive? I am using my compurter. It has Graphic Card Drive called AMD/ATI RadeonHD 5770 and Graphic Card has 1 GB V-Ram.

      B: Can i bind device like supportted device for USB1, 2 and 3 and more.. And webcam devices also?

      C: Can Adobe Air find VT / HEPC Boot-Devices? like this Virtualazition Technology and Hepatitles via Air Native Extensions?

       

      I hope you because you make sure. If you want share or improve, suggest?

       

      I am reworking with Adobe Flash Builder 4.6 and Visual C++ Express 2010 on Windows 7 x64.

       

      Regards, Jens E.