Skip navigation
teufteuf22
Currently Being Moderated

IOS 6.0 simulator error / Flex+AIR 3.5

Nov 23, 2012 12:02 PM

Tags: #flex-mobile #flex-4.6 #air3

I am not able to run a Flex/AIR program on the IOS 6.0 simulator. I searched all forums. I am new to using IOS simulator. Any help is appreciated.

 

I am using Flex 4.6 and AIR 3.5, with target swf version 18. A simple Flex app (WindowedApplication with a Label in it) crashes at initialization in IOS simulator.

 

<?xml version="1.0"?>

<s:WindowedApplication

  xmlns:fx="http://ns.adobe.com/mxml/2009"

  xmlns:mx="library://ns.adobe.com/flex/mx"

  xmlns:s="library://ns.adobe.com/flex/spark">

  <s:Label text="Test"/>

</s:WindowedApplication>

 

 

TypeError: Error #1009: Cannot access a property or method of a null object reference.

  at spark.components::WindowedApplication/initialize()

  at ptest/initialize()

  at mx.managers.systemClasses::ChildManager/childAdded()

  at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()

  at mx.managers::SystemManager/initializeTopLevelWindow()

  at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()  at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()

  at flash.events::EventDispatcher/dispatchEventFunction()

  at flash.events::EventDispatcher/dispatchEvent()

  at mx.preloaders::Preloader/timerHandler()

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points