PDA

View Full Version : problem with localconnection & debugger


Joro
02-25-2008, 08:08 PM
Hi guys,

Im loading a new pano with its own xml in the old pano, but in the old one, i have some swf movies that corespond with it trough the local connection. So, everything works just fine, only that on the transition between the two panos, I get the following msg from the debugger:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at content3d_fla::MainTimeline/sendQuery()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()

If anybody else had this issue and knows how to fix it, it will be very appreciated.

Thanks for ur time and hope u all r having a great day.:)

George

zleifr
02-26-2008, 03:31 PM
Can't tell you anything definitive without seeing the code of content3d. But I can tell you that that means that during the transition, something in the sendQuery function is trying to access a property of an object that doesn't exist during the transition. For example, if the object, junk, does not exist or is nullified during the transition, trying to get junk.smell will yield that error. One debuggin tip is to salt the offending function with trace commands like trace("a"), then trace("b"), and then in the flashlog, you will see your traces followed by the error, which will let you pin down exactly which line in the function is causing the errror.

Zephyr

Joro
02-26-2008, 03:45 PM
10x a bunch, that helped a lot :D