Ciao, io ho questo script che prende dei movieclip e li posiziona sullo stage.
Vorrei però che ognuno di questi movieclip siano linkabili a siti diversi
var cont:MovieClip = this.createEmptyMovieClip( "container", 0 );
var imagesNumber:Number = 10;
for ( var i:Number = 1; i <= imagesNumber; i++ )
{
var thumb:MovieClip = cont.attachMovie( "thumb"+i, "thumb"+i+"_mc", i );
thumb._x = (i-1) * thumb._width;
thumb.url = "http://www.actionscript.it";
thumb.onRelease = function ()
{
getURL( this.url, "_blank" );
}
}
cont.onEnterFrame = function()
{
this._x += Math.cos((-_root._xmouse/Stage.width)*Math.PI)*10;
if ( this._x < 0 )
{
//this._x = 0;
}
if (this._y > (this._height-Stage.height))
{
this._y = this._height-Stage.height;
}
};
Grazie Mille

Rispondi quotando