显示错误时更改/删除Flash Builder swc构建路径

问题描述 投票:0回答:1

我已经对这个问题进行了一些搜索,但我没有得到任何可靠的答案。我得到的最接近的问题是:How to use a relative path for a swc library in Flash Builder 4.6然而这并不是我想要的。

当我的项目中出现错误时,我可以在flash调试器中看到我的.swc文件的完整路径。

    TypeError: Error #1085: The element type "link" must be terminated by the matching end-tag "</link>". at utility::utilController/receiveData()[/Users/myUserName/Documents/Public/packages/DataController/src/data/MainData.as:256]

为了进一步解释,会发生什么,加载和解析XML文件。有时加载XML文件时出错,即使我有一个IO_ErrorEvent处理程序,上面提到的错误仍然会在运行时出现在调试器中。我只想找到一种方法来隐藏我的MainData.as文件的路径。所以不要看

TypeError: Error #1085: The element type "link" must be terminated by the matching end-tag "</link>". at utility::utilController/receiveData()[/Users/myUserName/Documents/Public/packages/DataController/src/data/MainData.as:256]

你会看到类似的东西:

TypeError: Error #1085: The element type "link" must be terminated by the matching end-tag "</link>". at utility::utilController/receiveData()[../data/MainData.as:256]

这样我的.as文件的完整路径就不会出现了。希望这能解决我的问题。

actionscript-3 flash-builder swc
1个回答
0
投票

我最后只是做了一个发布版本。无论如何我不得不这样做,所以这解决了我的问题。

© www.soinside.com 2019 - 2024. All rights reserved.