djcsdy/swfmill — Issue #12: PlaceObject3 flags not set correctly
Author: djcsdy
Created: 2011-11-09 06:34:14+00:00
State: open

[RP](https://launchpad.net/~darpified) reports as [bug #498010](https://bugs.launchpad.net/swfmill/+bug/498010) on Launchpad:

> The PlaceObject3 tag is not being set correctly.
>
> Only three bits are reserved, in addition there is a new PlaceFlagHasImage bit, and a new PlaceFlagHasClassName bit.
>
> If `hasClassName || (hasImage && hasID)` there should additionally be a nul terminated string immediately
after the `Depth` field.
>
> The attached patch glosses over the second part of the condition and adds support for the classname
>
> [placeobject.diff](https://raw.github.com/gist/e1ec293769baa8fcbccf/70cfebb96a362a60f46bc05360e90a8bf9abf0ef/placeobject.diff)