1, first , uninstall your flash player in your computer , download the uninstall software of player;
2, install plugin for windows , download
3, download the lastest sdk of flex , the lastest sdk is 3.0.3.2228 , your can see your sdk of install in your computer, that it can be within adobe Flex Builder 3/sdks/3.0.0/flex-sdk-description.xml, the content of that is :
Flex 3 3.0.0 477 . it is meaning of your sdk is 3.0.0.477 , your must update the sdk ;
your can see it in the web阅读全文>
发表于 @ 2008年06月26日 21:53:00|评论(loading...)|编辑|收藏
Modest Maps 提供了一套查看卫星地图的api ,你不用管它是怎么调出图片的,你只要写几个简单的动作就可以了,非常的方便.里面提供了google和MS和yahoo的地图,供你选择,但我看了一下.对中国的城市好像不能放的特别的大以至于能看到街道,美国的城市就可以,能在街道上看到人.
阅读全文>
发表于 @ 2008年05月28日 12:11:00|评论(loading...)|编辑|收藏
1,TweenLite class : 应该可以说是Tween类的精装版,小巧,但很实用,
2,cairngorm 框架 : 不用多说了.adobe官方推荐的一个MVC框架,确实非常好,在开发中带来了很多的便利.
3,Aswing UI : 这个真的是非常好的一套组件,也应该是有很长的时间了,从最早的as2就有了.后来升级到as3,我个人觉的是比flash v3组件好,但是唯一的不好是布局太麻烦了,我在开发中,布局的时候总是占用了不少时间.
4,DistortionEffects : 是一个flex的变形特效组件,里面很多的底层代码都是PV3D的内容.
5,Common-SJD-Lib 组件库 : 也是flex的, 里面有很多很实用的组件,比如AdvanceTabNavigator,ClearTextInput,HTMLToolTip ,ResizeWindow,TemplateInput 相信你们一看名字就应该知道这些组件的作用吧. url:http://www.flex-flex.net/blog/
6,ColorMatrix class : 一个调阅读全文>
发表于 @ 2008年05月26日 09:12:00|评论(loading...)|编辑|收藏
1,AIR在flash中的应用
一定要先安装一个flash的AIR插件
,http://labs.adobe.com/wiki/index.php/AIR:Flash_CS3_Professional_Update);
然后就是创建一个fla文件,在publish settings里把version改成adobe AIR,然后就在fla创作了,最后只要在
commands下的application and install setting里设置一下,然后在commands下的create air file,如果没有特别
的需要,在setting里就按默认的吧,这样就能创建AIR了,也会自动帮你生成app.xml文件(配置文件),傻瓜型的...
2,AIR在dreamweaver里的应用
先要安装AIR的sdk ; 自己去官方网站搜一下吧,然后要知道ADL这个东西,其实是一个AIR的调试器,它可以让你的
AIR运行,而不用先安装, ADL当然可以trace和反映一些运行时的错误,但不知道断点.而且ADL必须和AIRSDK是在同
一般目录下的.阅读全文>
发表于 @ 2008年05月15日 16:40:00|评论(loading...)|编辑|收藏
一般都是flex来加载as3的swf,可由于项目的需要,偏偏要反一下,可还是可行的。通过flex里的systemManager,其实它是movieClip的子类,大家应该想到了吧,在as3中用loader加载flex的swf后,loader.content其实就是flex的systemmanager,而且systemmanager有一个属性application就是flex的application,你可以直接调flex里的函数,哈哈。可就是我想for each in来把systemManager下的东西都打印出来,可好像不行..
view url: http://www.sandy1219.cn/flex/testConnFlexandAS/flash.html
download url: http://www.sandy1219.cn/flex/testConnFlexandAS/testConnFlexandAS.rar
阅读全文>
发表于 @ 2008年04月29日 17:50:00|评论(loading...)|编辑|收藏
可以在flex builder的左下角看到内存的使用情况,还可以使用GC,来内存回收,当然这个内存回收是对于flex builder来说的。
1,首先在flex builder安装目录下的FlexBuilder.ini,加入
-debug
options
2,然后在目录下创建一个options文件(没有后缀名的) 内容是
org.eclipse.ui/perf/showHeapStatus=true
,
OK,重启一下flex builder 就可以了。
阅读全文>
发表于 @ 2008年03月17日 22:07:00|评论(loading...)|编辑|收藏
FlexBuilder.ini文件
-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=256m
-XX:PermSize=64m
-Djava.net.preferIPv4Stack=true
1,JVM初始分配的内存由-Xms指定,默认是物理内存的1/64;JVM最大分配的内存由-Xmx指定,默认是物理内存的1/4。
2,JVM使用-XX:PermSize设置非堆内存初始值,默认是物理内存的1/64;由XX:MaxPermSize设置最大非堆内存的大小,默认是物理内存的1/4。
阅读全文>
发表于 @ 2008年03月17日 09:36:00|评论(loading...)|编辑|收藏
flash player 9.0.115发布了,很多视频网站都已经在用了.高清晰的就是不一样的...
New audio/video options with H.264/HE-AAC codec support
新的音频及视频标准支持 H.264/HE-AAC 高清编码格式
Improved Performance through multi-core support for rendering, hardware scaling in full-screen, multi-threaded video decoding, a new algorithm for image scaling, and the Flash Player cache for local caching of common platform components to reduce SWF sizes and app loading times
多管道渲染,硬件全屏缩放,多种视频解码,一个新的图片缩放算法,以及减少本地平台Flash Player共享内容,和减少应用程序的读取时间
Su阅读全文>
发表于 @ 2007年12月13日 09:33:00|评论(loading...)|编辑|收藏
http://www.colettas.org/?p=159 ;
TileList 会比Tile性能上好一点 ,
阅读全文>
发表于 @ 2007年12月07日 15:48:00|评论(loading...)|编辑|收藏
即使你设了ToggleButtonBar 的 selectedIndex= -1 ,但好象还是不能取消选种状态的.不知道算不算是一个bug ,
但是可以这样解决 :
Button(ToggleButtonBar .getChildAt(ToggleButtonBar .selectedIndex)).selected = false ;
阅读全文>
发表于 @ 2007年12月06日 11:12:00|评论(loading...)|编辑|收藏
mx.core::Singleton$/getInstance()[C:\dev\flex_201_gmc\sdk\frameworks;mx\core;Sin\gleton.as:49]at mx.styles::StyleManager$cinit()at [newclass]at.global$init()[C:\dev\flex_201_gmc\sdk\frameworks;mx\styles;阅读全文>
发表于 @ 2007年07月31日 10:39:00|评论(loading...)|编辑|收藏
虽然你在application级别上禁用了右键的菜单,可是不知道你有没有发现只要popupManager出来的面板和比如一些组件弹出的菜单:combobox,popupmenubutton....里面的右键菜单其实没有禁用调。因为一些组件是systemmanger的子类,而不是application的子类。阅读全文>
发表于 @ 2007年07月28日 14:56:00|评论(loading...)|编辑|收藏
这个是在bindable经常会碰到的警告,虽然是警告.但也要弄清楚.
These warnings are there because if you have some code that modifies the individual fields of selectedItem, the binding mechanism will not be able to detect them. A better way to write this would be to create separate variables for the two values:
阅读全文>
发表于 @ 2007年07月26日 10:33:00|评论(loading...)|编辑|收藏
2.在flex里,我首先的做法是把图片都放在一个SWF库里,然后通过loader加载进来,当然ApplicationDomain.currentDomain我肯定设了,在文本框里显示图片,一开始是没有问题,但是当出现滚动条的时候,就会抱错.说是displayobject不是它的子集,我感到非常的奇怪.还有flex对于变化的gif图片其实是支持的不好,只能显示第一针的图片.我现在的做法只能把每张图片放在swf里,然后再加载,就是在htmltext里的src里写详细的地址.当然这样就会产生要有一段加载的过程.阅读全文>
发表于 @ 2007年06月26日 19:25:00|评论(loading...)|编辑|收藏
Flex程序执行的过程中会触发preinitialize, initialize和creationComplete事件,还会创建静态成员变量和成员变量。create static membercreate member application preinitialize TestBox1 preinitialize TestBox1 initializeTestBox2 preinitialize TestBox2 initializeapplication initialize TestBox1 creationCompleteTestBox2 creationCompleteapplicationcreationComplete 事实上,Flex中一个组件的initialize过程包括它的子组件的preinitialize和initialize两个过程。阅读全文>
发表于 @ 2007年05月24日 19:03:00|评论(loading...)|编辑|收藏