Current Position:Home > Swf works with errors but how hide them from browser?

Swf works with errors but how hide them from browser?

Update:10-11Source: network consolidation
Advertisement
Hi!
I've made an AS3 application loading and manipulating some XML data. The application works but there are some errors in the Output panel I'm unable to get rid of. But when I publish to HTML they also show up in FireFox. How can I flag them as non crusal and prevent them from popping up. Or even better correct and remove them?
Here they are:
TypeError: Error #1010: A term is undefined and has no properties.
     at qven_fla::MainTimeline/xmlLoaded()
     at flash.events::EventDispatcher/dispatchEventFunction()
     at flash.events::EventDispatcher/dispatchEvent()
     at flash.net::URLLoader/onComplete()
TypeError: Error #1010: A term is undefined and has no properties.
     at qven_fla::MainTimeline/openInfo()
The 'Error #1010' can in some cases be removed by referring to an xml object node as myXML[i] instead of myXML[i].text(), but I'm not able to remove it completely in my application.
Anyone have a clue?
Thanks

The Best Answer

Advertisement
I'm now embarrased to admit I actually control the XML as well. But I'll add receptionist to my resyme so I have a backup-plan in case Steve Jobs succeed his crusade.
But it's a fair assumption, Andrei1, since I didn't even know what, where or even if it's in my XML the problem resides.
I've never done the try/catch thing but I'll look into it. But to find the problem might be better in this case.....me...and my XML which is a 10000 line xml file I've exported from Excel. Are there any known issues? I'm looking for whitespaces or what?
Thanks so much both of You