_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");
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");
回复Comments
作者:
{commentrecontent}