function act(event:TimerEvent):void {
i=Math.random()*stage.stageWidth;
this['myMc'+i]=new goute ();
this['myMc'+i].z=- nuage.z;
this['myMc'+i].x=Math.random()*nuage.width;
addChild(this['myMc'+i]);
var posX:Number=Math.random()*50;
var posY:Number=Math.random()*250;
myTween=new Tween(this['myMc'+i],"y",Regular.easeInOut,0,posY,0.5,true);
myTween.addEventListener(TweenEvent.MOTION_FINISH, degage)
}
function degage(t:TweenEvent)
{
removeChild (Goute)
Ici je veux que les MC créer dans la fonction act degage à la fin de ma tween.
}
pour L'instant quand je fais trace(Goute.name) dans la function degage il moit que l'"instance 29"