Hello,

I have the following code

Code:
			
myColor = new Color (this.snow);
myColor.setRGB(0xff0000);
now that code works create BUT in a text file I have a varible

&scolour=0xff0000

now flash knows the value, because I have tested it with the trace function and it shows "0xff0000".

now what I want is to use that varible "scolour" rather than hard coding it. but the following doesnot work.

Code:
			
myColor = new Color (this.snow);
myColor.setRGB(scolour);
any ideas anyone, im sure its very simple I just cant get it working!

Thanks

Andrew