stop();
var total:Number = 12;
var label_list:Array = new Array("PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO", "PINOCHO");
var radiusX:Number = 330;
var radiusY:Number = 90;
var centerX:Number = 400;
var centerY:Number = 140;
var speed:Number = 0.005;
tn_group_mc._visible = false;
info.text = ""; fm_label.text = "";
for (var i = 0; i<total; i++) {
var t = tn_group_mc.duplicateMovieClip("tn"+i, i);
t.tn_mc.gotoAndStop(i+1); t.tn_shadow_mc.gotoAndStop(i+1);
t.fm_label = label_list[i];
t.fm_url = link_list[i];
t.angle = i * ((Math.PI*2)/total);
t.onEnterFrame = mover;
t.fm_button.onRollOver = function() {
fm_label.text = "Title: " + this._parent.fm_label;
info.text = "URL: " + this._parent.fm_url;
};
t.fm_button.onRollOut = function() {
info.text = ""; fm_label.text = "";
};
t.fm_button.onRelease = function() {
gotoAndPlay("Scene 3", 1);
};
}
function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = this._y /(centerY+radiusY);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale)+100);
}
this.onMouseMove = function()
{
speed = (this._xmouse-centerX) * 0.0001;
}