ok grazie per la risposta...
allora nel primo fotogramma c'è questo codice:
Codice PHP:
Stage.align = "TL";
Stage.scaleMode = "noScale";
stop();
var T:String = "easeoutexpo";
//load the scene
_root.onEnterFrame = function() {
preloader = this.getBytesLoaded()/this.getBytesTotal()*100;
if (preloader<100) {
bar.glowTo(0x000000, 1, 5, 1, 2, undefined, undefined, 2);
bar.Tooltiploader.txt = Math.round(preloader)+"%";
bar.Tooltiploader.xSlideTo(preloader+11, 1, T);
bar.loader.xScaleTo(preloader, 1, T);
fallow();
//Mouse.hide();
} else {
fallow();
//Mouse.show();
gotoAndStop("home");
}
};
function fallow() {
bar.hitTest == true;
bar._x -= bar.tween("_x", _xmouse+10, 0.6, T);
bar._y -= bar.tween("_y", _ymouse, 0.6, T);
updateAfterEvent;
}
Nel secondo invece c'è questo:
Codice PHP:
#include "mc_tween2.as"
//
var mouse:Object = new Object();
_global.MovieClip.prototype.onMouseMove.mouse = _global.MovieClip.prototype.onEnterFrame=function () {
fallow();
var Mypic:Number = 1;
/*var Mypic 1 for see all Image*/
var S:Number = 5;
var Xpos:Number = Stage.width;
var Ypos:Number = Stage.height;
var pos:Number = 0;
var T:String = "easeoutexpo";
mc_Image.hitTest == true;
mc_Image.alphaTo(100, S, T);
if (_xmouse>=pos && _xmouse<=Xpos && _ymouse>=pos && _ymouse<=Ypos) {
mc_Image.Xpos = mc_Image.tween("_x", (-_xmouse*(mc_Image._width-Xpos)/Xpos)*Mypic, S, T);
mc_Image.Ypos = mc_Image.tween("_y", (-_ymouse*(mc_Image._height-Ypos)/Ypos)*Mypic, S, T);
updateAfterEvent;
}
};
Mouse.addListener(mouse);
//
function Align() {
var Xpos:Number = Stage.width/2;
var Ypos:Number = Stage.height;
var S:Number = 3;
var T:String = "easeoutexpo";
bottom_mc.alphaTo(Xpos, S, T);
bottom_mc.tween("_x", Xpos, S, T);
bottom_mc.tween("_y", Ypos, S, T);
bottom_mc.mc_bot._width = Stage.width;
bottom_mc.mc_bot.move = Xpos;
bottom_mc.mc_left._x = Xpos;
}
var Resize:Object = new Object();
Resize.onResize = function() {
Align();
};
Stage.addListener(Resize);
//
this.onEnterFrame = function() {
bar.loader.xScaleTo(0, 2, T);
bar.Tooltiploader.xScaleTo(0, 2, T);
bar.Tooltiploader.xSlideTo(0, 2, T);
bar.Tooltiploader.alphaTo(0, 2, T);
bar.behind.alphaTo(0, 2, T);
Align();
};
//
//
mc_Image.alphaTo(0, S, T);
stop();
grazie per l'aiuto
TOny