J2EE集成Flex环境搭建
相关下载
Flex正式版EXE下载地址:
http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ.exe
Flex正式版插件下载地址:
http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exe
LCDS
官方下载(需要先注册)
https://www.adobe.com/cfusion/tdrc/index.cfm?product=livecycle%5Fdataservices
迅雷下载链接
http://trials.adobe.com/Applications/LiveCycle_Data_Services/Win/lcds3-win.exe
开发环境:
MyEclipse6.5+JDK6.0+Tomcat5.5+ Flex3.0 Builder For Eclipse Plugin+LCDS
LCDS的安装
1,跳过即可
2,选LiveCycle Data Services with Tomcat
其他一路next即可。
Flex正式版插件(Flex3.0 Builder For Eclipse Plugin)安装
1,这一步时需要注意:如果Myeclipse的安装路径为D:\myeclipse,目录结构为
只需要选择Eclipse即可。
Myeclipse配置
1,Help->Software Updates->Manage Configuration-> Add an Extension Location指向你FB3_WWEJ_Plugin().exe(即Flex3.0 Builder For Eclipse Plugin)的安装路径就可以了!
相关文档:
flex项目和组件等
open-source project : Flex
Adobe APIs
主要包含corelib, mappr, flickr, youtube及加密等类库.
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries
as3awss3lib
与 Amazon S3 交互的 ActionScript 3.0 类库
http://code.google.com/p/as3 ......
Flex使用Loader和URLRequest加载本地图片示例:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.core.UIComponent;
import mx.controls.Alert;
import flash.display.*;
i ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal">
<mx:Panel width="382" height="277" layout="absolute">
......
(1)Event Listeners
Listening to parent objects does cause memory leaks
e.g.
& ......
<!-- -->
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:宋体;
panose-1:2 ......