Instance of Symbol 4 MovieClip "body" in Frame 1
onClipEvent (load) {
this.activeMic = Microphone.get();
this.attachAudio(this.activeMic);
wind = 0;
wind2 = 0;
_root.head._x = this._x;
_root.head._y = this._y - this._height;
_root.arm1._x = (this._x + (-0.707106781186548 * (this._width / 2))) + 10;
_root.arm1._y = ((this._y - (this._height / 2)) + (-0.707106781186547 * (this._height / 2))) + 10;
_root.arm2._x = (this._x - (-0.707106781186548 * (this._width / 2))) - 10;
_root.arm2._y = ((this._y - (this._height / 2)) + (-0.707106781186547 * (this._height / 2))) + 10;
_root.dress._x = this._x;
_root.dress._y = this._y - this._height;
_root.dress._width = this._width;
_root.dress._height = this._height;
}
onClipEvent (enterFrame) {
wind = ((this.activeMic.activityLevel - 20) / 80) * 5;
if (wind <= 0) {
wind = 0;
}
wind2 = wind2 + (wind - 0.3);
if ((wind2 > 0) && (wind == 0)) {
wind2 = 0;
}
if (wind2 >= 5) {
wind2 = 5;
}
if (wind2 <= -25) {
wind2 = -25;
}
this._yscale = this._yscale + wind2;
if (this._yscale <= 100) {
this._yscale = 100;
}
if (this._yscale >= 400) {
this._yscale = 400;
}
this._xscale = this._yscale;
_root.head._x = this._x;
_root.head._y = this._y - this._height;
_root.arm1._x = (this._x + (-0.707106781186548 * (this._width / 2))) + 10;
_root.arm1._y = ((this._y - (this._height / 2)) + (-0.707106781186547 * (this._height / 2))) + 10;
_root.arm2._x = (this._x - (-0.707106781186548 * (this._width / 2))) - 10;
_root.arm2._y = ((this._y - (this._height / 2)) + (-0.707106781186547 * (this._height / 2))) + 10;
_root.dress._x = this._x;
_root.dress._y = this._y - this._height;
_root.dress._xscale = this._xscale;
_root.dress._yscale = this._yscale;
if (_root.dress._yscale >= 200) {
_root.dress._yscale = 200;
}
}
Instance of Symbol 6 MovieClip "head" in Frame 1
/* no clip actions */