0
은 십여 개의 작은 모델이있는 단일 모델을로드하는 작업을 가졌습니다. 모든 것이 좋지만 더 빠른 다운로드, 유형 1, 모델 2 ...에 대한 개별 모델로 분할됩니다. 코드와 함께 반복되지 않도록 쓸 수 있습니다.하나의 다중 모델로드
var mc1:URLLoader = new URLLoader();
mc1.dataFormat = URLLoaderDataFormat.BINARY;
mc1.load(new URLRequest("models/model1.3ds"));
mc1.addEventListener(Event.COMPLETE, on3dsLoad);
var mc2:URLLoader = new URLLoader();
mc2.dataFormat = URLLoaderDataFormat.BINARY;
mc2.load(new URLRequest("models/model2.3ds"));
mc2.addEventListener(Event.COMPLETE, on3dsLoad);
mc2.addEventListener(Event.COMPLETE, on3dsLoad);
...