Skip to content

BitmapData.encode missing #17141

@GonzalezAtWork

Description

@GonzalezAtWork

Describe the bug

when trying to run this example:
https://www.jacksondunstan.com/articles/2143

I get the error:

Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0xbb8a70 }) to handler FunctionObject(FunctionObject { ptr: 0xb93b40, name: Ok("CompressPerformance/onLoaded()") }) : ReferenceError: Error #1069: Property encode not found on flash.display.BitmapData and there is no default value.

Expected behavior

It should run OK.

Content Location

http://files.jacksondunstan.com/articles/2143/CompressPerformance.swf

Affected platform

Self-hosted version

Operating system

Windows 11

Browser

Chrome

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-avm2Area: AVM2 (ActionScript 3)bugSomething isn't workingunimplementedIssues for functionality that hasn't been implemented yet

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions