Solved

Action Script 2 Font colour change problem...

Posted on 2008-10-12
1
346 Views
Last Modified: 2013-11-11
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
Comment
Question by:robsons995
1 Comment
 

Accepted Solution

by:
robsons995 earned 0 total points
ID: 22699466
Fixed :-)

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

Steve.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now