Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
/ nexuslib-as3 Public archive

An Actionscript library providing robust reflection, serialization, seeded random number generation, cryptography, networking, and more.

License

Notifications You must be signed in to change notification settings

nexussays/nexuslib-as3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

nexuslib is a collection of Actionscript libraries. Enums, Random, Reflection, Serialization, Crypto, Audio system, HTTP requests.

The reflection library specifically is production ready and is currently in-use in production environments.

Getting Started

Download the latest release, or clone the repo and reference in your project.

External Dependencies

None

blooddy-crypto is statically linked with nexuslib.swc

API Docs

http://docs.nexussays.com/nexuslib/index.html

Components

Enum & EnumSet

Since AS3 doesn't provide a native enum structure you can use this to ceate one thusly:

public class MyEnum extends Enum
{
   public static const Enum1 : MyEnum = new MyEnum();
   public static const Enum2 : MyEnum = new MyEnum();

   public static function get All():EnumSet { return Enum.values(MyEnum); }
}

For more examples of correct and incorrect Enum usage, see the mocks in the test directory

Reflection & Serialization

nexus.utils.reflection, nexus.utils.serialization

Reflection & serialization library. Features deterministic JSON de/serialization, deserializing directly to typed AS objects, a structured reflection class heirarchy, and more. Full support for Application Domains and namespaces.

Audio

nexus.audio

Manage playing sounds one or in loops, controlling volume and sound effects (e.g., fading, panning). Sounds can be loaded from embedded resources, remote mp3s, and local files. Separate sound channels and volume controls for music, ambient sounds, voices, ui effects, and sound effects.

Crypto & security

nexus.security.crypto

Currently provides an HMAC class and some utilities.

Version control (Git)

nexus.vcs.git

see: https://github.com/nexussays/git-as3

About

An Actionscript library providing robust reflection, serialization, seeded random number generation, cryptography, networking, and more.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages