Hey Andrew, Some built-in objects in Flash require you to pass them a custom object as a parameter, with the color object being one of these. Additionally, the setTransform method of the Color object requires a colorTransformObject as a parameter. So give this a burl.
boxColor= new Color(myBox); boxTransform = new Object(); boxTransform.rb=0; boxTransform.gb=0; boxTransform.bb=255; myBox.setTransform(boxTransform); delete myBox; delete boxTransform; It is a good practice to delete each of the objects when you've finished with them (Sorry its the instructor coming out in me ;) BTW I haven't forgotten about your book request. I simply have to wait till the next round of publisher's UG books to make the request (next month probably). Will let you know when its happened. Hope this helps. Cheers Matt Voerman ______________________________________ Certified Macromedia Instructor Macromedia Certified Developer Schematic http://www.schematic.com.au ______________________________________ --- You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
