-
Notifications
You must be signed in to change notification settings - Fork 1
Various AS3 libraries, including AMF 3 serializer.
License
pixelami/pixelami-as3-commons
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
_ _ _ _ __ (_)_ _____| | __ _ _ __ ___ (_) | '_ \| \ \/ / _ \ |/ _` | '_ ` _ \| | | |_) | |> < __/ | (_| | | | | | | | | .__/|_/_/\_\___|_|\__,_|_| |_| |_|_| |_| Pixelami Actionscript Commons ------------------------------------------------------------------------------------------------------------------------ Including: pixelami-amf-lib - An Actionscript 3 library to serialize objects to a from AMF3 pixelami-runner-lib - A Actionscript 3 library to queue and run methods across multiple frames if necessary The library can be built with Maven. http://maven.apache.org/ To build:- $ mvn clean install NOTE pixelami-amf-examples depends on Parsley 2.4.0 To install the Parsley swcs you can run the script in 3rd-party called parsley-maven-install.sh ------------------------------------------------------------------------------------------------------------------------ Pixelami AMF Library (pixelami-amf-lib) An Actionscript 3 library for serializing objects to and from AMF3 The initial purpose is to allow strongly typed objects to be generated via AMF3 for testing mid-tier/backend services. The deserializer will be used to create an asynchronous AM3 deserializer ------------------------------------------------------------------------------------------------------------------------ Pixelami Runner Library (pixelami-runner-lib) An Actionscript 3 library for queueing and running methods in the background e.g. import org.pixelami.runner.run run(myMethod) run(myMethod,[myArg0]) run(myMethod,[myArg0,myArg1,myArg2]) run(myMethod,[myArg0,myArg1,myArg2],scope) Below the hood ______________ run() basically uses function.apply(scope,method,arguments). a method invoked using run() can also invoke further nested calls to run() since it uses a nested stack. The Runner attempts to throttle how many methods get called per frame, thereby allowing the developer to spread heavy processing tasks across several frames rather than grinding the frame rate to a halt and blocking display updates. See example apps. How to ______ How to know when a particular batch of methods have completed ? The runner does not fire events - but you can add a final method to the runner the can fire an event or call a callback eg. run(function():void{dispatchEvent(new Event("complete"))},null,this); ------------------------------------------------------------------------------------------------------------------------ 3rd-party Contains parsley-maven-install.sh which will install parsley 2.4 into your local maven repository.
About
Various AS3 libraries, including AMF 3 serializer.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published