flex

#flex 1

1: flex 2

2

2

Examples 2

Apache Flex 2

Apache FlexApache Flex SDK 2

Apache Flex SDK 3

3

3

3

3

4

Adobe AIR SDK 4

Adobe Flash Player 4

Adobe Flash Player playerglobal.swc 5

Adobe Pixel Bender 5

5

5

Hello World 6

Hello World 6

7 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: flex

It is an unofficial and free flex ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official flex.

The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.

Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to [email protected]

https://riptutorial.com/zh-TW/home 1 1: flex

Apache FlexApache Foundation。SWFFlashAdobe AirAndroidiOSBlackBerryWindowsOSX。

FlexUIMXMLActionScript3。SWF。

FlexRESTSOAPJSONJMSAMFJavaPHPRuby.NET。

Apache Flex SDKHTTPServiceWebServiceRemoteObject。

Flex。

Apache FlexApache License v.2.0 。SDKSDK。

WebJava.NET。

Apache FlexApacheApache Software Foundation。

Apache Flex SDK 4.15 2016111

Apache Flex SDK 4.14.1 2015331

Apache Flex SDK 4.14.0 201523

Apache Flex SDK 4.13.0 2014728

Apache Flex SDK 4.12.1 201453

Apache Flex SDK 4.12.0 2014310

Apache Flex SDK 4.11.0 20131028

Apache Flex SDK 4.10.0 201386

Apache Flex SDK 4.9.0 2013228

Examples

Apache Flex

Apache Flex SDK。Apache Flex SDKAdobe AIRWindowsOS X / macOS。。 Apache FlexApache Flex SDK

https://riptutorial.com/zh-TW/home 2 1. WindowMacLinux。 2. 3. SDK。 Apache Flex。 4. Flash Player。 Flex。 。 5. SDK。 。 6. 。 。 7. Apache Flex SDK。 Apache Flex SDK

1. Java JDK 2. Ant 3. Git 4. JUnit

1. Flex SDKDocuments。

/ApacheFlex /ApacheFlex/dependencies /ApacheFlex/source

1.

/ApacheFlex/source

2. gitFlex SDK

git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git flex-sdk

3. gitTLF

git clone https://git-wip-us.apache.org/repos/asf/flex-tlf.git flex-tlf

4. flex-sdk

/ApacheFlex/source/flex-sdk

5. 'develop'

git checkout develop https://riptutorial.com/zh-TW/home 3 。。SDK。。。

1. flex-sdkenv-template.propertiesenv.properties 。

JavaAntenv.properties

env.JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

env.ANT_HOME=/Applications/Ant/bin

2. TLF

env.TLF_HOME=/ApacheFlex/source/flex-tlf

Adobe AIR SDK

1. Air SDK Flex Edition Flex 。 2.

/ApacheFlex/dependencies/AIRSDK/4.0

AIR SDK。

3. AIR_HOMEAIR SDK。

env.ANT_HOME=/ApacheFlex/dependencies/AIRSDK/4.0

Adobe Flash Player

1. Flash Player 2. 。 Projector Content Debugger。。/ApacheFlex/dependencies/player。OSX“.app / Contents / MacOS / Flash Player Debugger”Flash Player。

/ApacheFlex/dependencies/player/Flash Player.app/Contents/MacOS/Flash Player Debugger

3. FLASHPLAYER_DEBUGGER。

env.FLASHPLAYER_DEBUGGER=/ApacheFlex/dependencies/player/Flash Player.app/Contents/MacOS/Flash Player Debugger

Flash Player。/ Library / Internet Plug-ins / Flash Player // Library / Internet Plug-ins / Flash Player.app/Contents/MacOS/Flash Player Debugger https://riptutorial.com/zh-TW/home 4 Adobe Flash Player playerglobal.swc

1. playerglobal.swc - 。 2.

/ApacheFlex/dependencies/PlayerGlobal/player/12.0

3. 'playerglobal.swc' 4. PLAYERGLOBAL_HOME

env.PLAYERGLOBAL_HOME=/ApacheFlex/Dependencies/PlayerGlobal/player

Adobe Pixel Bender

1. WindowsMac Pixel Bender 2. Pixel Bender。。。 3. PIXELBENDER_HOME。

Adobe Flash Playermm.cfgFlashPlayerTrustSWF。

1. mm.cfg。 mm.cfg。 。 2. Adobe Flash Playermm.cfg 。 3.

ErrorReportingEnable=1 TraceOutputFileEnable=1

4. mm.cfgFlashPlayerTrust。 5. ApacheFlex.cfg。 6. Apache Flex SDK。

#Path to Apache Flex Source /ApacheFlex/source

7. 。

1. flex-sdk。。 2. Flash PlayerAIR SDK

# Flash player version for which player global swc to use playerglobal.version = 12.0

https://riptutorial.com/zh-TW/home 5 # AIR version number air.version = 4.0

SDK。playerglobal.swc/ApacheFlex/dependencies/PlayerGlobal/player/12.0playerglobal.version 12.0。

12.012。

Flex SDKFlash Player'-version''playerglobal .swfversion'/ApacheFlex/source/flex- sdk/frameworks/build.

Hello World

Hello World

flex https://riptutorial.com/zh-TW/flex/topic/3855/flex

https://riptutorial.com/zh-TW/home 6 S. Contributors No

1 flex Community, Justin Mclean, Koby Douek, splash, WPrecht

https://riptutorial.com/zh-TW/home 7