Skip to content

Text fields are not respecting the alpha of the MovieClip that contains it #162

Description

@DelSystem32

Or rather, they do something weird with its parent's alpha. See the following image:

incorrect_alpha

On top we see how it's supposed to look, all dark blue colors are at 50% alpha. On the bottom we see how LWF renders it (ignore the scale change), the square bitmaps are fine but the text field is not.

It appears to have gotten a lower alpha and its color has become brighter.

The left square is a MovieClip on the root, set to "Export as Bitmap". Then there's another MovieClip on the root, NOT set to export as a bitmap. It contains a text field and the right square, which is a sub-MovieClip set to export as bitmap.

The left square MovieClip on the root is set to have 50% alpha. The other MovieClip on the root (containing both the text field and the right square) is also set to have 50% alpha.

Why isn't the text field changing its colors correctly while it works for the right square? They are both children of a MovieClip with 50% alpha.

This could have something to do with what I described in: #148

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions