Hello Experts,
I have a small issue in ActionScript 2.0. I want to know the stage width and height for external SWF file.
I used the following code:
var loader:MovieClip = _root.createEmptyMovieClip('loader', 1);
var obj:Object = new Object();
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.loadClip("external.swf",loader);
mcl.addListener(obj);
obj.onLoadInit = function(mc)
{
trace(mc._width);
trace(mc._height);
};
It's showing the whole animation's width and height but I want only stage width & height
How is it possible?
Thanks in advance for your comment...