# Confused by the Transform class

**URL:** <https://forum.kirupa.com/t/confused-by-the-transform-class/234589>\
**Category:** flash\
**Created:** [August 3, 2007, 3:21pm UTC](https://forum.kirupa.com/t/confused-by-the-transform-class/234589 "2007-08-03T15:21:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rezmason](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rezmason/32/30447_2.png) [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Post date:** [August 3, 2007, 3:21pm UTC](https://forum.kirupa.com/t/confused-by-the-transform-class/234589/1 "2007-08-03T15:21:57Z")

</div>

Every DisplayObject instance has a property called [FONT=“courier New”]transform[/FONT], whose properties include a Matrix and a ColorTransform object. These classes are very versatile when you instantiate them yourself, but the Transform class does not allow you to edit its properties’ properties. For instance, you can get [FONT=“Courier New”]mySprite.transform.colorTransform.redMultiplier[/FONT], but you can’t set it, not while it’s a property of a Transform object. The same goes for [FONT=“courier New”]transform[/FONT]'s other properties.

What’s the deal? What’s the motivation behind this limitation? And if I’m motivated to do the same thing with one of my classes, how would I implement this? (I’m guessing that the ColorTransform class has an internal variable that lets it refer to a Transform object, and if it finds one, its setters don’t assign new values to its properties.)
