Solved

Action Script 2 Font colour change problem...

Posted on 2008-10-12
1
344 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

759 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

19 Experts available now in Live!

Get 1:1 Help Now