Category Archives: ActionScript

ActionScript

基于Athena框架的Flex入门教程(1) 环境配置

环境搭建
在服务器端, 我们采用MySql数据库;
除了开发必须的IDE, MySql之外, 需要先下载或安装以下文件: 下载页面

  • Athena Framework SDK (Java and Flex) 2.0.0 – 包含Java端及Flex端的SDK及文档
  • Athena Cons

More…

Posted in ActionScript, Flex, Java | Tagged , , , , | Leave a comment

Flex 开源框架Athena —- Remote Object 管理利器

雅典娜框架是一个针对Flex企业级应用开发的对象关系映射(ORM)框架,  适用于Java作为服务器端的应用. 服务器端使用MetaData配置数据结构, 极大简化了Flex/Flash RIA 应用程序开发流程.
image
Demo演示http://athenasource.org/flex/videog

More…

Posted in ActionScript, Flex | Tagged , , , | Leave a comment

Flex 自定义Event 低级错误一例: 未重写Clone方法, 导致类型转换失败

自定义Event必须及时重写Clone与toString方法….

Posted in ActionScript, Flex | Tagged , , , | Leave a comment

FlashBuilder 代码提示失效解决方法Content Assist did not work

如果是所有的都失效可参照:
http://www.airtightinteractive.com/2010/01/fix-for-flash-builder-content-assist-did-not-complete-normally/ 或:
https://jira.jboss.org/bro

More…

Posted in ActionScript | Tagged , | Leave a comment

Flex4 Spark TextArea 设置自适应大小及派发鼠标滚动事件

记得在使用Flex4之前, 看过一篇介绍TextArea自适应高度的文章, 监听Event, 动态改变高度.  很少用TextArea, 也没用过. 在Flex4, 使用Spark界面时, TextArea可设为自动适应.
设置heightInLines = NaN -  如果

More…

Posted in ActionScript | Tagged , , | Leave a comment