Skip to content

Commit

Permalink
Added AS3 code to compile the Iconic SWC
Browse files Browse the repository at this point in the history
  • Loading branch information
somerandomdude committed Oct 15, 2011
1 parent c25d470 commit f53d675
Show file tree
Hide file tree
Showing 187 changed files with 65,080 additions and 0 deletions.
File renamed without changes.
14 changes: 14 additions & 0 deletions as3/build/build.properties
@@ -0,0 +1,14 @@
# Flash/Flex paths and tools
flex3dir = /Applications/Adobe Flex Builder 3/sdks/3.2.0
flex3bindir = ${flex3dir}/bin
flex3libsdir = ${flex3dir}/frameworks/libs
mxmlc = ${flex3bindir}/mxmlc
asdoc = ${flex3bindir}/asdoc
flashplayer = ${flex3dir}/Player/mac/Flash Player

# Project paths
classesdir = ${basedir}/
docsdir = ${basedir}/docs
as3_classes = /Applications/Adobe Flash CS4/Common/Configuration/ActionScript 3.0/projects/Flash/src
fp10_classes = /Applications/Adobe Flash CS4/Common/Configuration/ActionScript 3.0/libs
json_classes = ${basedir}
35 changes: 35 additions & 0 deletions as3/build/build.xml
@@ -0,0 +1,35 @@
<project name="IconicTasks" basedir=".." default="main">

<property file="build/build.properties" />

<condition property="FLEX_HOME" value="/Applications/Adobe Flex Builder 3/sdks/3.2.0">
<os family="mac"/>
</condition>

<condition property="FLEX_HOME" value="${FLEX_HOME_WIN}">
<os family="windows" />
</condition>

<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
<target name="main" depends="clean-swc-directory, iconic-swc-generator" />


<!-- =================================
target: build SWC
================================= -->
<target name="iconic-swc-generator">
<property file="build_alt/build.properties" />
<compc output="${basedir}/swc/iconic.swc" target-player="9.0.0">
<include-sources dir="${basedir}/src/com/somerandomdude/iconic" includes="*.as" />
<source-path path-element="${fp10_classes}" />
</compc>
</target>


<!-- deletes and recreates the swc directory -->
<target name="clean-swc-directory" >
<delete file="${basedir}/swc/iconic.swc" />
</target>


</project>
Binary file added as3/build/tools/ant-contrib-1.0b3.jar
Binary file not shown.
8 changes: 8 additions & 0 deletions as3/build/tools/readme.txt
@@ -0,0 +1,8 @@
This build requries the ant-contrib library.
Copy the ant-contrib jar to your [ant]/lib folder.
--

If java runs out of memory when compiling add the following to your Environment Variables...

name: ANT_OPTS
value: -Xms512m -Xmx512m
12 changes: 12 additions & 0 deletions as3/src/assets/ampersand.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,798 changes: 1,798 additions & 0 deletions as3/src/assets/aperture.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,802 changes: 1,802 additions & 0 deletions as3/src/assets/aperture_alt.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions as3/src/assets/arrow_down.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions as3/src/assets/arrow_down_alt1.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions as3/src/assets/arrow_down_alt2.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions as3/src/assets/arrow_left.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions as3/src/assets/arrow_left_alt1.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions as3/src/assets/arrow_left_alt2.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions as3/src/assets/arrow_right.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions as3/src/assets/arrow_right_alt1.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions as3/src/assets/arrow_right_alt2.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions as3/src/assets/arrow_up.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions as3/src/assets/arrow_up_alt1.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions as3/src/assets/arrow_up_alt2.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions as3/src/assets/article.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions as3/src/assets/at.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f53d675

Please sign in to comment.