public var Portrat:Loader = new Loader();
private function Resize(e:Event):void
Portrat.width = 500;
Portrat.height = 500;
this works when i Control+Enter, yet when i enter debug mode it doesn't function properly any reason why?
i added a trace inside Resize it seems to not even trigger this even in debug
What version of Flash?
Have you overlayed a newer version of Flash Player and AIR over your install? Sometimes people forget to update their FlashPlayer.exe and FlashPlayerDebugger.exe. Then you may get a difference.
Make sure you're in strict mode in your publish settings and keep an eye out for any errors. Make sure you're importing the classes you need to do that as well (flash.display.Loader, flash.net.URLRequest, flash.events.Event)