小实验后随笔,未经严格测试和理论依据,仅供参考
trace(test_mc._visible); test_mc._visible = false; //对一个剪辑设置了visible属性后,加载资源会使得visible属性无用。 //test_mc._width = 20; //对一个空的剪辑设置宽高会使得这个剪辑在加载资源后不会自动调整宽高。 var Media_ml:MovieClipLoader = new MovieClipLoader; //Media_ml.loadClip('D:/project/Flash/flash_plugins/res/1.jpg', test_mc); test_mc.loadMovie('D:/project/Flash/flash_plugins/res/1.jpg'); //setInterval(test,1000, test_mc); function test(Amc:MovieClip){ trace(Amc._visible); Amc._visible = false; } trace(test_mc._visible);