# New member needs help

**URL:** <https://forum.kirupa.com/t/new-member-needs-help/255234>\
**Category:** Uncategorized\
**Created:** [March 20, 2008, 10:33am UTC](https://forum.kirupa.com/t/new-member-needs-help/255234 "2008-03-20T10:33:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmiFlash](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@AmiFlash](https://forum.kirupa.com/u/AmiFlash)\
**Post date:** [March 20, 2008, 10:33am UTC](https://forum.kirupa.com/t/new-member-needs-help/255234/1 "2008-03-20T10:33:16Z")

</div>

Hi everybody, i’m a new member from Italy. This forums it’s great.  
I’m a newby with actionscript3, and i need help.  
So every hint will be appreciated.

I need to change the movieclip in a tween at runtime. How can i do this?  
var MC:MovieClip;

MC = Hello\_MC;

xTween = new Tween(MC,“x”,Strong.easeInOut,x.x1,X,2,tr ue);  
yTween = new Tween(MC,“y”,Strong.easeInOut,y,y1,2,tr ue);

function setnewTween(tweenX:Number,tweenY:Number):void  
{  
trace(MC);  
xTween.begin = MC.x;  
yTween.begin = MC.y;  
xTween.finish = tweenX;  
yTween.finish = tweenY;  
xTween.start();  
yTween.start();  
}

This code doesn’t work. ☹

Thank you in advance.

```
	 	 		 		 		 		 		 		 		 		 		 	 	   	 		[IMG]http://www.flepstudio.org/forum/images/statusicon/user_offline.gif[/IMG] [[IMG]http://www.flepstudio.org/forum/images/vbseo/digg.gif[/IMG][URL="http://del.icio.us/post?url=http%3A%2F%2Fwww.flepstudio.org%2Fforum%2Factionscript-3-0-base%2F1664-cambiare-un-movie-clip-runtime.html%239411&title=Cambiare+un+movie+clip+a+runtime"][IMG]http://www.flepstudio.org/forum/images/vbseo/delicious.gif[/IMG][URL="http://technorati.com/faves/?add=http%3A%2F%2Fwww.flepstudio.org%2Fforum%2Factionscript-3-0-base%2F1664-cambiare-un-movie-clip-runtime.html%239411"][IMG]http://www.flepstudio.org/forum/images/vbseo/technorati.gif[/IMG][URL="http://furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.flepstudio.org%2Fforum%2Factionscript-3-0-base%2F1664-cambiare-un-movie-clip-runtime.html%239411&t=Cambiare+un+movie+clip+a+runtime"][IMG]http://www.flepstudio.org/forum/images/vbseo/furl.gif[/IMG]](http://digg.com/submit?phase=2&url=http%3A%2F%2Fwww.flepstudio.org%2Fforum%2Factionscript-3-0-base%2F1664-cambiare-un-movie-clip-runtime.html%239411&title=Cambiare+un+movie+clip+a+runtime)
	 		 			[[IMG]http://www.flepstudio.org/forum/images/buttons/quote.gif[/IMG]](http://www.flepstudio.org/forum/newreply.php?do=newreply&p=9411)
```
