 |
|
|  |
|
 |
15년 전 |
this.createEmptyMovieClip("mc", this.getNextHighestDepth());
Load = new MovieClipLoader();
Load.onLoadStart = function() {
mc.onEnterFrame = function() {
trace("로딩");
var persen = this.getBytesLoaded()/this.getBytesTotal()*100;
//_root.loadingbar._width = 335*_root.mc.getBytesLoaded()/_root.mc.getBytesTotal();
//_root.State.textColor = 0x000000;
//_root.State.text= "로딩중.."
vars = int(persen)+"%"
//trace(int(persen)+"%");
};
};
Load.loadClip("http://www.kellys-bicycles.com/fileadmin/web/pageflip-katalog/page_content/pages1/15.jpg", this.mc);
Load.onLoadInit = function() {
if (_root.mc._width>300 || _root.mc._height>300) {
if (_root.mc._width>_root.mc._height) {
var bi = _root.mc._height/_root.mc._width;
//비율 세로/가로
_root.mc._width = 300;
_root.mc._height = 300*bi;
} else {
var bi = _root.mc._width/_root.mc._height;
//비율 세로/가로
_root.mc._height = 300;
_root.mc._width = 300*bi;
}
}
_root.loadcr.swapDepths(100);
_root.loadcr.removeMovieClip();
mc.onEnterFrame = null;
delete mc.onEnterFrame;
}; |
|
추천 : 725 |
추천
목록
|
|
|  |
|