eugene.litvinov Posted April 11, 2011 Posted April 11, 2011 WidgetFlash flash = new WidgetFlash(engine.getGui(), "source/gui/menu.swf"); engine.gui.addChild(flash, GUI_ALIGN_OVERLAP); // next two lines is compulsory, if I remove it, engine is crashed. flash.setWidth(flash.getFlashWidth()); flash.setHeight(flash.getFlashHeight()); Proposal: move this calls inside of WidgetFlash constructor, for correct updates flash container size.
Recommended Posts