18 Replies Latest reply on Jun 23, 2011 10:25 AM by JDBird1000

    Weather.com integration


      I am trying to convert an ActionScript/XML based code that I found over the Internet to Flex. The code is supposed to connect to weather.com and display the weather. The article is at: http://www.thetechlabs.com/xml/creating-a-weather-widget-with-xml-and-as3/

      I am able to compile and deploy the code but when I try to run it, I am getting an error message:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at HelloWorld()
      at _HelloWorld_mx_managers_SystemManager/create()
      at mx.managers::SystemManager/initializeTopLevelWindow()
      at mx.managers::SystemManager/ http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()

      The url works fine as I am able to load it in a browser and am getting a valid xml response.