Flex Instantiation Life Cycle and Event Flow
Flex Builder 3에서 Subclipse 사용하기 - 반드시 1.2.x를 설치할 필요는 없다. 패키지 설치시 (require) 표시된 것들은 모두 체크해서 설치해주어야 한다.
ConvolutionFilter explorer
이미지 회전,확대시 깨지는 것 방지하는 방법, smoothing을 사용하자.-지돌스타 블로그
Example: Using the external API with a web page containe - 자바스크립트 호출하기
Refresh xml data in cache
flash filters
현재 URL의 정보 가져오기
Flash의 Cross Domain 문제
RSL 이용해 최종 파일 용량 줄이기
Creating a transparent window application
Flex Builder 3에서 Subclipse 사용하기 - 반드시 1.2.x를 설치할 필요는 없다. 패키지 설치시 (require) 표시된 것들은 모두 체크해서 설치해주어야 한다.
ConvolutionFilter explorer
이미지 회전,확대시 깨지는 것 방지하는 방법, smoothing을 사용하자.-지돌스타 블로그
Example: Using the external API with a web page containe - 자바스크립트 호출하기
Refresh xml data in cache
flash filters
현재 URL의 정보 가져오기
Flash의 Cross Domain 문제
RSL 이용해 최종 파일 용량 줄이기
Creating a transparent window application
Flex Builder / SDK ¶
XML ¶
Loading XML data using ActionScript 3.0
5 Minutes on Adobe Flex – sending XML from Flex to Servlet - 바이너리 데이터를 xml에 포함하는 방법도 나와 있다.
5 Minutes on Adobe Flex – sending XML from Flex to Servlet - 바이너리 데이터를 xml에 포함하는 방법도 나와 있다.
직렬화 ¶
registerClassAlias() API 및 예제
Serializing Flash Objects over HTTP - Part 2
Serializing and Deserializing ValueObjects in Flex and AIR
Integrating Adobe Flex and .NET with ASP.NET MVC - JSON을 이용.
플렉스 직렬화 커스터마이징
DisplayObject serializing
Action script to string serialization and de-serialization
AS3 BitmapData AMF solution using IExternalizable BitmapData 클래스의 직렬화
Flex 10 – upload files using URLRequest
Serializing Flash Objects over HTTP - Part 2
Serializing and Deserializing ValueObjects in Flex and AIR
Integrating Adobe Flex and .NET with ASP.NET MVC - JSON을 이용.
플렉스 직렬화 커스터마이징
DisplayObject serializing
Action script to string serialization and de-serialization
AS3 BitmapData AMF solution using IExternalizable BitmapData 클래스의 직렬화
Flex 10 – upload files using URLRequest
페이지 넘기기 효과 ¶
구현시 에러가 나지 않는 최소 조건은 regionSize 설정 및 최소 두 개의 하위 페이지다.
var book:Book = new Book();
book.width = 500;
book.height = 300;
book.regionSize=200; //설정하지 않으면 에러 발생
book.addChild(new Page()); //반드시 기본으로 두개 이상 필요하다.
book.addChild(new Page());
별도의 라이브러리로 활용하고 싶을 경우,
Flex Builder에서 Flex Library 프로젝트를 만든 뒤 src 폴더에 삽입하면 swc 파일을 얻을 수 있다.
Flex Builder에서 Flex Library 프로젝트를 만든 뒤 src 폴더에 삽입하면 swc 파일을 얻을 수 있다.
override public function set visible(value:Boolean):void {
/** Enable only the pages that are in range **/
if (value) {
// Request to show the page
if ((book.currentPage + 4 > index) && (book.currentPage - 4 < index)) {
// The page is in range – show it
super.visible = true;
}
else {
// The page is not in range – don’t show it
super.visible = false;
}
}
else {
// Request to hide the page
super.visible = false;
}
}
이미지 ¶
How To Make an Image With Border
이미지를 0,0 기준이 아닌 중앙 기준으로 회전 시키고 싶은 경우 또다른 방식 - transform.matrix를 이용한다.
객체들을 원형으로 배열하기
이미지 소스 로딩 완료 감지하기
가로/세로 뒤집기
Calculate Bounding box coordinates from a rotated rectangle, Picture inside
Rotate using Flex BitmapData and Matrix
Duplicating images using the Bitmap and BitmapData classes
Moving rotated objects, the getBounds() bug, and how to fix it : Part One
Eraser effect - 지우개 효과. 사실은 배경을 그려넣는 것으로 완전한 지우개 효과가 아님. 레이어 환경에서는 당연히 쓸 수 없다.
How to Erase line or fill color, i want to create a small brush app with eraser tool Set pixel 32를 사용하는 방법. 벡터를 비트맵데이터로 변환해야 하는 부담이 있지만 현재로써는 가장 완벽한 방법인듯.
이미지를 0,0 기준이 아닌 중앙 기준으로 회전 시키고 싶은 경우 또다른 방식 - transform.matrix를 이용한다.
객체들을 원형으로 배열하기
이미지 소스 로딩 완료 감지하기
가로/세로 뒤집기
Calculate Bounding box coordinates from a rotated rectangle, Picture inside
Rotate using Flex BitmapData and Matrix
Duplicating images using the Bitmap and BitmapData classes
Moving rotated objects, the getBounds() bug, and how to fix it : Part One
Eraser effect - 지우개 효과. 사실은 배경을 그려넣는 것으로 완전한 지우개 효과가 아님. 레이어 환경에서는 당연히 쓸 수 없다.
How to Erase line or fill color, i want to create a small brush app with eraser tool Set pixel 32를 사용하는 방법. 벡터를 비트맵데이터로 변환해야 하는 부담이 있지만 현재로써는 가장 완벽한 방법인듯.
UI ¶
MXML ¶
Item Renderer ¶
Air ¶
하나의 코드로 Air와 Flex 함께 사용하기
Installing and running AIR applications from a web page - 웹 페이지에서 에어 어플리케이션을 설치하고 실행하기
동 문서의 한글판
Air 개발자 FAQ
Customizing the look and feel of a window
The AIR Browser API and User Events 댓글에 따르면 javascript 입력시는 플래시에서 이것이 제대로 된 입력인지 확인을 못한단다. 어쩐지 ExternalInterface.addCallback() 으로 실행되게 만들어 둔 launchApplication() 메서드가 절대로 동작을 안 하더라.
http://blog.everythingflex.com/2009/06/08/open-an-air-application-from-a-2nd-air-application/ ProductManager를 이용하면 Air 어플리케이션을 재시작하거나 다른 Air 어플리케이션을 실행할 수 있다.
http://riaflex.blogspot.com/2007/03/interested-in-server-side-session-state.html ASP.NET의 SessionID를 이용해 브라우저의 세션을 Air에 전달하는 방법. 그러나 URLRequest 혹은 HTTPService의 Header에 Cookie를 추가할 수 없는 버그 https://bugs.adobe.com/jira/browse/FP-209로 인해 사용할 수 없었다.
EncryptedLocalStore 를 이용한 보다 안전한 로그인
Building web and Adobe AIR applications from a shared Flex code base
How to center AIR Application window
Adobe Air: Opening External Links in Another Browser
NativeApplication.nativeApplication.exit() doesn’t exit
AIR InvokeEvent and FileTypes
Working with File objects
flash.filesystem.File
Duplicating images using the Bitmap and BitmapData classes
Updating AIR applications - Presenting a custom application update user interface
Using the Adobe AIR update framework
Installing and running AIR applications from a web page - 웹 페이지에서 에어 어플리케이션을 설치하고 실행하기
동 문서의 한글판
Air 개발자 FAQ
Customizing the look and feel of a window
The AIR Browser API and User Events 댓글에 따르면 javascript 입력시는 플래시에서 이것이 제대로 된 입력인지 확인을 못한단다. 어쩐지 ExternalInterface.addCallback() 으로 실행되게 만들어 둔 launchApplication() 메서드가 절대로 동작을 안 하더라.
http://blog.everythingflex.com/2009/06/08/open-an-air-application-from-a-2nd-air-application/ ProductManager를 이용하면 Air 어플리케이션을 재시작하거나 다른 Air 어플리케이션을 실행할 수 있다.
http://riaflex.blogspot.com/2007/03/interested-in-server-side-session-state.html ASP.NET의 SessionID를 이용해 브라우저의 세션을 Air에 전달하는 방법. 그러나 URLRequest 혹은 HTTPService의 Header에 Cookie를 추가할 수 없는 버그 https://bugs.adobe.com/jira/browse/FP-209로 인해 사용할 수 없었다.
EncryptedLocalStore 를 이용한 보다 안전한 로그인
Building web and Adobe AIR applications from a shared Flex code base
How to center AIR Application window
Adobe Air: Opening External Links in Another Browser
NativeApplication.nativeApplication.exit() doesn’t exit
AIR InvokeEvent and FileTypes
Working with File objects
flash.filesystem.File
Duplicating images using the Bitmap and BitmapData classes
Updating AIR applications - Presenting a custom application update user interface
Using the Adobe AIR update framework
LocalConnection ¶
ArgumentError: Error #2082: Connect failed because the object is already connected 문제 해결책은 코멘트에 있음, 결국 모든 연결의 이름을 다르게 하는 것
Air와 Flex의 통신 예제
Flash와 Air의 통신, 어도비 사이트
Air의 AS와 JS 간의 통신
Air와 Flex의 통신 예제
Flash와 Air의 통신, 어도비 사이트
Air의 AS와 JS 간의 통신