• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

justinjmoses/flexmojos-introduction: A gentle introduction to Flexmojos & Ma ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

justinjmoses/flexmojos-introduction

开源软件地址(OpenSource Url):

https://github.com/justinjmoses/flexmojos-introduction

开源编程语言(OpenSource Language):

ActionScript 100.0%

开源软件介绍(OpenSource Introduction):

Flexmojos Introduction: Usage instructions

This collection of examples provides some simple introductions to using Flexmojos.

For each project you can build via:

mvn clean install 

This will create a SWF in the target folder of the respective diretory.

Versions

Flexmojos target: 4.0-RC2. Checkout the full plugin info.

Flex SDK: 4.5.1.21328

Project breakdown

1. Simple

This is an extremely simple project, designed simply as an example to get started.

2. UnitTests

This adds on a single unit test to the simple project.

Note: In order to run the unit tests, Flexmojos needs to be able to find the Flashplayer executable. You should ensure Flashplayer (Flash Player on OS X and Flashplayer.exe on WinX) is available on your PATH. You can download the standalone Flashplayer Projector from Adobe. In Windows, you can copy Flashplayer.exe to some location and add it to your PATH via My Computer > Advanced > Environment Variables. On OS X, I installed Flash Player to usr/local/bin and added the following to my ~/.bash_profile

export FLASH_PLAYER='/usr/local/bin/Flash Player.app/Contents/MacOS'
export PATH=${M2_HOME}/bin:$FLASH_PLAYER:${PATH}

For more information, check out this post.

3. Dependencies

This adds on a simple third party dependency to the simple project. In order to build this, you must first install the as3-signals dependency (see above).

To install the third party dependency, you need to run the following command from the project root:

mvn install:install-file -Dfile=./libs/as3-signals-0.8.swc -DgroupId=org.osflash -DartifactId=as3-signals -Dversion=0.8 -Dpackaging=swc

This will add the SWC to your local repository to ensure Maven can find it whenever it encounters the dependency.

For more information on as3-signals, checkout the project home.

4. Flashbuilder Goal

This combines the unit tests and dependencies project.

Try generating a Flashbuilder project via the following Maven command:

mvn org.sonatype.flexmojos:flexmojos-maven-plugin:3.9:flashbuilder

5. Archetypes

This is a collection of commands to generate simple starter projects for Flexmojos.

6. Libraries

This project splits the functionality of the other projects into an application SWF and a library SWC.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
wildfly/jandex-maven-plugin: Jandex Plugin for Apache Maven发布时间:2022-08-17
下一篇:
apigcc/apigcc-maven-plugin: easy use apigcc with maven发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap