Develop and Download Open Source Software

Browse Subversion Repository

Contents of /NyARToolkitAS3/trunk/sample/pv3d/src/Main.as

Parent Directory Parent Directory | Revision Log Revision Log


Revision 995 - (show annotations) (download)
Tue May 1 13:27:03 2012 UTC (2 years, 4 months ago) by nyatla
File size: 426 byte(s)
1 package
2 {
3 import flash.display.Sprite;
4 import flash.events.Event;
5
6 /**
7 * ...
8 * @author nyatla
9 */
10 public class Main extends Sprite
11 {
12
13 public function Main():void
14 {
15 if (stage) init();
16 else addEventListener(Event.ADDED_TO_STAGE, init);
17 }
18
19 private function init(e:Event = null):void
20 {
21 removeEventListener(Event.ADDED_TO_STAGE, init);
22 // entry point
23 }
24
25 }
26
27 }