Skip to content

TypeError: element has no properties #3

@SillyVyxia

Description

@SillyVyxia

Version: Flash CS6
Platform: Windows
Error:

BTA 1.2.0
The following JavaScript error(s) occurred:

At line 302 of file "BetterTextureAtlas.jsfl":
TypeError: element has no properties

When trying to export multiple symbols, BTA attempts to pack them all in one temporary symbol, which is where the error occurs, but it isn't consistent.
Sometimes it happens on the first frame, Sometimes it happens in the middle, and sometimes it happens at the end.

element.symbolType = "graphic"; // make sure all frames get exported

This is where it occurs, my only guess on why would be that it may need some time to load the element in cs6, for whatever reason.
I get that the CS6 code isnt actively maintained, but this bug makes it unusable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions