an ActionScript error occurred

devilnash

  • Posts: 43
My God its like error after error with all of this  :'(

i just happen to be changing one of my scenes background and adding a few actors and now the game opens but soon as i go to play it gives me this error

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at com.stencyl.behavior::Script/hideTileLayer()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Script.hx:1480]
   at scripts::SceneEvents_0/init()[Source/scripts/SceneEvents_0.hx:101]
   at com.stencyl.behavior::Behavior/initScript()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/Behavior.hx:94]
   at com.stencyl.behavior::BehaviorManager/initScripts()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/behavior/BehaviorManager.hx:97]
   at com.stencyl::Engine$/initBehaviors()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:1111]
   at com.stencyl::Engine/loadScene()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:982]
   at com.stencyl::Engine/enterScene()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:1780]
   at com.stencyl::Engine/onUpdate()[/Applications/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2605]

devilnash

  • Posts: 43
ok turns out it was a layer issue. all fixed.