보안 ¶
secureSWF(http://www.kindisoft.com/secureSWF/features-editions.php)
패턴 ¶
Singleton in AS3(http://www.tricedesigns.com/tricedesigns_home/blog/2006/09/singleton-in-as3.html)
페이지 넘기기 효과 ¶
온라인 카타로그처럼 페이지 넘기는 효과
소스코드(http://www.rubenswieringa.com/blog/flex-book-component-beta)
데모(http://www.rubenswieringa.com/code/as3/flex/Book/) - 사이트가 상당히 느리다.
또 다른 데모(http://www.rubenswieringa.com/blog/book-beta-bug-fixes-simple-demo)
라이선스는 CC. 패키지로는 배포되지 않고 있으며,
댓글(http://www.rubenswieringa.com/blog/flex-book-component-beta/#comment-18147)에 저자가 남긴
소스코드 압축파일(http://www.rubenswieringa.com/code/as3/flex/Book/source/Book%20demo.zip)을 받아 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://www.rubenswieringa.com/blog/flex-book-component-beta#comment-84732) 대로 소스의 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;
}
}
글꼴 ¶
시스템에 설치된 글꼴 알아내기(http://blog.flexexamples.com/2007/09/10/finding-out-which-fonts-are-installed-on-a-users-system/)