XML

[http]Loading XML data using ActionScript 3.0
[http]5 Minutes on Adobe Flex – sending XML from Flex to Servlet - 바이너리 데이터를 xml에 포함하는 방법도 나와 있다.

보안

페이지 넘기기 효과

온라인 카타로그처럼 페이지 넘기는 효과
[http]소스코드
[http]데모 - 사이트가 상당히 느리다.
[http]또 다른 데모

라이선스는 CC. 패키지로는 배포되지 않고 있으며,
[http]댓글에 저자가 남긴 [http]소스코드 압축파일을 받아 com, org 폴더만 복사해서 쓰면 된다.

구현시 에러가 나지 않는 최소 조건은 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 파일을 얻을 수 있다.

페이지가 많을 경우(30개 이상) 속도가 매우 느려지는데,
[http]커멘트 대로 소스의 page.as에 다음을 추가하면 해결된다.

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; } }

Air

[http]하나의 코드로 Air와 Flex 함께 사용하기
[http]Installing and running AIR applications from a web page - 웹 페이지에서 에어 어플리케이션을 설치하고 실행하기
[http]동 문서의 한글판
[http]Air 개발자 FAQ
[http]Customizing the look and feel of a window
[http]The AIR Browser API and User Events 댓글에 따르면 javascript 입력시는 플래시에서 이것이 제대로 된 입력인지 확인을 못한단다. 어쩐지 ExternalInterface.addCallback() 으로 실행되게 만들어 둔 launchApplication() 메서드가 절대로 동작을 안 하더라.
[http]http://blog.everythingflex.com/2009/06/08/open-an-air-application-from-a-2nd-air-application/ ProductManager를 이용하면 Air 어플리케이션을 재시작하거나 다른 Air 어플리케이션을 실행할 수 있다.
[http]http://riaflex.blogspot.com/2007/03/interested-in-server-side-session-state.html ASP.NET의 SessionID를 이용해 브라우저의 세션을 Air에 전달하는 방법. 그러나 URLRequest 혹은 HTTPService의 Header에 Cookie를 추가할 수 없는 버그 [https]https://bugs.adobe.com/jira/browse/FP-209로 인해 사용할 수 없었다.
[http]EncryptedLocalStore 를 이용한 보다 안전한 로그인
[http]Building web and Adobe AIR applications from a shared Flex code base
[http]How to center AIR Application window
[http]Adobe Air: Opening External Links in Another Browser
[http]NativeApplication.nativeApplication.exit() doesn’t exit
[http]AIR InvokeEvent and FileTypes
[http]Working with File objects
[http]flash.filesystem.File
[http]Duplicating images using the Bitmap and BitmapData classes
[http]Updating AIR applications - Presenting a custom application update user interface
[http]Using the Adobe AIR update framework

powered by Moniwiki | themed by clockoon
last modified 2010-05-21 12:17:16
Processing time 0.2573 sec