Hello,
I have the following code
now that code works create BUT in a text file I have a varibleCode:myColor = new Color (this.snow); myColor.setRGB(0xff0000);
&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.
any ideas anyone, im sure its very simple I just cant get it working!Code:myColor = new Color (this.snow); myColor.setRGB(scolour);
Thanks
Andrew![]()




Reply With Quote