this.createEmptyMovieClip("loader_mc", this.getNextHighestDepth());
loader_mc.loadMovie("1001.swf");
this.onEnterFrame = function() {
var p = loader_mc.getBytesLoaded() / loader_mc.getBytesTotal();
trace(p);
if (1 == p) {
loader_mc._width = 200;
loader_mc._height = 200;
delete this.onEnterFrame;
}
};
loader_mc.loadMovie("1001.swf");
this.onEnterFrame = function() {
var p = loader_mc.getBytesLoaded() / loader_mc.getBytesTotal();
trace(p);
if (1 == p) {
loader_mc._width = 200;
loader_mc._height = 200;
delete this.onEnterFrame;
}
};
2. Scaleform GFx可以加載tga圖片,帶Alpha通道的tga不行,flash player不能加載tga。
Q:GFx怎么加載打包好的文件呢?
A:估計是用從GFxFileOpener繼承的類來搞。就是這兒了,但是怎么返回GFile*呢?
3.