5 Replies Latest reply on Oct 23, 2006 2:44 PM by ForsakenBlade

    Error when values = 0

    ForsakenBlade Level 1
      Alright well my script currently is working great but there is a slight problem.

      My TileList right now displays coordinates / images and whenever the coordinate has a value of 0 in either x or y it gives an error maybe because it believe there is no integer or there is no value i'm not sure as to why this is the error i get.

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at environment/::resultHandler()
      at environment/__sendCoord_result()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.rpc.http.mxml::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()
      at mx.rpc::Responder/result()
      at mx.rpc::AsyncRequest/acknowledge()
      at ::DirectHTTPMessageResponder/completeHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/flash.net:URLLoader::onComplete()


      Help is very much appreciated.