获得用createEmptyMovieClip 创建的mc载入外部jpg或swf后的._width

      flash学习 2004-8-8 23:27
_root.createEmptyMovieClip("cc", 0);
myloadmovie = function (load_mc,myurl_str) {
load_mc.loadMovie(myurl_str);
var w = load_mc._width;
var h = load_mc._height;
if (w>1) {
trace(w+"-----------"+h);
clearInterval(id);
}
};
id = setInterval(myloadmovie, 100,cc,"mypic.jpg");
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}
}