Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
piepie62 committed Apr 11, 2022
0 parents commit 399dd88
Show file tree
Hide file tree
Showing 70 changed files with 10,491 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Native/BytecodeEditor/Release
Native/BytecodeEditor/Debug
Native/BytecodeEditor/AdobeAIRSDK
Native/BytecodeEditor/.vs
Native/BytecodeEditor/.vscode
Native/BytecodeEditor/BytecodeEditor.vcxproj.filters
Native/BytecodeEditor/BytecodeEditor.vcxproj.user
*.swc
*.swf
*.dll
AS3/bin
AS3/obj
Binary file added ANEBytecodeEditor.ane
Binary file not shown.
93 changes: 93 additions & 0 deletions AS3/ANEBytecodeEditorSWC.as3proj
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<project version="2">
<!-- Output SWF options -->
<output>
<movie outputType="CustomBuild" />
<movie input="" />
<movie path="ANEBytecodeEditor.swc" />
<movie fps="0" />
<movie width="0" />
<movie height="0" />
<movie version="17" />
<movie minorVersion="0" />
<movie platform="AIR" />
<movie background="#FFFFFF" />
</output>
<!-- Other classes to be compiled into your SWF -->
<classpaths>
<class path="src" />
</classpaths>
<!-- Build options -->
<build>
<option accessible="False" />
<option advancedTelemetry="False" />
<option allowSourcePathOverlap="False" />
<option benchmark="False" />
<option es="False" />
<option inline="False" />
<option locale="" />
<option loadConfig="" />
<option optimize="True" />
<option omitTraces="True" />
<option showActionScriptWarnings="True" />
<option showBindingWarnings="True" />
<option showInvalidCSS="True" />
<option showDeprecationWarnings="True" />
<option showUnusedTypeSelectorWarnings="True" />
<option strict="True" />
<option useNetwork="True" />
<option useResourceBundleMetadata="True" />
<option warnings="True" />
<option verboseStackTraces="False" />
<option linkReport="" />
<option loadExterns="" />
<option staticLinkRSL="True" />
<option additional="-swf-version=11&#xA;--" />
<option compilerConstants="" />
<option minorVersion="" />
</build>
<!-- SWC Include Libraries -->
<includeLibraries>
<!-- example: <element path="..." /> -->
</includeLibraries>
<!-- SWC Libraries -->
<libraryPaths>
<!-- example: <element path="..." /> -->
</libraryPaths>
<!-- External Libraries -->
<externalLibraryPaths>
<!-- example: <element path="..." /> -->
</externalLibraryPaths>
<!-- Runtime Shared Libraries -->
<rslPaths>
<!-- example: <element path="..." /> -->
</rslPaths>
<!-- Intrinsic Libraries -->
<intrinsics>
<!-- example: <element path="..." /> -->
</intrinsics>
<!-- Assets to embed into the output SWF -->
<library>
<!-- example: <asset path="..." id="..." update="..." glyphs="..." mode="..." place="..." sharepoint="..." /> -->
</library>
<!-- Class files to compile (other referenced classes will automatically be included) -->
<compileTargets>
<!-- example: <compile path="..." /> -->
</compileTargets>
<!-- Paths to exclude from the Project Explorer tree -->
<hiddenPaths>
<hidden path="obj" />
</hiddenPaths>
<!-- Executed before build -->
<preBuildCommand>"$(BaseDir)\Tools\swcbuild\swcbuild.exe" "$(ProjectPath)" "-compiler=$(CompilerPath)" "-debug=$(BuildConfig)" "-library=C:\Program Files (x86)\FlashDevelop\Library" -asdoc=true -keep-asdoc=false</preBuildCommand>
<!-- Executed after build -->
<postBuildCommand alwaysRun="False" />
<!-- Other project options -->
<options>
<option showHiddenPaths="False" />
<option testMovie="Unknown" />
<option testMovieCommand="" />
</options>
<!-- Plugin storage -->
<storage />
</project>
32 changes: 32 additions & 0 deletions AS3/src/com/cff/anebe/AssemblyDoneEvent.as
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package com.cff.anebe
{
import flash.events.Event;
import flash.utils.ByteArray;

/**
* ...
* @author Chris
*/
public class AssemblyDoneEvent extends Event
{
public var assembled:ByteArray;

public function AssemblyDoneEvent(assembled:ByteArray, bubbles:Boolean=false, cancelable:Boolean=false)
{
super(Events.ASSEMBLY_DONE, bubbles, cancelable);
this.assembled = assembled;
}

public override function clone():Event
{
return new AssemblyDoneEvent(assembled, bubbles, cancelable);
}

public override function toString():String
{
return formatToString("AssemblyDoneEvent", "type", "bubbles", "cancelable", "eventPhase");
}

}

}
Loading

0 comments on commit 399dd88

Please sign in to comment.