Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nexussays/nexuslib-as3
An Actionscript library providing robust reflection, serialization, seeded random number generation, cryptography, networking, and more.
https://github.com/nexussays/nexuslib-as3
Last synced: 3 months ago
JSON representation
An Actionscript library providing robust reflection, serialization, seeded random number generation, cryptography, networking, and more.
- Host: GitHub
- URL: https://github.com/nexussays/nexuslib-as3
- Owner: nexussays
- License: mpl-2.0
- Archived: true
- Created: 2012-05-20T08:00:53.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-05-18T08:43:33.000Z (over 6 years ago)
- Last Synced: 2024-06-21T18:43:52.088Z (5 months ago)
- Language: ActionScript
- Homepage:
- Size: 2.9 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actionscript-sorted - nexuslib-as3 - An Actionscript library providing robust reflection, serialization, seeded random number generation, cryptography, networking, and more. (Utilities / Crypto)
README
# 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](https://github.com/nexussays/nexuslib-as3/releases), 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:
```as3
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](./test/src/mock)### 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