Skip to content

crash with ADL from the AIR SDK #6

Description

@neolit123

hello, i'm trying to use PNGEncoder2 from AS3.

i have tried both the provided SWC and compiling one with haxe 3.1.3.
using amxmlc from the AIR SDK 16 / 17 to compile the AS3 project.

PNGEncoder2 related usage is in the lines of:

import PNGEncoder2;
...
var png:ByteArray = PNGEncoder2.encode(bmp);

running the compiled app from ADL(.exe) results in a crash in Adobe AIR.dll for AIR SDK 16, and an infinite loop from AIR SDK 17.

the strange part is when i grab the same BitmapData and load it in a simple Test.as project with EMBED, recreate the same folder structure as the problematic project, and don't add anything else, it works fine.

any ideas what might be causing that? compiler issues, perhaps?

EDIT: after some more testing, apparently i have made an error above. it works with AIR SDK 17, but crashes AIR SDK 16.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions