java, c# , linux, program devloper: Action Script 카테고리 글 목록
http://blog1.phps.kr/
blog.visualp.com
2021-05-29T01:03:16+09:00
Textcube 1.10.7 : Tempo primo
( AS - 3 ) Flash Tween - sample , 플래쉬 트위너 셈플
java, tomcat, c#
http://blog1.phps.kr/589
2013-06-18T16:24:20+09:00
2013-06-18T16:24:17+09:00
<SPAN style="COLOR: #000000"><FONT face="Courier New"><SPAN style="COLOR: #0000bb"><STRONG>[원문] :</STRONG> <A href="http://board.flashkit.com/board/showthread.php?760109-using-TWEEN-to-scale">http://board.flashkit.com/board/showthread.php?760109-using-TWEEN-to-scale</A><BR><BR>import fl</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">transitions</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">Tween</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">;<BR></SPAN><SPAN style="COLOR: #0000bb">import fl</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">transitions</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">easing</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">.*;<BR><BR>var </SPAN><SPAN style="COLOR: #0000bb">toMouseX</SPAN><SPAN style="COLOR: #007700">:</SPAN><SPAN style="COLOR: #0000bb">Tween</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">;<BR>var </SPAN><SPAN style="COLOR: #0000bb">toMouseY</SPAN><SPAN style="COLOR: #007700">:</SPAN><SPAN style="COLOR: #0000bb">Tween</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">;<BR><BR>var </SPAN><SPAN style="COLOR: #0000bb">initialState</SPAN><SPAN style="COLOR: #007700">:</SPAN><SPAN style="COLOR: #0000bb">int </SPAN><SPAN style="COLOR: #007700">= </SPAN><SPAN style="COLOR: #0000bb">1</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">;<BR>var </SPAN><SPAN style="COLOR: #0000bb">finalState</SPAN><SPAN style="COLOR: #007700">:</SPAN><SPAN style="COLOR: #0000bb">int </SPAN><SPAN style="COLOR: #007700">= </SPAN><SPAN style="COLOR: #0000bb">2</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">;<BR><BR></SPAN><SPAN style="COLOR: #0000bb">stage</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">addEventListener</SPAN><SPAN style="COLOR: #007700">(</SPAN><SPAN style="COLOR: #0000bb">MouseEvent</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">MOUSE_DOWN</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">onStagePress</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">);<BR><BR>function </SPAN><SPAN style="COLOR: #0000bb">onStagePress</SPAN><SPAN style="COLOR: #007700">(</SPAN><SPAN style="COLOR: #0000bb">event</SPAN><SPAN style="COLOR: #007700">:</SPAN><SPAN style="COLOR: #0000bb">MouseEvent</SPAN><SPAN style="COLOR: #007700">):</SPAN></FONT><SPAN style="COLOR: #0000bb"><FONT face="Courier New">void<BR></FONT></SPAN><FONT face="Courier New"><SPAN style="COLOR: #007700">{<BR> </SPAN><SPAN style="COLOR: #0000bb">easingAnimation</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">();<BR>}<BR>function </SPAN><SPAN style="COLOR: #0000bb">easingAnimation</SPAN><SPAN style="COLOR: #007700">():</SPAN></FONT><SPAN style="COLOR: #0000bb"><FONT face="Courier New">void<BR></FONT></SPAN><FONT face="Courier New"><SPAN style="COLOR: #007700">{<BR> </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">toMouseX </SPAN><SPAN style="COLOR: #007700">= new </SPAN><SPAN style="COLOR: #0000bb">Tween</SPAN><SPAN style="COLOR: #007700">(</SPAN><SPAN style="COLOR: #0000bb">box</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #dd0000">"scaleX"</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">None</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">easeNone</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">, <BR> </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">initialState</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">finalState</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">.5</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">true</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">);<BR> <BR> </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">toMouseY </SPAN><SPAN style="COLOR: #007700">= new </SPAN><SPAN style="COLOR: #0000bb">Tween</SPAN><SPAN style="COLOR: #007700">(</SPAN><SPAN style="COLOR: #0000bb">box</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #dd0000">"scaleY"</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">None</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">easeNone</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">, <BR> </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">initialState</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">finalState</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">.5</SPAN><SPAN style="COLOR: #007700">, </SPAN><SPAN style="COLOR: #0000bb">true</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">);<BR> <BR> </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">initialState </SPAN><SPAN style="COLOR: #007700">= </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">finalState</SPAN></FONT><FONT face="Courier New"><SPAN style="COLOR: #007700">;<BR> </SPAN><SPAN style="COLOR: #0000bb">this</SPAN><SPAN style="COLOR: #007700">.</SPAN><SPAN style="COLOR: #0000bb">finalState</SPAN></FONT><SPAN style="COLOR: #007700"><FONT face="Courier New">++;<BR>} </FONT><BR></SPAN></SPAN><p><strong><a href="http://blog1.phps.kr/589?commentInput=true#entry589WriteComment">댓글 쓰기</a></strong></p>
flash , 의미없는 무비클립 대체택스트 관련
java, tomcat, c#
http://blog1.phps.kr/566
2013-03-18T16:17:28+09:00
2013-03-18T16:17:25+09:00
<FONT size=5><STRONG><FONT color=#d41a01>>> 플래시 콘텐츠</FONT> </STRONG></FONT><FONT color=#d41a01 size=5><STRONG>>><BR></STRONG><BR></FONT> 플래시 콘텐츠를 구성하는 무비클립 또는 버튼 등에 대체 텍스트를 제공함으로<BR>써 사용자에게 혼란을 주게 될 경우 대체 텍스트를 제공하지 않아야 한다. 장식용<BR>으로 사용되는 무비클립 또는 텍스트 설명이 함께 제공되는 무비클립 등이 여기<BR>에 해당된다. <BR>­어떤 무비클립에 대한 대체 텍스트를 제공하지 않기 위해서는 액세스 가<BR>능성(Accessibility) 패널을 열고, 무비클립을 선택한 후에 액세스 가능<BR>성 패널의 '객체를 액세스 가능하게 만들기(Make object accessible)' 항<BR>목을 체크 해제(uncheck)한다. 이 항목을 체크 해제하면 이 무비클립의 <BR>이름(N) 항목이나 설명(D) 항목에 대체 텍스트나 설명문을 제공하더라도 <BR>보조기술은 이 무비클립에 대한 대체 텍스트를 무시하게 된다. <BR>­플래시 콘텐츠를 ActionScript 2.0으로 개발하는 경우 무비클립(movieclip)<BR>에 대한 _accProps 객체의 silent 속성을 ‘true’로 설정해야 한다. <BR><BR>// ActionScript 2.0 Example<BR>// 'decorative_mc' is an instance placed on the movie's main timeline<BR>_root.decorative_mc._accProps = new Object();<BR>_root.decorative_mc._accProps.silent = true; <BR>­<BR>ActionScript 3.0으로 개발하는 경우 무비클립에 대한 <BR>accessibilityProperties 객체의 silent 속성을 ‘true’로 설정한다. <BR><BR>// ActionScript 3.0 Example<BR>// 'decorative_mc' is an instance placed on the movie's main timeline<BR>decorative_mc.accessibilityProperties = new AccessibilityProperties();<BR>decorative_mc.accessibilityProperties.silent = true;<BR><BR><p><strong><a href="http://blog1.phps.kr/566?commentInput=true#entry566WriteComment">댓글 쓰기</a></strong></p>
flash actionscript 3 , H.264 player
java, tomcat, c#
http://blog1.phps.kr/524
2012-10-22T15:13:51+09:00
2012-10-22T15:13:48+09:00
<A href="http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player.html">[원문] : http://www.adobe.com/devnet/flashplayer/articles/hd_video_flash_player.html</A><BR><BR>구글링을 통해서 찾았음. <BR>자체 player 제작 시 유용할 것으로 보인다.<BR><BR><p><strong><a href="http://blog1.phps.kr/524?commentInput=true#entry524WriteComment">댓글 쓰기</a></strong></p>
ActionScript 3.0: how to pass URL parameters from loader swf to loaded swf
java, tomcat, c#
http://blog1.phps.kr/412
2011-07-04T19:58:57+09:00
2011-07-04T19:58:54+09:00
<P>[원문]<A href="http://www.campjohn.dk/wp/?p=820">http://www.campjohn.dk/wp/?p=820</A><BR><BR><BR>생성 하고 넘겨 주는 방식..<BR><BR>var _theParameterFromURL:String = String(root.loaderInfo.parameters.whatParameter);<BR>var _tempPercent:Number;<BR>var _loader:Loader = new Loader();</P>
<P>_loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, isloading);<BR>_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, finishedLoading);</P>
<P>_loader.load(new URLRequest("howtograb.swf"));</P>
<P>function isloading(e:ProgressEvent):void {<BR> _tempPercent = e.bytesLoaded / e.bytesTotal;<BR> thePercent.text = String(Math.floor(_tempPercent*100))+"%";<BR>}</P>
<P>function finishedLoading(e:Event):void {<BR> removeChildAt(0);<BR> _tempPercent = null;<BR> addChild(_loader);</P>
<P> Object(_loader.content).init(_theParameterFromURL);<BR>}<BR><BR><BR><BR><BR>---------------------------------------------------------------------------------------'</P>
<DIV class="javascript codecolorer"><SPAN class=kw2>package</SPAN> <SPAN class=br0>{</SPAN><BR> <BR> <SPAN class=kw2>import</SPAN> flash.<SPAN class=me1>display</SPAN>.<SPAN class=me1>Sprite</SPAN><SPAN class=sy0>;</SPAN><BR> <SPAN class=kw2>import</SPAN> flash.<SPAN class=me1>text</SPAN>.<SPAN class=me1>TextField</SPAN><SPAN class=sy0>;</SPAN><BR><BR> <BR> <SPAN class=kw2>public</SPAN> <SPAN class=kw2>class</SPAN> howtograb <SPAN class=kw2>extends</SPAN> Sprite <SPAN class=br0>{</SPAN><BR> <BR> <SPAN class=kw2>private</SPAN> <SPAN class=kw2>var</SPAN> _theTextFromURL<SPAN class=sy0>:</SPAN>String<SPAN class=sy0>;</SPAN><BR> <BR> <SPAN class=kw2>public</SPAN> <SPAN class=kw2>function</SPAN> howtograb<SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN><SPAN class=sy0>:</SPAN><SPAN class=kw1>void</SPAN> <SPAN class=br0>{</SPAN><BR> <SPAN class=co1>//</SPAN><BR> <SPAN class=br0>}</SPAN><BR> <BR> <SPAN class=kw2>public</SPAN> <SPAN class=kw2>function</SPAN> init<SPAN class=br0>(</SPAN>someURL<SPAN class=sy0>:</SPAN>String<SPAN class=br0>)</SPAN><SPAN class=sy0>:</SPAN><SPAN class=kw1>void</SPAN> <SPAN class=br0>{</SPAN><BR> _theTextFromURL <SPAN class=sy0>=</SPAN> someURL<SPAN class=sy0>;</SPAN><BR> <BR> theText.<SPAN class=me1>text</SPAN> <SPAN class=sy0>=</SPAN> _theTextFromURL<SPAN class=sy0>;</SPAN><BR> <SPAN class=br0>}</SPAN><BR> <BR> <SPAN class=br0>}</SPAN><BR><SPAN class=br0>}</SPAN></DIV>
<br /><p><strong><a href="http://blog1.phps.kr/412?commentInput=true#entry412WriteComment">댓글 쓰기</a></strong></p>
flash , as 2.0, swf loader, 무비클립 로드
java, tomcat, c#
http://blog1.phps.kr/384
2011-06-07T15:25:34+09:00
2011-06-07T15:25:31+09:00
<P>stop();</P>
<P>var ctrl:MovieClipLoader = new MovieClipLoader();<BR>var _listener:Object = new Object();<BR>_listener.onLoadInit = function(_mc:MovieClip)<BR>{<BR> trace("Done loading...");<BR>}</P>
<P>ctrl.addListener(_listener);<BR>this.createEmptyMovieClip("_mc", this.getNextHighestDepth());<BR>ctrl.loadClip("./menubar.swf", _mc);<BR><BR><BR>// 접근 하려고 할 때 <BR>_root._mc.하위 객체명</P><p><strong><a href="http://blog1.phps.kr/384?commentInput=true#entry384WriteComment">댓글 쓰기</a></strong></p>
jsfl, flash total frames , total second
java, tomcat, c#
http://blog1.phps.kr/304
2010-08-23T11:15:48+09:00
2010-08-17T14:23:48+09:00
[원문] - <A href="http://www.actionscript.org/forums/showthread.php3?t=193793">http://www.actionscript.org/forums/showthread.php3?t=193793</A><BR><BR>var frameArray = fl.getDocumentDOM().getTimeline().layers[0].frames;<BR>var n = frameArray.length;<BR>var frame_rate=30;<BR><BR>for (i=0; i<n; i++)<BR>{<BR> if (i==frameArray[i].startFrame)<BR> {<BR> alert("Keyframe at: " + i);<BR> }<BR>}<BR><BR><BR> n/frame_rate < == 초<BR><BR>flash 또한 ECMA표준을 지키고 있음으로, javascrip처럼 둠 으로 접근 할 수 있습니다.<BR>jsfl을 이용해서 이 뿐만 아니라 문서내의 다양한 정보들을 얻을 수 있을듯 보임니다.<BR><BR><p><strong><a href="http://blog1.phps.kr/304?commentInput=true#entry304WriteComment">댓글 쓰기</a></strong></p>
System.useCodePage , xml charset euc-kr 설정 .
java, tomcat, c#
http://blog1.phps.kr/303
2010-08-16T16:05:04+09:00
2010-08-16T16:05:00+09:00
출처 : [api 에서]<BR>/***************************************************************************/<BR><BR>외부 xml파일을 로딩할 경우 <BR>charset이 utf-8이면 상관이 없지만, euc-kr일 경우 다음과 같이 설정을 해줘야 한다.<BR><BR>System.useCodePage = true;<BR><BR>/***************************************************************************/<BR><BR>
<P>A Boolean value that tells Flash Player which code page to use to interpret external text files. When the property is set to <CODE>false</CODE>, Flash Player interprets external text files as Unicode. (These files must be encoded as Unicode when you save them.) When the property is set to <CODE>true</CODE>, Flash Player interprets external text files using the traditional code page of the operating system running the player. The default value of <CODE><SPAN class=searchhilite><CODE>useCodePage</CODE></SPAN></CODE> is <CODE>false</CODE>.
<P>Text that you load as an external file (using <CODE>flash.display.Loader.load()</CODE> or the flash.net.URLLoader, flash.net.URLStream, or XML class) must have been saved as Unicode in order for Flash Player to recognize it as Unicode. To encode external files as Unicode, save the files in an application that supports Unicode, such as Notepad on Windows 2000.</P>
<P>If you load external text files that are not Unicode-encoded, set <CODE><SPAN class=searchhilite><CODE>useCodePage</CODE></SPAN></CODE> to <CODE>true</CODE>. Add the following as the first line of code in the <SPAN src="flashonly">first frame of the</SPAN> SWF file that is loading the data:</P><PRE><CODE>System.<SPAN class=searchhilite>useCodePage</SPAN> = true;</CODE></PRE>
<P>When this code is present, Flash Player interprets external text using the traditional code page of the operating system running Flash Player. This is generally CP1252 for an English Windows operating system and Shift-JIS for a Japanese operating system. <SPAN src="flashonly">If you set <CODE><SPAN class=searchhilite><CODE>useCodePage</CODE></SPAN></CODE> to <CODE>true</CODE>, Flash Player 6 and later treat text as Flash Player 5 does. (Flash Player 5 treated all text as if it were in the traditional code page of the operating system running the player.)</SPAN></P>
<P>If you set <CODE><SPAN class=searchhilite><CODE>useCodePage</CODE></SPAN></CODE> to <CODE>true</CODE>, remember that the traditional code page of the operating system running the player must include the characters used in your external text file in order to display your text. For example, if you load an external text file that contains Chinese characters, those characters cannot display on a system that uses the CP1252 code page because that code page does not include Chinese characters.</P>
<P>To ensure that users on all platforms can view external text files used in your SWF files, you should encode all external text files as Unicode and leave <CODE><SPAN class=searchhilite><CODE>useCodePage</CODE></SPAN></CODE> set to <CODE>false</CODE>. This way, Flash Player <SPAN src="flashonly">6 and later</SPAN> interprets the text as Unicode.</P>
<BR><SPAN class=label>Implementation </SPAN><BR><CODE> public static function get <SPAN class=searchhilite>useCodePage</SPAN>():<A href="file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV3/Boolean.html">Boolean</A></CODE> <BR><CODE> public function set <SPAN class=searchhilite>useCodePage</SPAN>(value:<A href="file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV3/Boolean.html">Boolean</A>):<A href="file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Adobe/Flash%20CS3/en/Configuration/HelpPanel/Help/ActionScriptLangRefV3/specialTypes.html#void">void</A></CODE> <BR><p><strong><a href="http://blog1.phps.kr/303?commentInput=true#entry303WriteComment">댓글 쓰기</a></strong></p>
flash에서 쿼리스트링 값 받기
java, tomcat, c#
http://blog1.phps.kr/302
2010-08-16T15:55:43+09:00
2010-08-16T15:55:39+09:00
<P dir=ltr><STRONG>[원문] : <A href="http://2rang.tistory.com/2">http://2rang.tistory.com/2</A><BR><BR>var obj:Object = <FONT color=#d41a01>LoaderInfo(</FONT>this.root.loaderInfo<FONT color=#d41a01>).</FONT></STRONG><FONT color=#006699><STRONG>parameters</STRONG>;</FONT></P>
<P dir=ltr><FONT color=#d41a01><STRONG>_aaa = obj["aaa"];</STRONG></FONT></P>
<P dir=ltr><FONT color=#d41a01><STRONG>_bbb = obj["bbb"];</STRONG></FONT></P>
<P dir=ltr>로 간편하게 ... 넘어온 변수를 사용하시면 되겠습니다.</P>
<P dir=ltr><FONT color=#993366><STRONG><BR>FlashVar 방식..</STRONG>이든 <STRONG>쿼리스트링 방식..</STRONG>이든 데이터를 swf에 전달하기 위해 전문적으로 설계되지는 않았다고 합니다.<BR><BR>아주 작은 데이터 전송일때만 사용하고 복잡한 데이터엔 <STRONG>URLLoader.. </STRONG>를 사용하기를 권한다고 합니다.</FONT></P><p><strong><a href="http://blog1.phps.kr/302?commentInput=true#entry302WriteComment">댓글 쓰기</a></strong></p>
flash compile project(자동으로 fla파일을 퍼블리슁 해보자)
java, tomcat, c#
http://blog1.phps.kr/301
2010-08-16T09:30:04+09:00
2010-08-16T09:29:00+09:00
<P><div class="imageblock left" style="float: left; margin-right: 10px;"><a class="extensionIcon" href="http://blog.visualp.com/attachment/1202612700.zip"><img src="http://blog1.phps.kr/resources/image/extension/zip.gif" alt="" /> compileProject.zip</a><p class="cap1">[download]</p></div><BR></P><BR>
<P>down load file</P>
<P>flash auto compile using jsfl</P>
<P>jsfl same like mecro ...script</P>
<P>core file : compileProject.jstl, compile_schma.txt<BR><BR></P><p><strong><a href="http://blog1.phps.kr/301?commentInput=true#entry301WriteComment">댓글 쓰기</a></strong></p>
jsfl - flash에서 노가다 작업을 한번에 처리 해보자 .
java, tomcat, c#
http://blog1.phps.kr/300
2010-08-12T13:12:45+09:00
2010-08-12T13:12:41+09:00
<P><STRONG><FONT color=#3a32c3>[원문] - <A href="http://note.marines.co.kr/45">http://note.marines.co.kr/45</A><BR><BR>1. 모든 무비클립에 Linkage를 걸어주는 jsfl</FONT></STRONG></P>
<P><STRONG> - 첩부파일 <FONT color=#ff6c00>Linkage.jsfl</FONT></STRONG></P>
<OL>
<LI class=li1>
<DIV class=de1><SPAN class=kw2><STRONG>var</STRONG></SPAN> libItems = fl.<SPAN class=me1><FONT color=#006600>getDocumentDOM</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN></FONT>.<SPAN class=me1><FONT color=#006600>library</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>items</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> </DIV>
<LI class=li1>
<DIV class=de1><SPAN class=kw1><FONT color=#b1b100>for</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN> i = <SPAN class=nu0><FONT color=#cc66cc>0</FONT></SPAN>; i <SPAN class=sy0><FONT color=#66cc66><</FONT></SPAN> libItems.<SPAN class=kw3><FONT color=#0066cc>length</FONT></SPAN>; ++i <FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN> libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN> == <SPAN class=st0><FONT color=#ff0000>"movie clip"</FONT></SPAN> <FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>linkageExportForAS</FONT></SPAN> = <SPAN class=kw2><STRONG>true</STRONG></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>linkageExportInFirstFrame</FONT></SPAN> = <SPAN class=kw2><STRONG>true</STRONG></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV>
<LI class=li1>
<DIV class=de1><SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV></LI></OL>
<br />
<P><STRONG><FONT color=#3a32c3>2. 1번의 반대 모든 무비클립의 Linkage를 없애는 jsfl</FONT></STRONG></P>
<P><STRONG> - 첩부파일 <FONT color=#ff6c00>UnLinkage.jsfl</FONT></STRONG></P>
<OL>
<LI class=li1>
<DIV class=de1><SPAN class=kw2><STRONG>function</STRONG></SPAN> init<FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> fl.<SPAN class=me1><FONT color=#006600>outputPanel</FONT></SPAN>.<SPAN class=kw3><FONT color=#0066cc>clear</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN></FONT>;</DIV>
<LI class=li1>
<DIV class=de1> </DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw2><STRONG>var</STRONG></SPAN> dom = fl.<SPAN class=me1><FONT color=#006600>getDocumentDOM</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN></FONT>;</DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN> <SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>dom == <SPAN class=kw2><STRONG>null</STRONG></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN> <SPAN class=br0><FONT color=#66cc66>{</FONT></SPAN> alert<SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Cannot execute JSFL script. </FONT><SPAN class=es0><FONT color=#000099>\n</FONT></SPAN><FONT color=#ff0000>Error: No Open Document"</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>; <SPAN class=kw1><FONT color=#b1b100>return</FONT></SPAN>; <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV>
<LI class=li1>
<DIV class=de1> </DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw2><STRONG>var</STRONG></SPAN> item_array = fl.<SPAN class=me1><FONT color=#006600>getDocumentDOM</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN></FONT>.<SPAN class=me1><FONT color=#006600>library</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>items</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw2><STRONG>var</STRONG></SPAN> i = item_array.<SPAN class=kw3><FONT color=#0066cc>length</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw1><FONT color=#b1b100>while</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>i--<FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw2><STRONG>var</STRONG></SPAN> item = item_array<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>item.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN> == <SPAN class=st0><FONT color=#ff0000>"movie clip"</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> item.<SPAN class=me1><FONT color=#006600>linkageExportForAS</FONT></SPAN> = <SPAN class=kw2><STRONG>false</STRONG></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> fl.<SPAN class=kw3><FONT color=#0066cc>trace</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Examining "</FONT></SPAN>+<SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>item_array.<SPAN class=kw3><FONT color=#0066cc>length</FONT></SPAN> - i<SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>+<SPAN class=st0><FONT color=#ff0000>" of "</FONT></SPAN>+item_array.<SPAN class=kw3><FONT color=#0066cc>length</FONT></SPAN>+<SPAN class=st0><FONT color=#ff0000>": "</FONT></SPAN>+item.<SPAN class=kw3><FONT color=#0066cc>name</FONT></SPAN>+<SPAN class=st0><FONT color=#ff0000>" ("</FONT></SPAN>+item.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN>+<SPAN class=st0><FONT color=#ff0000>")"</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> fl.<SPAN class=kw3><FONT color=#0066cc>trace</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>" -- Prepared library item: "</FONT></SPAN>+item.<SPAN class=kw3><FONT color=#0066cc>name</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV>
<LI class=li1>
<DIV class=de1><SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV>
<LI class=li1>
<DIV class=de1> </DIV>
<LI class=li1>
<DIV class=de1>init<FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN></FONT>;</DIV></LI></OL>
<br />
<P><STRONG><FONT color=#3a32c3>3. 라이브러리의 모든 이미지를 무손실압축(png)로 변경하고 AllowSmooth 적용</FONT></STRONG></P>
<P><STRONG> - 첩부파일 <FONT color=#ff6c00>AllowSmoothing.jsfl</FONT></STRONG></P>
<OL>
<LI class=li1>
<DIV class=de1><SPAN class=kw2><STRONG>var</STRONG></SPAN> libItems = fl.<SPAN class=me1><FONT color=#006600>getDocumentDOM</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN></FONT>.<SPAN class=me1><FONT color=#006600>library</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>items</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> </DIV>
<LI class=li1>
<DIV class=de1><SPAN class=kw1><FONT color=#b1b100>for</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN> i = <SPAN class=nu0><FONT color=#cc66cc>0</FONT></SPAN>; i <SPAN class=sy0><FONT color=#66cc66><</FONT></SPAN> libItems.<SPAN class=kw3><FONT color=#0066cc>length</FONT></SPAN>; ++i <FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN> libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN> == <SPAN class=st0><FONT color=#ff0000>"bitmap"</FONT></SPAN> <FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>allowSmoothing</FONT></SPAN> = <SPAN class=kw2><STRONG>true</STRONG></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>compressionType</FONT></SPAN> = <SPAN class=st0><FONT color=#ff0000>"lossless"</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV>
<LI class=li1>
<DIV class=de1><SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV></LI></OL><BR>
<P><STRONG><FONT color=#3a32c3>4. 라이브러리의 객체들을 종류별로 폴더에 정리합니다.</FONT></STRONG></P>
<P><STRONG><FONT color=#3a32c3> 종류는 sound, bitmap, button, graphic, movie clip 입니다.</FONT></STRONG></P>
<P><STRONG><FONT color=#3a32c3> </FONT></STRONG><STRONG> - 첩부파일 <FONT color=#ff6c00>Arrangement.jsfl</FONT></STRONG></P>
<OL>
<LI class=li1>
<DIV class=de1><SPAN class=kw2><STRONG>var</STRONG></SPAN> lib = fl.<SPAN class=me1><FONT color=#006600>getDocumentDOM</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN></FONT>.<SPAN class=me1><FONT color=#006600>library</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1><SPAN class=kw2><STRONG>var</STRONG></SPAN> libItems = lib.<SPAN class=me1><FONT color=#006600>items</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> </DIV>
<LI class=li1>
<DIV class=de1>lib.<SPAN class=me1><FONT color=#006600>newFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Audio"</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1>lib.<SPAN class=me1><FONT color=#006600>newFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Bitmap"</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1>lib.<SPAN class=me1><FONT color=#006600>newFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Buttons"</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1>lib.<SPAN class=me1><FONT color=#006600>newFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Graphics"</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1>lib.<SPAN class=me1><FONT color=#006600>newFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Movie Clips"</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1>lib.<SPAN class=me1><FONT color=#006600>newFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Miscellaneous"</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> </DIV>
<LI class=li1>
<DIV class=de1><SPAN class=kw1><FONT color=#b1b100>for</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN> <SPAN class=kw2><STRONG>var</STRONG></SPAN> i=<SPAN class=nu0><FONT color=#cc66cc>0</FONT></SPAN>; i<SPAN class=sy0><FONT color=#66cc66><</FONT></SPAN>libItems.<SPAN class=kw3><FONT color=#0066cc>length</FONT></SPAN>; ++i <FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN> == <SPAN class=st0><FONT color=#ff0000>"sound"</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> lib.<SPAN class=me1><FONT color=#006600>moveToFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Audio"</FONT></SPAN>, libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=kw3><FONT color=#0066cc>name</FONT></SPAN>, <SPAN class=kw2><STRONG>true</STRONG></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>; </DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN><SPAN class=kw1><FONT color=#b1b100>else</FONT></SPAN> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN> == <SPAN class=st0><FONT color=#ff0000>"bitmap"</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> lib.<SPAN class=me1><FONT color=#006600>moveToFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Bitmap"</FONT></SPAN>, libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=kw3><FONT color=#0066cc>name</FONT></SPAN>, <SPAN class=kw2><STRONG>true</STRONG></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>; </DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN><SPAN class=kw1><FONT color=#b1b100>else</FONT></SPAN> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN> == <SPAN class=st0><FONT color=#ff0000>"button"</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> lib.<SPAN class=me1><FONT color=#006600>moveToFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Buttons"</FONT></SPAN>, libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=kw3><FONT color=#0066cc>name</FONT></SPAN>, <SPAN class=kw2><STRONG>true</STRONG></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>; </DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN><SPAN class=kw1><FONT color=#b1b100>else</FONT></SPAN> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN> == <SPAN class=st0><FONT color=#ff0000>"graphic"</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> lib.<SPAN class=me1><FONT color=#006600>moveToFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Graphics"</FONT></SPAN>, libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=kw3><FONT color=#0066cc>name</FONT></SPAN>, <SPAN class=kw2><STRONG>true</STRONG></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>; </DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN><SPAN class=kw1><FONT color=#b1b100>else</FONT></SPAN> <SPAN class=kw1><FONT color=#b1b100>if</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN>libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>itemType</FONT></SPAN> == <SPAN class=st0><FONT color=#ff0000>"movie clip"</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> lib.<SPAN class=me1><FONT color=#006600>moveToFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Movie Clips"</FONT></SPAN>, libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=kw3><FONT color=#0066cc>name</FONT></SPAN>, <SPAN class=kw2><STRONG>true</STRONG></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>; </DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN><SPAN class=kw1><FONT color=#b1b100>else</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>{</FONT></SPAN></DIV>
<LI class=li1>
<DIV class=de1> lib.<SPAN class=me1><FONT color=#006600>moveToFolder</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN><SPAN class=st0><FONT color=#ff0000>"Miscellaneous"</FONT></SPAN>, libItems<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=kw3><FONT color=#0066cc>name</FONT></SPAN>, <SPAN class=kw2><STRONG>true</STRONG></SPAN><SPAN class=br0><FONT color=#66cc66>)</FONT></SPAN>; </DIV>
<LI class=li1>
<DIV class=de1> <SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV>
<LI class=li1>
<DIV class=de1><SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV></LI></OL>
<br /><STRONG><FONT color=#ff6c00>
<P><STRONG><FONT color=#3a32c3>4. 열려있는 fla파일을 한번에 퍼블리싱하는 jsfl</FONT></STRONG></P>
<P><STRONG><FONT color=#3a32c3> </FONT></STRONG><STRONG> <FONT color=#000000>- 첩부파일</FONT> <FONT color=#ff6c00>PublishAll.jsfl</FONT></STRONG></FONT></STRONG></P>
<OL>
<LI class=li1>
<DIV class=de1><SPAN class=kw2><STRONG>var</STRONG></SPAN> flDocs = fl.<SPAN class=me1><FONT color=#006600>documents</FONT></SPAN>;</DIV>
<LI class=li1>
<DIV class=de1> </DIV>
<LI class=li1>
<DIV class=de1><SPAN class=kw1><FONT color=#b1b100>for</FONT></SPAN><SPAN class=br0><FONT color=#66cc66>(</FONT></SPAN> <SPAN class=kw2><STRONG>var</STRONG></SPAN> i=<SPAN class=nu0><FONT color=#cc66cc>0</FONT></SPAN>; i<SPAN class=sy0><FONT color=#66cc66><</FONT></SPAN>flDocs.<SPAN class=kw3><FONT color=#0066cc>length</FONT></SPAN>; ++i <FONT color=#66cc66><SPAN class=br0>)</SPAN><SPAN class=br0>{</SPAN></FONT></DIV>
<LI class=li1>
<DIV class=de1> flDocs<SPAN class=br0><FONT color=#66cc66>[</FONT></SPAN>i<SPAN class=br0><FONT color=#66cc66>]</FONT></SPAN>.<SPAN class=me1><FONT color=#006600>publish</FONT></SPAN><FONT color=#66cc66><SPAN class=br0>(</SPAN><SPAN class=br0>)</SPAN></FONT>;</DIV>
<LI class=li1>
<DIV class=de1><SPAN class=br0><FONT color=#66cc66>}</FONT></SPAN></DIV></LI></OL><p><strong><a href="http://blog1.phps.kr/300?commentInput=true#entry300WriteComment">댓글 쓰기</a></strong></p>