# Animation Package CS3 conversion

**URL:** <https://forum.kirupa.com/t/animation-package-cs3-conversion/256403>\
**Category:** flash\
**Created:** [April 2, 2008, 6:57pm UTC](https://forum.kirupa.com/t/animation-package-cs3-conversion/256403 "2008-04-02T18:57:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Winstonian](https://avatars.discourse-cdn.com/v4/letter/w/9fc29f/32.png) [@Winstonian](https://forum.kirupa.com/u/Winstonian)\
**Post date:** [April 2, 2008, 6:57pm UTC](https://forum.kirupa.com/t/animation-package-cs3-conversion/256403/1 "2008-04-02T18:57:13Z")

</div>

I’m having a little trouble converting this code to AS3.

var mcs:Array = new Array(mc\_1,mc\_2,mc\_3);

```
		var myCT:ColorTransform = new ColorTransform(mcs);
		myCT.setOptimizationMode(true);
		myCT.animationStyle(1);
		var blue:Object = {ra:0,rb:234,ga:0,gb:248,ba:0,bb:251};
		myCT.setEndValues([blue]);
		myCT.run();

```

// “Animation Package” has version 3 in alpha but I’ve already started using their code for a project and don’t want to have to re-do what i’ve created.  
Your help is greatly appreciated.

Stonian.
