1
2
3
4
5
6
7
8
9
10
11
12
13
// Flash 가 AS 3.0 기반으로 했을 경우 가능
 
public function initApp() : void {
    swfContent.addEventListener("init", swfLoaderInithandler);
    swfContent.load("/flashswf");
}
 
public function swfLoaderInithandler(event:Event) : void {
    var flashObj : Object = event.currentTarget.content;
         
        // Flash public 함수 호출
       flashObj .test();
}

+ Recent posts