-

   eugene20237

 - e-mail

 
(0)

: Windows 7

, 15 2013 . 20:43 +

:  
(0)

, 16 2012 . 06:35 +
Flash Player. 11.1 standalone debugger for win32. Flash Player , . , garbage collector (GC) . .

, GC ... , .. AS3. . : http://help.adobe.com/en_US/as3/mobile/flashplatform_optimizing_content.pdf
. , Flash Player , . .

Juick: http://juick.com/eugene20237@ya.ru/2009006 StackOverflow: http://stackoverflow.com/questions/11833009/as3-bitmapdata-memory-leaks
, , . .

. , . , BitmapData.

  • Loader . , BitmapData bitmapData.clone(), . Loader, loader.unload(). cacheAsBitmap=false.
    PHP:

    var bitmapData:BitmapData = (loader.contentLoaderInfo.content as Bitmap).bitmapData.clone();
    (
    loader.content as Bitmap).cacheAsBitmap false;
    (
    loader.content as Bitmap).bitmapData.dispose();
    (
    loader.content as Bitmap).bitmapData null;
    (
    loader.contentLoaderInfo.content as Bitmap).bitmapData null;
    loader.unload();
    font>


    . , . . ... Loader .

  • C Embed . ( 2 ) . Embed . , Flex-, . Loader. , Embded, Loader.loadBytes(...). .
    PHP:

    [Embed(source="../media/128.png"mimeType="application/octet-stream")]
    static private const 
    EmbedBMP:Class;
    ..............
    loader.loadBytes(new EmbedBMP() as ByteArrayAsset);
    font>



  • - . . ( 100 .) dispose(), , , : . ( 4096x4096), .

  • BitmapData BitmapData, . BitmapData.

  • , BitmapData - . . , , . , .

  • local connection. , LocalConnection try. , , . :
    PHP:

    public static function freeMemoryGC(): void
    {
      
    // the GC will perform a full mark/sweep on the second call.
      
    try
      {
        new 
    LocalConnection().connect('foo');
        new 
    LocalConnection().connect('foo');
        new 
    LocalConnection().connect('foo');
      }
      catch (
    e:*)
      {
      }
      
    //System.gc();
    }
    font>


    ( ). , 100 , . System.gc() AIR Flash Player. GC. .


:  
(3)

FDT

, 29 2011 . 08:58 +
IDE . IDE . , , . !

FDT4, . PyDev , .. . , , RSE . FlashPlayer, - . , Adobe AIR. , . IDE , .

FDT_setup (700x526, 249Kb)

:  
(0)

, 17 2011 . 15:08 +
, , , . .

, "SpriteImage Composer", . , . PNG . , , . , 4 128x128 1 . , .

. , , .. JPEG. JPEG . ? : , . - JPG-, - , JPG-. , . , JPG- , PNG-.

, Adobe AIR. , : http://code.google.com/p/fire-starter/
OpenSource' - , .


:  
(0)

Away3D 4.0 public beta now available!

, 28 2011 . 15:43 +
!!!
Away3D 4.0 public beta now available! (see away3d.com)
! Molehill 3D API.

:
, 27 2011 , Adobe - Molehill 3D API Flash Player 11. , . (), Flex SDK labs.adobe.com AIR and Flash Player Incubator.
 (600x211, 175Kb)

:  
(2)

Away3D Alternativa3D :(

, 09 2011 . 21:08 +
Away3D 3.6 Alternativa3D 7.6. 1 10 . 6-7 (~500 ), Away3D 4-5. : :(

. , . Away3D: http://dl.dropbox.com/u/493679/benchmark/away3d.swf
: http://dl.dropbox.com/u/493679/benchmark/alternativa3d.swf
, , fps .

Away3D Alternativa3D , . . :)
 (698x273, 42Kb)

:  

 : [1]