![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Flex/As3/Flash
chjh0540237
程序猿
展开
-
AS3 textfield.getCharBoundaries(index) 有时会返回NULL的问题解决方案
我在使用TextField.getCharBoundaries(index)方法时,发现在htmlText赋值后,有时会得到NULL值,经一翻搜索询问,发现下面方法可以解决此问题在使用此方法前需重新设置下文本高度,如下:sourceHeight = textfield.height; //保存原高度,用于后面还原回来textfield.height = textfield原创 2012-07-28 16:24:31 · 2587 阅读 · 0 评论 -
Error #2044: 未处理的 IOErrorEvent:。 text=Error #2035: 找不到 URL——问题处理
Error #2044: 未处理的 IOErrorEvent:。 text=Error #2035: 找不到 URL这是flash加载外部资源时有时会遇到的问题,对于此问题解决如下添加IOErrorEvent事件监听,针对Loader和URLLoader添加方式有所不同varloader:Loader = newLoader();loader.contentLoader原创 2013-07-14 19:43:21 · 23458 阅读 · 0 评论 -
Flash air应用重启功能实现
在网上看到的,稍加整理记录下来以供参考思路是找到application的文件路径,利用NativeProcess的start函数启动应用程序文件,代码如下function restart():void{ var appFile:File = File.applicationDirectory.resolvePath("appname原创 2014-04-16 15:42:34 · 2099 阅读 · 0 评论 -
Flash Builder 调试器无法连接到正在运行的应用程序
在搞flah Web项目时遇到了如下问题:原创 2014-07-21 17:16:33 · 5669 阅读 · 2 评论