Skip to content

Commit 4b249a3

Browse files
committed
Add an AS3 interface into class internals
1 parent d1e0221 commit 4b249a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+5473
-1734
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ Native/BytecodeEditor/BytecodeEditor.vcxproj.user
1111
AS3/bin
1212
AS3/obj
1313
*.ane
14+
docs/

AS3/ANEBytecodeEditorSWC.as3proj

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<option linkReport="" />
4343
<option loadExterns="" />
4444
<option staticLinkRSL="True" />
45-
<option additional="-swf-version=11&#xA;--" />
45+
<option additional="'-swf-version=11' " />
4646
<option compilerConstants="" />
4747
<option minorVersion="" />
4848
</build>
@@ -90,4 +90,4 @@
9090
</options>
9191
<!-- Plugin storage -->
9292
<storage />
93-
</project>
93+
</project>
+19-22
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,29 @@
1-
package com.cff.anebe
1+
package com.cff.anebe
22
{
33
import flash.events.Event;
44
import flash.utils.ByteArray;
5-
6-
/**
7-
* ...
8-
* @author Chris
9-
*/
10-
public class AssemblyDoneEvent extends Event
5+
6+
public class AssemblyDoneEvent extends Event
117
{
8+
/** The edited SWF contents */
129
public var assembled:ByteArray;
13-
14-
public function AssemblyDoneEvent(assembled:ByteArray, bubbles:Boolean=false, cancelable:Boolean=false)
15-
{
10+
11+
public function AssemblyDoneEvent(assembled:ByteArray, bubbles:Boolean = false, cancelable:Boolean = false)
12+
{
1613
super(Events.ASSEMBLY_DONE, bubbles, cancelable);
1714
this.assembled = assembled;
18-
}
19-
20-
public override function clone():Event
21-
{
15+
}
16+
17+
public override function clone():Event
18+
{
2219
return new AssemblyDoneEvent(assembled, bubbles, cancelable);
23-
}
24-
25-
public override function toString():String
26-
{
27-
return formatToString("AssemblyDoneEvent", "type", "bubbles", "cancelable", "eventPhase");
2820
}
29-
21+
22+
public override function toString():String
23+
{
24+
return formatToString("AssemblyDoneEvent", "type", "bubbles", "cancelable", "eventPhase");
25+
}
26+
3027
}
31-
32-
}
28+
29+
}

0 commit comments

Comments
 (0)