# Basic Tween problem for AS3.0 beginner

**URL:** <https://forum.kirupa.com/t/basic-tween-problem-for-as3-0-beginner/267371>\
**Category:** flash\
**Created:** [July 31, 2008, 11:05am UTC](https://forum.kirupa.com/t/basic-tween-problem-for-as3-0-beginner/267371 "2008-07-31T11:05:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thursday0384](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@thursday0384](https://forum.kirupa.com/u/thursday0384)\
**Post date:** [July 31, 2008, 11:05am UTC](https://forum.kirupa.com/t/basic-tween-problem-for-as3-0-beginner/267371/1 "2008-07-31T11:05:50Z")

</div>

hey i’m new to as3.0 just like this guy was ([http://www.kirupa.com/forum/showthread.php?t=280037&page=1](http://www.kirupa.com/forum/showthread.php?t=280037&page=1)) and i was trying to do the same thing. however, i WAS starting out w/ a movie clip. the original mc was called us\_mc and then i gave it an instance name of pic\_mc

Problem is i keep getting the following error message from flash cs3:

Error Message:  
1120: Access of undefined property pic\_mc.

For Source:

outTween = new Tween(pic\_mc, “alpha”, None.easeNone,1,0,1,true);

and

pic\_mc.addEventListener(MouseEvent.MOUSE\_OVER, fadeOut);

here’s my code:

```auto

import fl.transitions.Tween;
import fl.transitions.easing.*;

import fl.transitions.Tween;
import fl.transitions.easing.*;

var outTween:Tween;

pic_mc.addEventListener(MouseEvent.MOUSE_OVER, fadeOut);

function fadeOut(event:MouseEvent):void
            {
                 outTween = new Tween(pic_mc, "alpha", None.easeNone,1,0,1,true);
            }

```

what am i doing wrong?!?!?! i’m very new to AS3.0, and any help would be greatly appreciated b/c this is really frustrating
