# TweenMax code not working in Flash CS3

**URL:** <https://forum.kirupa.com/t/tweenmax-code-not-working-in-flash-cs3/263482>\
**Category:** flash\
**Created:** [June 16, 2008, 3:34pm UTC](https://forum.kirupa.com/t/tweenmax-code-not-working-in-flash-cs3/263482 "2008-06-16T15:34:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tizbo1423](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@tizbo1423](https://forum.kirupa.com/u/tizbo1423)\
**Post date:** [June 16, 2008, 3:34pm UTC](https://forum.kirupa.com/t/tweenmax-code-not-working-in-flash-cs3/263482/1 "2008-06-16T15:34:16Z")

</div>

I am trying to use TweenMax (first time, so theres probably something simple that I’m missing). I open up TweenMax, I set my tween, i copy the code, paste it into my flash, change the name of the movie clip, and when i test it, flash comes back with "1172: Definition gs:TweenMax could not be found.

---

<div class="post-metadata">

**Author:** ![snickelfritz](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@snickelfritz](https://forum.kirupa.com/u/snickelfritz)\
**Post date:** [June 16, 2008, 3:38pm UTC](https://forum.kirupa.com/t/tweenmax-code-not-working-in-flash-cs3/263482/2 "2008-06-16T15:38:53Z")

</div>

Um…you should not be opening up TweenMax…

---

<div class="post-metadata">

**Author:** ![tizbo1423](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@tizbo1423](https://forum.kirupa.com/u/tizbo1423)\
**Post date:** [June 16, 2008, 3:40pm UTC](https://forum.kirupa.com/t/tweenmax-code-not-working-in-flash-cs3/263482/3 "2008-06-16T15:40:04Z")

</div>

then… what should i be doing?

---

<div class="post-metadata">

**Author:** ![snickelfritz](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@snickelfritz](https://forum.kirupa.com/u/snickelfritz)\
**Post date:** [June 16, 2008, 3:51pm UTC](https://forum.kirupa.com/t/tweenmax-code-not-working-in-flash-cs3/263482/4 "2008-06-16T15:51:13Z")

</div>

Install the gs.classes from the downloaded zip file:  
ie: ![](http://www.byrographics.com/AS3/directory.png)

Import the class into your project:

```auto
stop();
import gs.TweenMax;
import fl.motion.easing.*;

```

At this point, you can access the TweenMax class in your actionscripts.

---

<div class="post-metadata">

**Author:** ![tizbo1423](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@tizbo1423](https://forum.kirupa.com/u/tizbo1423)\
**Post date:** [June 16, 2008, 4:08pm UTC](https://forum.kirupa.com/t/tweenmax-code-not-working-in-flash-cs3/263482/5 "2008-06-16T16:08:30Z")

</div>

much better, thanks a lot
