Aloha Developers
I am new to CS5/AS3 and am creating a website for a production company which has movieclips looping in the background of the website
I have a button which I am using to change the background mc but
for some reason I keep getting this lame *** rangeerror : Error # 2006 problem and I have no idea why
If anyone is willing to help me out I would greatly appreciate it!
function titlebtnClick(event:MouseEvent):void {
var titlebtnOutro:Tween = new Tween(bgContainer_mc, "alha", Strong.easeOut, 1,0,1, true)
titlebtnOutro.addEventListener(TweenEvent.MOTION_FINISH, runtitlebtnTransition);
function runtitlebtnTransition(event:TweenEvent):void {
bgContainer_mc.removeChildAt(1);
bgContainer_mc.addChild(bg2) };
var titlebtnIntro:Tween = new Tween(bgContainer_mc, "alpha", Strong.easeOut, 0, 1, 1, true);
}
Happy Valentines Day Peeps!!