 |
|
|  |
|
 |
14³â Àü |
½ºÀ§½Ã È¿°ú ¸í·É¾î
1) ¸¶¿ì½º Æ÷ÀÎÆ®
¸¶¿ì½º±×¸²¼±ÅÃÈÄ script - add script - events -frame - onselfevent(enterframe)ÇÏ°í
add script - statements -eval!!!!uate
mouse.hide( )
this._x = _root._xmouse
this._y = _root._ymouse
2) ¿¬¿ùÀÏ
³â¿ùÀÏ
Åø¹Ú½º T Ŭ¸¯ ÈÄ ¹®ÀÚ µé¾î°¥ °÷À» ±×·Á³õ°í TÀ̸§¿¡
date ÀÔ·Â ÈÄ ¿· target¿¡ üũÇÏ°í ¹Ýµå½Ã Dynamic ÇÏ°í ¹Ø¿¡ D¿¡ Ŭ¸¯ ÈÄ
scene_1¿¡¼ script-add script ÀüȯÈÄ
add script Events-Frame-on Frame()
¾Æ·¡ ¸í·É¾î¸¦ ³Ö´Â´Ù
weekName = ["ÀÏ", "¿ù", "È", "¼ö", "¸ñ", "±Ý", "Åä "];
var today = new Date();
var thisY = today.getFullYear() + "³â ";
var thisM = today.getMonth() + 1 + "¿ù ";
var thisD = today.getDate() + "ÀÏ ";
var thisW = weekName[today.getDay()] + "¿äÀÏ";
date.text = thisY + thisM + thisD + thisW;
3) ½Ã°£
Åø¹Ú½º T Ŭ¸¯ ÈÄ ¹®ÀÚ µé¾î°¥ °÷À» ±×·Á³õ°í TÀ̸§¿¡ time ÀÔ·Â ÈÄ
¿· target¿¡ üũÇÏ°í ¹Ýµå½Ã Dynamic ÇÏ°í ¹Ø¿¡ D¿¡ Ŭ¸¯ ÈÄ
scene1 script ¿¡ ºÙÀ̱â
function setDigit(getTime) {
var rtnTime;
if (getTime < 10) {
rtnTime = "0"+getTime;
} else {
rtnTime = getTime;
}
return rtnTime;
}
onSelfEvent (enterFrame) {
cntTime = new Date();
thisHour = setDigit(cntTime.getHours());
thisMin = setDigit(cntTime.getMinutes());
thisSec = setDigit(cntTime.getSeconds());
time.text = thisHour + ":" + thisMin + ":" + thisSec;
}
4) full screen
6)Ç®½ºÅ©¸°À¸·Î »ç¿ëÇÒ ¹öÆ°À» Çϳª ¸¸µé°í ½ºÅ©¸°¾×¼ÇÀ» ¾Æ·¡¿Í °°ÀÌ ¼Ò½º¸¦ º¹»çÇØ´Ù ºÙ¿© ³Ö½À´Ï´Ù. (script¿¡¼)
on (press) { toggleFullScreen(); text_.nextFrameAndPlay();}
7)Scene-1ÇÁ·¹ÀÓ¿¡ ½ºÅ©¸³Æ® ¾×¼ÇÀ» ÀÔ·ÂÇÕ´Ï´Ù. Áï ¾Æ·¡ÀÇ ¼Ò½º¸¦ º¹»çÇØ´Ù ºÙ¿© ³Ö½À´Ï´Ù.(script¿¡¼)
onFrame (1) { toggleFullScreen=function (){if (Stage.displayState == "normal"){ Stage.displayState = "fullScreen"; } else{ Stage.displayState = "normal";}};}
*À§ÀÇ ³»¿ë´ë·Î¸¸ ÇϽøé Ç®½ºÅ©¸°¿ë ¹öÆ°Àº ¿Ï¼ºµÈ °ÍÀÔ´Ï´Ù.
1)À¥¿¡ °Ô½ÃÇÒ¶§¿¡ <embed>ű׸¦ »ç¿ëÇÏ½Å´Ù¸é ¾Æ·¡ÀÇ ¼Ó¼ºÀ» Ãß°¡ÇØ ÁÝ´Ï´Ù. Áï °Ô½ÃÆÇ¿¡ ¿Ã¸±¶§ ¼Ò½ºµÚ¿¡ ºÙ¿©³Ö´Â ¼Ò½º
allowFullScreen="true"Àüü ȸéÀ¸·Î ¶ç¿ì´Â ¼Ò½º.scale="exactfit" ÀüüȸéÀ¸·Î ¶¹À»¶§ Èò ¿©¹é¾øÀÌ È¸é¿¡ ²ËÂ÷°Ô ÇØÁÖ´Â ¼Ò½º.
º¸±â:<center><embed src=http://bsayk.cafe24.com/mov/full2.swf width=600 height=400 scale="exactfit" allowfullscreen="true"></center>
À§ ¼Ò½ºÁß "400"¡ÚallowFullScreen º°Ç¥ ºÎºÐÀº ÇÊÈ÷ ÇÑÄÀ» ¶ç¿öÁà¾ß ÇÑ´Ù.
allowFullScreen="true"Scale="exactfit"(Âü°í ¸í·É¾î)
<EMBED src=http://cfile253.uf.daum.net/media/163C930D4A97BE0647EB8C type=application/x-shockwave-flash allowScriptAccess="sameDomain" allowFullScreen="false" width="600" height="400" scale="exactfit" allowfullscreen="true"
><br>
* max2 Ç®½ºÅ©¸° ¸¸µé±â
1.ÀÛÇ° ¿Ï¼ºÈÄ À̹ÌÁö ¼±Åà script Àüȯ ÈÄ add script - browser/network - fscommand¿¡¼ µµ¿ì¹Ì ¿É¼Ç(°¡¿îµ¥) Ŭ¸¯ÇÏ¿© command - fullscreen À» ¹ØÀÇÄ argument ¿¡ true ÀÔ·ÂÈÄ ¿£ÅÍ
2.file - export - exe(projector) ¼±Åà ÀúÀåÇϸé export settings ´ëÈ»óÀÚ swf 7À» ¼±ÅÃ
3.½ÇÇàÇϸé ÀüÃ¼È¸é ³ªÅ¸³² Á¾·á´Â alt+f4
exe·Î ÀúÀå½Ã ¹Ýµå½Ã F7(swf´Â »ó°ü¾øÀ½)
<center><A href="http://bsayk.cafe24.com/mov/full7.exe" autostart="true" width="720" height="540">
<font size=4 color=red><b>¿©±â¸¦ Ŭ¸¯Çϼ¼¿ä<br> (Á¤´ä )
swf·Î ÀúÀå½Ã Á¤´ä
<a href ="http://bsayk.cafe24.com/mov/full7.swf" target=new_window><center><h1> ³»¿ëÀ» º¸½Ã·Á¸é Ŭ¸¯Çϼ¼¿ä</h1></center></a><br> (¹Ù·ÎÅ©°Ô ¶á´Ù)
5) ´«³»¸®´Â È¿°ú
1. ´«¼ÛÀÌ ¸¸µé°í(Àû°Ô=5 Å©°Ô=10)
2. ´«¼ÛÀÌ¿¡ ¿ì¸¶ convert - movie clip À̸§Àº snow
3.scene Ŭ¸¯ script ¿¡¼
function snowEffect()
{
this._y += this.d;
this._x += this.w;
if (this._y>movieHeight) {
this._x = random(movieWidth);
this._y = -20;
}
}
onFrame (1)
{
var movieWidth : Number = Stage.width;
var movieHeight : Number = Stage.height;
var snowNum : Number = 70;
var dropConstant : Number = 0.04;
var mc : MovieClip;
for (var i=0; i<snowNum; i++) {
mc = snow.duplicateMovieClip("snow"+i, i);
mc._x = random(movieWidth);
mc._y = -random(movieHeight);
mc._alpha = mc._xscale = mc._yscale = 50+random(50);
mc.d = mc._alpha*dropConstant;
mc.w = random(5)-2;
mc.onEnterFrame = snowEffect;
}
}
6)ÇÔ¼ö·Î ²É¸ð¾ç ±×¸®±â
function drawLine()
{
t += 0.02;
r = 170*Math.sin(10*t)*Math.cos(5*t)+50;
this.lineTo(r*Math.sin(t), r*Math.cos(t));
this._rotation += 1;
}
onFrame (1)
{
var mc : MovieClip = this.createEmptyMovieClip("canvas", 1);
mc._x = mc._y = 180;
var t : Number = 0;
var r : Number = 170*Math.sin(10*t)*Math.cos(5*t)+50;
mc.lineStyle(1, 0xFFFFFF, 100);
mc.moveTo!!!!(r*Math.sin(t), r*Math.cos(t));
mc.onEnterFrame = drawLine;
}
¿¹Á¦/mc._x = mc._y = 180; ³ªÅ¸³ª´Â À§Ä¡
mc.lineStyle(1, 0xFFFFFF, 100); »ö»ó°ú Åõ¸íµµ
var r : Number = 170*Math.sin(10*t)*Math.cos(5*t)+50; °¢µµ¿¡ µû¶óÀÇ Æø
ŸÀÓ¶óÀÎ ÁÙ¿¡¼::[shoot in from the hip]==30 ÁØ °÷¿¡¼ w Å©¸¯ÇÏ¸é ¿À¸¥ÂÊ ÄÀ¸·Î[Effect]
È°¼ºÃ¢ÀÌ ¶ßÁö¿ä. ¹Ù·Î ÀÌ°÷¿¡¼...Shoot from....150
Scale.........300
Rotation......360
Fade............0
color change..100
Color.........»ö¼±ÅÃ
Cascade order...0
Overlap,,,,,,,,20
ÀÌ·¯¸é µË´Ï´Ù.óÀ½¿£..[·¯ºêÇ¥½Ã] ÇϽŰÍÀ»º¹»çÇϽðí
7) º° ³ª¸£°í
¼±¾ð¹®(À̸§) star_mc ¶ó ¾²°í script ¿¡ add scriptd - events - frame - on self events(load) ÈÄ ¾Æ·¡ ¸í·É¾î ºÙ¿© ³Ö½À´Ï´Ù
if (this.speed == undefined) {
this.speed = 0;
}
}
onSelfEvent (enterFrame)
{
this._x += speed;
this._rotation += speed;
if (this._x > 450) {
this._x = -50;
}
2. scene ¿¡ Ŭ¸¯(¼±ÅÃ)
scriptd ¿¡ add scriptd - events - frame - onFrame ÈÄ ¾Æ·¡ ¸í·É¾î ºÙ¿© ³Ö½À´Ï´Ù
onFrame (1)
var percent : Number;
for (var i=0; i<100; i++) {
star_mc.duplicateMovieClip("star"+i, i);
with (this["star"+i]) {
percent = random(100);
_x = random(450);
_y = random(340);
_xscale = _yscale = _alpha = percent;
}
this["star"+i].speed = percent/15;
}
|
|
̵̧ : 483 |
̵̧
¸ñ·Ï
|
|
|  |
|