I have an external swf that I am loading into an empty movieclip like so:
this.createEmptyMovieClip("img_mc", 9999);
var my_mcl:MovieClipLoader = new MovieClipLoader();
// Create listener object:
var mclListener:Object = new Object();
mclListener.onLoadError = function(target_mc:MovieClip, errorCode:String, status:Number) {
loading_txt.text = "Error loading image: " + errorCode + " [" + status + "]"
trace("Error loading image: " + errorCode + " [" + status + "]");
};
mclListener.onLoadStart = function(target_mc:MovieClip):Void {
trace("onLoadStart: " + target_mc);
};
mclListener.onLoadProgress = function(target_mc:MovieClip, numBytesLoaded:Number, numBytesTotal:Number):Void {
var numPercentLoaded:Number = numBytesLoaded / numBytesTotal * 100;
trace("onLoadProgress: " + target_mc + " is " + numPercentLoaded + "% loaded");
_root.loading_txt.text = ("onLoadProgress: " + target_mc + " is " + numPercentLoaded + "% loaded");
};
The only problem is that when ever I publish the movie it makes a board around the emptymovieclip and when I full screen it, it doesn’t expand the emptymovieclip too.
Is there anyway to set the dimensions of the empty movie clip?
Any help would be great thanks.:h: