본문 바로가기

공부방/Flex

(58)
FlexBuilder(FlashBuilder)에서 Profiler(프로파일링) 사용 1. FlexBuilder(FlashBuilder)에서 Profiler(프로파일링) 사용시 "Socket Time Out"에러 벌생시 대처방법 : http://hiddenid01.tistory.com/10 1. ProfilerAgent.swf 가 위치한 폴더와 2. 현재 프로젝트의 SWF위치가 모두 LocalTrust영역으로 기재되어 있어야 한다. LocalTrust영역에 대한 정의는 http://hiddenid.tistory.com/5 의 폴더에 이름과 형식에 상관없은 텍스트 파일을 하나 만든후에 위의 1, 2번 항목의 내용을 기재한다. 다음은 본인이 기록한 파일과, 정의된 내용이다. test.txt의 내용 {FlexBuilder worspace}\.metadata\.plugins\com.adobe.f..
[Flex] Custom AIR updater interface using ApplicationUpdater UpdateI have updated the project to work with Flash Builder 4, you can get the code at this post.Original Post:To tell you the truth, I never gave the ApplicationUpdaterUI much thought in terms of memory use before this post. I just thought it was a great way to add a complete update system to your AIR applications. I had not thought it could be so memory intensive until a recent conversation wi..
[Flex] ApplicationUpdater 클래스로 Adobe AIR 자동 업데이트 air 어플리케이션은 수정사항이 있으면 자동적으로 업데이트를 체크해서 어플을 업데이트하는 기능이 꼭 들어가야합니다. 그래서 ApplicationUpdater클래스를 이용해 삽질을 해봤습니다. 보면 ApplicationUpdaterUI라는 클래스도 있는데, 이건 ui적으로 기능이 이미 구현이 되어있는 것입니다. 사용자가 이런 ui를 새롭게 꾸미려면 ApplicationUpdater클래스를 이용해서 내부적으로 처리를 하고, 나머지 ui는 직접 꾸밀 수가 있습니다. 그래서 사용자가 직접 새로운 업데이트air파일을 받는 모습과 업데이트체크를 해서 현재 업데이트가 있는지 등을 구현할 수 있습니다. 사실 과정은 applicationUpdater.checkNow()한번 때려버리면 업데이트가 있으면, 논스톱으로 강제 ..
[Flex] 대용량 파일 전송 Flex에서 소켓을 통한 파일 전송은 100메가 용량만 신뢰성을 보장한다는 내용의 글을 본적이 있다.현재 진행하고 있는 프로젝트에서 대용량의 파일 전송이 요구되어 이를 위해 대용량의 파일을 100메가로 분할 하여 전송하는 방법을 사용하여 문제를 해결 하였다. 아직 잘 다듬어 지진 않았지만 테스트를 위해 사용한 내용을 정리한다. 1. 먼저 파일 브라우저에서 여러개의 파일을 선택하기 위한 부분 구현이다. public var _numCurrentUpload:Number = 0; // 파일 인덱스public var filePosion:uint = 0; // 분할하여 전송중인 파일의 포지션public var currentFileSize:uint = 0; // 전체 파일중 전송 된 파일의 용량public var c..
Communicating between Flash Player and Adobe AIR with sockets This article illustrates how to use sockets to communicate between an AIR 2 application and ActionScript code running in Flash Player. The example includes two programs: an Adobe AIR application and a Flash Player application. The Adobe AIR application acts as the server and listens for Transport Control Protocol (TCP) connections on a socket. This application uses the ServerSocket class added i..
[Flex] Combobox 텍스트 입력 자동 완성 콤보 박스에 텍스트를 입력할 시 에 자동완성 기능을 사용하기 위한 방안이다. Link
[Flex] Object의 Key와 값을 동적으로 적용하기 var example:Object = new Object();example[key] = "value"; 와 같이 간단한 방법으로 적용이 가능합니다 ^^
[Flex] Flex에서 Wake On Lan Command Line 먼저 Wake On Lan에 대한 Command Line에 대한 정보 및 자료는 http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx 에서 참고 하였습니다. Wake On Lan Command LineLooking for wolcmd for OS X - try here Wake on Lan Command Line The command line tool wolcmd is run from a dos prompt. The syntax is as follows: wolcmd [mac address] [ip address] [subnet mask] [port number] you can also do a local broadcast if you are running ..