var mc:MovieClip=attachMovie("myMc",mc,1); mc.myVar=1; mc.myInit();
function myInit():Void{ trace('Пыщ! '+this.myVar); }