trace(bgColour[0]) returns the correct value, but
trace(Number(bgColour[0])) returns NaN - so how do I make it a real number? The help docs say that a string that starts with 0x will be treated as hexadecimal.

Use parseInt() to convert a string into a number.




- Zeh
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to