Action Script 2 Font colour change problem...

cant get the fontcolour feature to work :( i've tried without the ()'s with 'fontcolour' and with "fontcolour" and with nothing around it either, can anyone bring some light to this please?

the autoplay and randomtrack selectors work so i know the settings.cfg is getting read correctly.

and i know the fonts do change colour as ive put 0xFF00FF where (fontcolour) currently is and the fonts change...

Thanks.
Steve.
Actionscript 2
 
loadVariables("settings.cfg","_root");
format = new TextFormat(); 
format.color = (fontcolour);
 
_________________________________________________________
 
settings.cfg
 
&autoplay=1&randomtrack=0&fontcolour=0xFF00FF

Open in new window

robsons995Asked:
Who is Participating?
 
robsons995Connect With a Mentor Author Commented:
Fixed :-)

I had put the format = new TextFormat(); in the wrong place in my file... Sorry Team My Bad!!! lol

Steve.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.