In case you translate the GUI into a language not yet covered, please consider contributing to the project by submitting the translated XML file to be used in future releases, thank you!
import de.mightypirates.megazine.MegaZine;var mz:MegaZine = new MegaZine("megazine.xml","bin/interface.swf");addChild(mz);
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::Loader/unload() at de.mightypirates.megazine.elements::Image/de.mightypirates.megazine.elements:Image::destroy() at flash.display::DisplayObjectContainer/removeChild() at de.mightypirates.megazine::Element/unload() at de.mightypirates.megazine::Page/de.mightypirates.megazine::unload() at de.mightypirates.megazine::PageLoader/::rebuildQueue() at de.mightypirates.megazine::PageLoader/::delayedRebuild() at flash.utils::Timer/flash.utils:Timer::_timerDispatch() at flash.utils::Timer/flash.utils:Timer::tick()
override public function destroy():void { super.destroy(); if (loader != null) { try { loader.close(); } catch (er:Error) { } loader = null; } while (numChildren > 0) { var child:DisplayObject = getChildAt(0); if (child is Bitmap) { (child as Bitmap).bitmapData.dispose(); } removeChild(child); } }