Jump to content

How to change the Bitmap text color?


instantia
 Share

Recommended Posts

  • 1 year later...
  • 4 weeks later...
On 5/9/2016 at 10:27 AM, Exca said:

You could also change the color of the style. text.style.fill = 0xFF0000; and then update the text text.updateText();

Sorry for the late reply, but it does not work this way. Throws 'fill' of undefined, and updateText is private member - not accessible. The text appears by the way, no problem, but cannot get color. Are you sure that your method works on bitmap text and not on regular one?

Link to comment
Share on other sites

8 minutes ago, Igor Georgiev said:

Sorry for the late reply, but it does not work this way. Throws 'fill' of undefined, and updateText is private member - not accessible. The text appears by the way, no problem, but cannot get color. Are you sure that your method works on bitmap text and not on regular one?

Ah, sorry, I was thinking of normal text. Bitmap text doesnt have style options.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...