将数据粘贴到 TextInput 时出错
在我的 Flex 4 应用程序中,我有一个 Spark 文本输入。当用户从剪贴板粘贴数据时,如果剪贴板包含不同的格式(字符串除外),则会抛出错误。这是我收到的错误消息。
"TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components::RichEditableText/handlePasteOperation()
[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\RichEditableText.as:3611]"
有什么办法可以处理这个问题吗?
谢谢 马诺伊
In my Flex 4 application I have a spark text input. When the user pastes data from clipBoard it throws error if the clipBoard contains a different format (other than string). This is the error message i am getting.
"TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components::RichEditableText/handlePasteOperation()
[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\RichEditableText.as:3611]"
Is there any way to handle this?
Thanks
Manoj
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来这是 a 已知 问题。我能找到的唯一建议来自 rdermer 在这些线程之一上:
It looks like this is a known problem. The only suggestion I could find was from rdermer on one of those threads: