Skip to content

applying a style on an IDE textfield #17

@leo-cheron

Description

@leo-cheron

Applying a style on a textfield built in flash IDE does not work if the assigned text is defined as htmlText.

eg:

[...]
var style : IStyle = _styleSheet.getStyle("#myStyle", ".global");
textFielApplicator.applyStyle(myTf, style);
myTf.htmlText = "my text";
[...]

In this case, the text won't be displayed, as if font has not been embed. myTf.text= "my text" definitly works in this same case.

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