[카테고리:] Flash

  • ActionScript 2.0 to 3.0 Migration Cheatsheets!

    This is AS2 to AS3 migration cheatsheets from actionscriptcheatsheet.com.

    as3cs_migration.pdf

    actionscriptcheatsheet.com에서 제작한 AS2에서 AS3로 가면서 바뀐 클래스나 메소드, 프로퍼티들을 정리해 놓은 문서입니다.
  • Hello World!

    This is my first AS3 code to trace "Hello World."
    처음으로 만들어 본 Hello World를 출력하는 AS3 코드입니다.
    初めに作成して見た”Hello World”を出力するAS3.0のコードです。
    package {
        import flash.display.Sprite;
    
        public class HelloWorld extends Sprite {
            public function HelloWorld(  ) {
                var msg:String = "Hello, World!";
                trace(msg);
            }
        }
    }
  • Preloading Files into the Browser’s Cache

    이미지 등을 플래시로 직접 로드하지 않고 브라우저의 캐쉬로 로드하여, 필요할 때 빨리 로드가 가능하도록 해주는 클래스입니다.

    LoadVars를 이용한 트릭을 사용했다고 하네요.

    Preloading Files into the Browser’s Cache

  • FZip

    FZip은 AS3.0 클래스 라이브러리로서
    Zip 파일을 로드/압축해제하여, Zip 파일 내에 포함된 파일을 사용할 수 있습니다.

    1000개의 png 아이콘을 포함하는 zip 파일을 로드함과 동시에 아이콘들을 압축해제하여 화면에 표시하는 데모도 볼 수 있습니다.