actionscript - AS2 - Assigning variable text and text color -



actionscript - AS2 - Assigning variable text and text color -

i have flash file contains text fields. assign text fields via flashvar alter text color via flashvar.

this changes text color reddish , works fine:

&textcolor=0xff0000

however not alter text color, alter text contents correctly:

&textcolor=0xff0000&title=titlegoeshere

here actionscript: - reason have noticed if flip order below , assign text first, color second, color doesn't work @ all.

// text color title.textcolor = textcolor; // assign flashvars title.text = title;

how can both assign color , contents? bug in flash?

i figured out - situation need specify different title , variable name. can't utilize same one.

actionscript flash flashvars

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -