Hi All
would someone beable to explain/help how to constrain a container that loads in external swf/images.
I think its something to do with resizer events ? this is the script I use with the container which is called ‘loader_mc’
var loader_mc : Loader = new Loader();
var urlRequest : URLRequest = new URLRequest("images.swf");
loader_mc.load(urlRequest);
addChild(loader_mc);
my_button.addEventListener(MouseEvent.CLICK, buttonClick)
function buttonClick(e:MouseEvent):void
{
try{
loader_mc.unloadAndStop();
} catch(e:Error) {
}
. . . anythougths on an easy way to do this?
thanks for your help!