eugene.litvinov Posted April 11, 2011 Share 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. Link to comment
serega Posted April 12, 2011 Share Posted April 12, 2011 Thanks, added to bug tracker. Link to comment
Recommended Posts