0
我将项目从Flex 4.0升级到Flex 4.6,并且所有内容似乎都没有出现任何重大错误。Flex 4.6 hasOwnProperty不工作
但突然的:对完美的作品中的Flex 4.0
代码中使用hasOwnProperty
当我得到
TypeError: Error #1009: Cannot access a property or method of a null object reference.
有问题的代码是:
if(current.hasOwnProperty("x")) current.x = translation.x + originalGeometry.x;
谁能请建议我如何解决这个问题。
请谢谢。
Ç