Hola foristas!
Tengo este carousel de imagenes al q cargo con 12 de ellas, al hacerlo las q estan adelante (q son las q me importan) me quedan muy pegadas entre si y las de atras mas separadas.
Hay alguna manera q ustedes conozcan de cambiar esto?
Puedo hacer q las imagenes de adelante se vean mas separadas entre si q las de atras?
Les dejo el codigo y el [URL="http://www.guiasempio.com.ar/luisa/muestras/arousel.swf"]link[/URL] al .swf
gracias desde ya!!
stop();
//total is length of label_list OR link_list
// OR total frames inside "flashmo thumbnails"
var total:Number = 12;
// length of label_list array and length of link_list array must be equal
// to length of frames inside "flashmo thumbnails" movieclip
var label_list:Array = new Array("1511-1512.jpg", "1513-1514.jpg", "1515.jpg", "1516-1517-1518.jpg", "1521.jpg", "1523-1524.jpg", "1525.jpg", "4902.jpg", "4903.jpg", "4904.jpg", "4905.jpg", "4906-4908.jpg");
var link_list:Array = new Array("1511-1512.jpg", "1513-1514.jpg", "1515.jpg", "1516-1517-1518.jpg", "1521.jpg", "1523-1524.jpg", "1525.jpg", "4902.jpg", "4903.jpg", "4904.jpg", "4905.jpg", "4906-4908.jpg");
var radiusX:Number = 400;
var radiusY:Number = 100;
var centerX:Number = 450;
var centerY:Number = 250;
var speed:Number = 0.0001;
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 = "titulo " + this._parent.fm_label;
info.text = "descripcion " + this._parent.fm_url;
}
t.fm_button.onRollOut = function()
{
info.text = ""; fm_label.text = "";
}
t.fm_button.onRelease = function()
{
this._xscale = this._yscale = s*200
//getURL( this._parent.fm_url );
}
}
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;
}