`
lxs647
  • 浏览: 517332 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
如题:   偶尔会出现如下错误,在debug的时候:   TypeError: Error #1009: Cannot access a property or method of a null object reference at spark.components::Scroller/focusInHandler()[....\sdks\4.5.1\frameworks\projects\spark\src\spark\components\Scroller.as:1273]   跟进代码中去看1273 行如下:   override protected function ...
<?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2010/01/20/constraining-the-movement-on-a-spark-titlewindow-container-in-flex-4/ --> <s:Application name="Spark_TitleWindow_windowMoving_afterBounds_test" xmlns:fx="ht ...
关于cygwin的安装:1. 最好不要到www.cygwin.com下载cygwin..也就是说不要从Internet上安装cygwin,而要从本地安装(PS:往往千奇百怪的错误就是因为从internet下载的cygwin的版本引起的)。,从这里下载http://140.116.72.80/~smallko/ns2/ns_setup.rar  2.解压下载的文件点setup..选“Install from Local Directory”,选好下载的文件所在的位置"ftp%3a%2f%2fftp.nctu.edu.tw%2fWindows%2fcygwin",安装 XFree ...
1. 资源 1.1. 网址链接 主页: http://www.cygwin.com/ 同步: ftp://ftp.sunsite.utk.edu/pub/cygwin/release/ ftp://anonymous:cygwin@ftp.gnupilgrims.org/pub/cygwin/release/   1.2. WIKI 关键字   2. 版本 最新版本: 2004/01/31 : [Cygwin DLL 1.5.7-1 relea ...
 Cygwin在window下的完全卸载自己有找到比较好的方法,在网上看到了这个解决办法,挺不错的,共有需要的人参考。具体步骤如下:1.删除安装用的临时文件夹(在cygwin里输入命令) $ rm -f /cygdrive/c/你的临时文件夹2.停止cron service$ cygrunsrv --stop cron$ cygrunsrv --remove cron3.停止并删除inetd服务$ net stop inetd$/usr/sbin/inetd --remove-as-service4.删除安装文件夹,默认是c:\cygwin5.删除桌面上的icon,和开始菜单里的启动文件夹6. ...
            下载安装Cygwin   我们可以到Cygwin的官方网站下载Cygwin的安装程序,地址是:     http://www.cygwin.com/ 或者直接使用下载连接来下载安装程序,下载连接是:     http://www.cygwin.com/setup.exe 下载完成后 ...
通过cygdrive命令,在cygwin窗口中可以将本地文件上传至目标linux服务器中、、、   在cygwin窗口中命令如下:   test@test ~ $ cd /cygdrive/f/20110929 test@test /cygdrive/f/20110929 $ ls   将本地20110929中的所有以tar.gz的压缩包上传至   test@testredhat 中的tmp目录下(开启的端口假设是9022):   test@test /cygdrive/f/20110929 $ scp -P 9022 *.gz test@testredhat: ...
什么是GPL开源协议? 我们很熟悉的Linux就是采用了GPL。GPL协议和BSD, Apache Licence等鼓励代码重用的许可很不一样。GPL的出发点是代码的开源/免费使用和引用/修改/衍生代码的开源/免费使用,但不允许修改后和衍生的代 码 ...
在Flex中 从低版本向高版本迁移的过程中,其中会出现如下一问题:   The style 'backgroundSize' is only supported by type 'mx.containers.Canvas' with the theme(s) 'halo' The style 'xxxx' is only supported by type 'mx.containers.xx' with the theme(s) 'halo'   解决办法:   1.项目右键-properties-Flex Build Path -Source path tab, 【Add ...
Following up on my previous post, here's how to archive a bunch of files and make a zip file.After getting all the files you want to put in the archive, create a new ZipEntry object for each file and add it to a ZipOutput object using the putNextEntry() of the ZipOutput class. Then pass the ByteArray ...
下面是一段在Adobe air中解压zip的代码,是从一个老外的博客中转来的: Today, I'm going to show you how you can use the nochump library to extract zip files with Adobe AIR.The ZipFile class constructor takes an IDataStream object as the parameter.Here you can use a ByteArray or a FileStream object which contains the data of the z ...
在用Flex Ant 来编译Flex Builder项目的过程中,报错如下:   Error: unable to resolve 'assets/**.jpg'   但是如果不用内嵌资源文件,或者是直接在Flex Builder下就正常。后来在adobe官网找到了答案。   在他们的bug列表里面作为一个bug进行发布:   地址如下:   http://bugs.adobe.com/jira/browse/SDK-14690   http://bugs.adobe.com/jira/browse/SDK-15466   解决办法如下:   在相对路径前加&qu ...
推荐 Flash Builder 4.0 的一个代码提示插件: sourcemate。。。   现在最新的版本是v3.0 for Flash Builder 4.5 v2.0 是Flash Builder 4.0。   刚才把v3.0的装在了FlashBuilder 4.0上,发现重启Flash Build是报错,而且打开mxml文件也报错:   。。。。/sourcemateASMxml.   只要卸掉v3.0 装上v2.0即可。。。   其更新地址如下:   http://updates.elementriver.com/sourcemate/v2   htt ...
在Flex中,有如下一个需求:     通过一个compress按钮,将项目中的指定目录下(当然还包括子目录,每个目录下也可能有文件)以该目录的名字为名,进行压缩打包导出。   顺序如下:   1.【compress】按钮,选择本地的存放目 ...
var file:File; protected function browseButton_clickHandler(event:MouseEvent):void{    var zipFileName:String = "\\test.zip ";    if(null == file){     file = new File(zipFileName);    }    file.addEventListener(Event.SELECT,saveFileSelectHandler);    file.browseForSave("Save archive ...
Global site tag (gtag.js) - Google Analytics