soulwire/SoulwireAS3Framework — Issue #8: Deploying to iOS device with simpleGUI
Author: RethinkFlash
Created: 2011-11-04 22:13:25+00:00
State: open

When instantiating simpleGUI in the following manner:

private var gui:SimpleGUI;

gui = new SimpleGUI(this,"Example GUI");

and deploying to iOS (iPad in this case), I receive the following error

TypeError: Error #1009: Cannot access a property or method of a null object reference. at uk.co.soulwire.gui::SimpleGUI/initContextMenu()[simpleGUI/uk/co/soulwire/gui/SimpleGUI.as:615] at uk.co.soulwire.gui::SimpleGUI()[simpleGUI/uk/co/soulwire/gui/SimpleGUI.as:117] at SimpleGUIMobileExample/init()