Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 366
  • Last Modified:

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

0
robsons995
Asked:
robsons995
1 Solution
 
robsons995Author Commented:
Fixed :-)

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

Steve.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now