hey i’m new to as3.0 just like this guy was (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:
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