Author Topic: Alpha tween and UILabel  (Read 3883 times)

Alessaint

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 67
    • View Profile
Alpha tween and UILabel
« on: November 25, 2013, 10:09:09 AM »
If I use Alpha Tween to fade  in UILabel which has its text colored with text [FF0000] tags, the text fades in white containg the color formating tags. Is this a bug or an itended behavior?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Alpha tween and UILabel
« Reply #1 on: November 25, 2013, 07:01:03 PM »
I just did a quick test -- new scene, ALT+SHIFT+L, gave it "New [99ff00]Label[-] huh" text, added a tween alpha to it, set "From" to 0, hit Play... works fine?

Alessaint

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 67
    • View Profile
Re: Alpha tween and UILabel
« Reply #2 on: November 26, 2013, 03:24:09 AM »
Thanks for the quick reply. I looked deeper into that and found out that the cause wasn't actually the alpha tween but there was also the typewriter effect from one of your examples component active on that label - which obviously doesn't take color formating into account (which I can fix quite easily).