PFL0A3@@ACD Rd'nowloda _SVbN@A@@@'?? ݒ//ݒ--------------------------------------------- color_scheme = 1; //zF (1:gFn/2:Fn) autoplay = 0; //I[gvC (1:/0:Ȃ) q_button = 1; //掿{^ (1:\/0:\) percentage = 1; //p[Zgl (1:\/0:\) stat_view = 1; //[hXe[^X (1:\/0:\) parts_stretch = 0; //p[c̈L΂ (1:/0:Ȃ) test_preview = 0; //eXgvr[ (1`:ON/0:OFF) //ȉ͂Ȃ============================================== if(test_preview != 0){pb.removeMovieClip();} x = Stage.width/100; y = Stage.height/100; if(parts_stretch == 1){_global.sc = Stage.height/240;}else{_global.sc = 1;} loaded = 0; t_border = 0; if(color_scheme == 1){ c_pb1 = 0x63615a; c_qb1 = 0xd3c5c2; c_per = 0x9c0000; c_pb2 = 0x9c0000; c_qb2 = 0xf8eded; c_stat = 0xf8eded; c_bg = [0xffffff,0xacb0c4,0xaee3ae,0xacb0c4,0xffefdf,0xeabd86,0xda8069,0xda8069]; c_mt = 0xda8069; c_frm = 0xa58883; }else if(color_scheme == 2){ c_pb1 = 0x999094; c_qb1 = 0xbad1eb; c_per = 0x4a85c6; c_pb2 = 0x3050b0; c_qb2 = 0xf0f5fb; c_stat = 0xf0f5fb; c_bg = [0xe3f0fd,0xcdd3eb,0xcfebe6,0xafbee7,0xdceff3,0xb7cef4,0xffffff,0xffffff]; c_mt = 0xffffff; c_frm = 0x4a85c6; } //[r[Nbv function cMC(name,depth,x,y,target){ if(target){eval(target).createEmptyMovieClip(name,depth);name=target+"."+name;} else{createEmptyMovieClip(name,depth);} with(eval(name)){ _x = x; _y = y; _xscale = _yscale = sc*100;} }; //eLXg function cTX(name,depth,value,x,y,w,h,align,tf){ if(align.indexOf("l")!=-1){tx = 0;}else if(align.indexOf("r")!=-1){tx = -w;}else{tx=-w/2;} if(align.indexOf("t")!=-1){ty = 0;}else if(align.indexOf("b")!=-1){ty = -h;}else{ty=-h/2;} cMC(name,depth,x,y); eval(name).createTextField(name,1,tx,ty,w,h); with(eval(name+"."+name)){ text = value; selectable = false; setTextFormat(tf); if(_parent._parent.t_border == 1){border = true;} } }; //eLXgtH[}bgݒ function cTF(name,sz,cl,fn,ag,st){ with(eval(name)){ size = sz; color = cl; font = fn; align = ag; if(st.indexOf("b") == -1){bold = false;}else{bold = true;} if(st.indexOf("i") == -1){italic = false;}else{italic = true;} if(st.indexOf("u") == -1){underline = false;}else{underline = true;} }}; //掿ݒ function setQuality(q){ _quality = q; qh.qh.setTextFormat(TFqb1); qm.qm.setTextFormat(TFqb1); ql.ql.setTextFormat(TFqb1); if(_quality == "HIGH"){qh.qh.setTextFormat(TFqb2);} else if(_quality == "MEDIUM"){qm.qm.setTextFormat(TFqb2);} else if(_quality == "LOW"){ql.ql.setTextFormat(TFqb2);} }; //Xe[^X----------------------------------------------------- function onEnterFrame(){ if(loaded < 100){ if(_root._currentframe > 1){_root.gotoAndStop(1);} if(test_preview == 0){loaded = Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100);} else if(test_preview != 0){loaded += test_preview;} per.per.text = loaded; per.per.setTextFormat(TFper); mtMC._x = loaded*x; }else if(loaded == 100){ if(autoplay == 1){_root.Play();}else{ cTX("pb",300,"PLAY",x*50,y*45,70,30,"cm",TFpb1); pb.onPress = function(){_root.Play();}; pb.onRollOver = function(){pb.pb.setTextFormat(TFpb2);}; pb.onRollOut = function(){pb.pb.setTextFormat(TFpb1);}; stat_txt.stat_txt.text = "complete."; stat_txt.stat_txt.setTextFormat(TFstat); } loaded = 200; } }; //eLXgtH[}bg TFpb1 = new TextFormat(); //PlayButton1 TFpb2 = new TextFormat(); //PlayButton2 TFqb1 = new TextFormat(); //QualityButton1 TFqb2 = new TextFormat(); //QualityButton2 TFper = new TextFormat(); //PercentageText TFstat = new TextFormat(); //StatusText cTF("TFpb1",24,c_pb1,"_typewriter","center","b"); cTF("TFpb2",24,c_pb2,"_typewriter","center","b"); cTF("TFqb1",14,c_qb1,"_typewriter","center",""); cTF("TFqb2",14,c_qb2,"_typewriter","center","u"); cTF("TFper",30,c_per,"_serif","right","bi"); cTF("TFstat",12,c_stat,"_typewriter","center",""); //-------------------------------------掿{^ if(q_button == 1){ cTX("qh",201,"High",5*sc,5*y,42,22,"lm",TFqb1); cTX("qm",202,"Medium",47*sc,5*y,58,22,"lm",TFqb1); cTX("ql",203,"Low",105*sc,5*y,36,22,"lm",TFqb1); if(_quality == "HIGH"){setQuality("HIGH");} else if(_quality == "MEDIUM"){setQuality("MEDIUM");} else if(_quality == "LOW"){setQuality("LOW");} qh.onPress = function(){setQuality("HIGH");}; qm.onPress = function(){setQuality("MEDIUM");}; ql.onPress = function(){setQuality("LOW");}; } //-------------------------------------\ if(percentage == 1){cTX("per",200,0,95*x,62*y,50,40,"rm",TFper);} //-------------------------------------Xe[^X if(stat_view == 1){cTX("stat_txt",204,"loading...",50*x,95*y,80*x,20,"cm",TFstat);} //-------------------------------------wi createEmptyMovieClip("bgMC",1); with(bgMC){ // -------------------------- beginFill (c_bg[0], 100); moveTo(0, 0); lineTo(0, 100*y); lineTo(100*x, 100*y); lineTo(100*x, 0); lineTo(0, 0); endFill (); // -------------------------- beginFill (c_bg[1], 60); moveTo(60*x, 75*y); lineTo(60*x, 100*y); lineTo(0, 100*y); lineTo(0, 75*y); lineTo(60*x, 75*y); endFill (); // -------------------------- beginFill (c_bg[2], 66); moveTo(0, 0); lineTo(0, 36*y); lineTo(95*x, 36*y); lineTo(95*x, 0); lineTo(0, 0); endFill (); // -------------------------- beginFill (c_bg[3], 80); moveTo(60*x, 0); lineTo(60*x, 100*y); lineTo(100*x, 100*y); lineTo(100*x, 0); lineTo(60*x, 0); endFill (); // -------------------------- beginFill (c_bg[4], 60); moveTo(25*x, 10*y); lineTo(25*x, 90*y); lineTo(90*x, 90*y); lineTo(90*x, 10*y); lineTo(25*x, 10*y); endFill (); // -------------------------- beginFill (c_bg[5], 50); moveTo(49*x, 43); lineTo(49*x, 180); lineTo(17*x, 180); lineTo(17*x, 43); lineTo(49*x, 43); endFill (); // -------------------------- beginFill (c_bg[6], 40); moveTo(0, 55*y); lineTo(0, 68*y); lineTo(100*x, 68*y); lineTo(100*x, 55*y); lineTo(0, 55*y); endFill (); // -------------------------- beginFill (c_bg[7], 40); moveTo(0, 52*y); lineTo(0, 54*y); lineTo(100*x, 54*y); lineTo(100*x, 52*y); lineTo(0, 52*y); endFill (); } //---------------------------------------line createEmptyMovieClip("mtMC",2); with(mtMC){ beginFill (c_mt, 40); lineStyle (); moveTo (loaded*x-10,0); lineTo (loaded*x,0); lineTo (loaded*x,100*y); lineTo (loaded*x-10,100*y); lineTo (loaded*x-10,0); endFill (); } //---------------------------------------frame createEmptyMovieClip("frMC",3); with(frMC){ beginFill (c_frm, 100); moveTo(0, 0); lineTo(0, 10*y); lineTo(100*x, 10*y); lineTo(100*x, 0); lineTo(0, 0); moveTo(0, 90*y); lineTo(0, 100*y); lineTo(100*x, 100*y); lineTo(100*x, 90*y); lineTo(0, 90*y); endFill (); }dd??dd