OldHawk

菜地一块,欢迎拍砖
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  Flex

关于Adobe Flex的使用心得
摘要:Well, it’s very easy, using BitmapData and Bitmap. This example makes things a bit more complex to show some principles. Hope you learn something out of it off course. 阅读全文

posted @ 2010-12-24 17:20 OldHawk 阅读(584) 评论(0) 推荐(0) 编辑

摘要:Responder 类提供了一个对象,该对象在 NetConnection.call() 中使用以处理来自与特定操作成功或失败相关的服务器的返回值。 它有2个参数:第1个是成功调用回调的方法,第2个参数是调用失败时回调的方法 阅读全文

posted @ 2010-12-05 04:17 OldHawk 阅读(619) 评论(0) 推荐(0) 编辑

摘要:在视频程序的编写过程中,我们经常要使用摄像头,在使用摄像头前有必要对摄像头的现有状态做个检测: 1.被占用 2.没安装摄像头 3.正常 阅读全文

posted @ 2010-12-05 04:12 OldHawk 阅读(1179) 评论(1) 推荐(0) 编辑

摘要:编写FMS服务器端脚本时,最头疼的莫过于AS1的语法了。习惯了AS2、3后,在没有代码提示的环境下,写代码确实是件很头疼的事,这个插件就可以发挥作用了 阅读全文

posted @ 2010-12-05 04:06 OldHawk 阅读(796) 评论(0) 推荐(0) 编辑

摘要:itemRenderer,可以理解为数据的表现方式,具体地说,是指显示每一条数据时采用的形式。在使用数据处理类组件时,我们只需要把数据按照一定的格式组织好,然后赋予给组件,剩下的事就不用费心了 阅读全文

posted @ 2010-12-05 03:52 OldHawk 阅读(2511) 评论(1) 推荐(0) 编辑

摘要:Flash builder 4 (Flex builder 4) 正式版序列号生成器flash_builder_4_keygen.rar,点此下载 阅读全文

posted @ 2010-06-28 10:35 OldHawk 阅读(4826) 评论(1) 推荐(0) 编辑

摘要:图片转化为二进制或字符,使用AS3自带的JPEGEncoder和PNGEncoder,其中JPEG格式就算使用100%的品质在还原时还是失真得比较严重. 阅读全文

posted @ 2009-10-23 11:41 OldHawk 阅读(2418) 评论(0) 推荐(1) 编辑

摘要:flex应用看久了,一个默认的装载loading界面就会导致审美疲劳,下面提供一种方法,让你可以自定义你的装载界面 阅读全文

posted @ 2008-12-19 09:55 OldHawk 阅读(2143) 评论(1) 推荐(1) 编辑

摘要:This example loads an image and then uses a combination of the Bitmap and BitmapData classes to determine the color value under the mouse cursor. Pretty basic, but kind of neat. 阅读全文

posted @ 2008-09-03 22:53 OldHawk 阅读(424) 评论(0) 推荐(0) 编辑

摘要:The following example shows how you can set alternating background colors for tiles in a Flex TileList control by setting the alternatingItemColors style using MXML, CSS or ActionScript 阅读全文

posted @ 2008-08-28 00:54 OldHawk 阅读(511) 评论(0) 推荐(0) 编辑

摘要:The following example shows how you can create a Flex Alert control that isn’t draggable by listening for the mouseDown event and calling the stopImmediatePropagation() method in the event handler 阅读全文

posted @ 2008-08-28 00:48 OldHawk 阅读(643) 评论(0) 推荐(0) 编辑

摘要:The following examples show how you can create an undraggable TitleWindow container by setting the isPopUp property to false on the TitleWindow instance 阅读全文

posted @ 2008-08-28 00:43 OldHawk 阅读(664) 评论(0) 推荐(0) 编辑

摘要:应某些朋友的邀请,特做一个平仓工具,免得随意平仓浪费金币,而且免去了用计算器计算的麻烦 阅读全文

posted @ 2008-06-13 19:05 OldHawk 阅读(1448) 评论(9) 推荐(0) 编辑

摘要:这个实例演示了怎么样使用System.setClipboard()静态方法,从一个Flex application中复制文字到操作系统的剪贴板。 随便在RichTextEditor打些字,然后点击Copy text to clipboard 按钮就复制到剪贴板了,之后就找个能打文本的地方试试吧 阅读全文

posted @ 2008-06-13 17:01 OldHawk 阅读(1006) 评论(0) 推荐(0) 编辑

摘要:The following example shows how you can assign an HTML formatted string to a Panel container’s status text field using the getStatusTextField() method in the mx_internal namespace 阅读全文

posted @ 2008-04-23 17:21 OldHawk 阅读(670) 评论(0) 推荐(0) 编辑

摘要:作为一个developer,写项目的API文档是非常重要的一件事情,flash developer也不例外。ASDoc能让我们快速创建ActionScript项目的API文档 阅读全文

posted @ 2008-04-22 11:16 OldHawk 阅读(2541) 评论(0) 推荐(0) 编辑

摘要:也许你有这样的需求,今天群里一兄弟发问题问了,我就在网上搜了些解决办法,整理了一个,特发上来供需要的兄弟使用 阅读全文

posted @ 2008-04-21 16:51 OldHawk 阅读(7061) 评论(8) 推荐(0) 编辑

摘要:AIR is meant to facilitate applications that work when online and offline. For example, if you developed an AIR application to manage your blog, you would want to be able to write blog posts whether you were online or offline. To accomplish this, the application would do one of two actions depending on whether it had an internet connection. If it were online, it would take your post and upload it. If it weren't online, it would store it (either in a file or in a local SQLite database). 阅读全文

posted @ 2008-04-21 15:31 OldHawk 阅读(1730) 评论(0) 推荐(0) 编辑

摘要:在Adobe Flash Player升级到9.0.124后,由于安全策略的更改,使得在socket或xmlsocket的应用里,原先如用http方式加载安全策略的手段不能继续使用了,类似此类应用必须使用xmlsocket://方式来提供安全策略。flashplayer的安全策略检测过程如下 阅读全文

posted @ 2008-04-18 12:52 OldHawk 阅读(2373) 评论(33) 推荐(0) 编辑

摘要:在最新的Adobe Flash Player 9.0.124中,安全策略进行多项更改,如果你的应用中使用了socket 或xmlsocket的话,就要特别注意了,否则你的应用是不会正确运行的 阅读全文

posted @ 2008-04-18 12:41 OldHawk 阅读(1085) 评论(0) 推荐(0) 编辑