Skip to content

Commit 89ab867

Browse files
committed
unique Flash namespace for each bundle
1 parent dc289fe commit 89ab867

File tree

9 files changed

+2414
-170
lines changed

9 files changed

+2414
-170
lines changed

Docs/Doxyfile

Lines changed: 2380 additions & 0 deletions
Large diffs are not rendered by default.

FlashExporter/.idea/misc.xml

Lines changed: 1 addition & 161 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FlashExporter/build/build.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project name="build" basedir="." default="build-and-pack">
22

33
<property environment="env"/>
4-
4+
55
<fail message="set environment variable FLEX_HOME=/path/to/flex_sdk_4.6" unless="env.FLEX_HOME"></fail>
66

77
<condition property="exe" value=".exe" else="">
@@ -18,8 +18,8 @@
1818
<property name="amxmlc" value="${flex.sdk}/bin/amxmlc${exe}"/>
1919
<property name="build.debug" value="true"/>
2020
<property name="dist.dir" value="../../Distrib"/>
21-
<property name="cert.file" location="debug-cert.pfx"/>
22-
<property name="cert.pasword" value="123"/>
21+
<property name="cert.file" location="cert.pfx"/>
22+
<property name="cert.pass" value="123"/>
2323

2424
<target name="build-and-pack" depends="build, pack-air, show"/>
2525

@@ -36,7 +36,7 @@
3636
<arg line="../bin"/>
3737
</exec>
3838
</target>
39-
39+
4040
<target name="run-debug">
4141
<exec executable="${adl}" failonerror="true">
4242
<arg line="../src/air-descriptor.xml"/>
@@ -79,7 +79,7 @@
7979
<arg line="-package"/>
8080
<arg line="-storetype pkcs12"/>
8181
<arg line="-keystore ${cert.file}"/>
82-
<arg line="-storepass ${cert.pasword}"/>
82+
<arg line="-storepass ${cert.pass}"/>
8383
<arg line="-target air"/>
8484
<arg line="${air.name}"/>
8585
<arg line="air-descriptor.xml"/>
@@ -88,5 +88,5 @@
8888
<delete dir="${dist.dir}" includes="FlashExporter-*.air"/>
8989
<move file="../bin/${air.name}" todir="${dist.dir}"/>
9090
</target>
91-
92-
</project>
91+
92+
</project>

FlashExporter/build/cert.pfx

1.52 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#Tue, 08 Jul 2014 16:53:34 +0300
22
v.major=0
3-
v.minor=2
3+
v.minor=3
44
v.build=0

FlashExporter/src/flashexporter/processing/GenerateSourceCommand.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ package flashexporter.processing
4646

4747
var bundleSource:String = String(new csharp_bundle())
4848
.replace("#using", _using.join("\n"))
49-
.replace("#namespace", "FlashBundles")
49+
.replace("#namespace", "Flash_" + _swf.bundleName)
5050
.replace(/#className/g, _swf.bundleName)
5151
.replace("#resources", resources.join("\n"))
5252
.replace("#classes", classes.join("\n\n"));

make-exporter.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
cd "$(dirname "$0")"
3+
ant -f FlashExporter/build/build.xml

make-unity.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
set -e
3+
UNITY=/Applications/Unity/Unity.app/Contents/MacOS/Unity
4+
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5+
6+
rm -f Distrib/ActionLib.unityPackage
7+
8+
$UNITY -batchmode \
9+
-projectPath $BASEDIR/SampleProject \
10+
-exportPackage Assets/ActionLib ../Distrib/ActionLib.unityPackage \
11+
-quit
12+
13+
echo $?

make-zip.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
set -e
3+
cd "$(dirname "$0")"
4+
zip "Distrib-$(date +"%Y-%m-%d").zip" \
5+
Distrib/*.air \
6+
Distrib/*.unityPackage \
7+
Distrib/*.zxp \
8+
Distrib/html/* \

0 commit comments

Comments
 (0)