Исправила ошибку. Спасибо. Сработало.
Training (флэш почему-то не отображается?.. белый экран получается):
Код AS3:
import caurina.transitions.*;
var mcCurr = this;
function loadResource(resURL)
{
var url = resURL;
var request1 = new URLRequest(url);
var loader1 = new Loader();
var mc1 = this.work1.workMc;
var nc = mc1.numChildren;
if (nc)
{
var l1 = mc1.getChildAt(0);
mc1.removeChild(l1);
l1 = null;
}
loader1.load(request1);//start loading img/swf
mc1.addChild(loader1);
loader1.contentLoaderInfo.addEventListener("complete", finished_loading);
loader1.contentLoaderInfo.addEventListener("progress", progress_loading);
}
function progress_loading(e:Event)
{
loader.rotation +=5;
}
function finished_loading(e:Event)
{
loader.visible =false;
Tweener.addTween(mcCurr, {transition:"easeOut"});
}
loadResource("image_gallery_as3.swf");