hey, i just downloaded this free carousel, i changed it to fully suit my needs fine, but what i can figure out how to do, is when the carousel is loaded, once you go to another frame, the carousel is still there, i have figured out how to hide it but, when you go back to the original frame, it loads the icons again so there is two of everything, can anbody help me out in unloading it?
any help would be awsome hey,
thanks heaps,
shannon
here is the as, but it would probably help to actually look at the fla, the download like incudes the fla,
stop();
var total:Number = 6;
var label_list:Array = new Array( "1", "2", "3", "4", "5", "6");
var radiusX:Number = 200;
var radiusY:Number = 60;
var centerX:Number = 0;
var centerY:Number = 110;
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*;
t.angle = i * ((Math.PI*2)/total);
t.onEnterFrame = mover;
t.tn_mc.onRollOver = function()
{
fm_label.text =this._parent.fm_label;
}
t.tn_mc.onRollOut = function()
{
info.text = ""; fm_label.text = "";
}
}
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;
}