AS 3.0 Dropbox API

Posted on the September 4th, 2010 under AS 3.0 by Vipin

Here is the Actionscript 3.0 API for the Drop box service. The library works only with AIR, as there is no crossdomain.xml file in the Drop box servers and Flash Player will not allow the communication due to cross domain security policy (That would have been cool).

Haven’t seen any implementation of the library (what the official app cannot do) so far.

Google Code Home Page

AudioPhile – AS3 Sound Generation and Visualization

Posted on the July 20th, 2010 under AS 3.0 by Vipin

AudioPhile is a collection of projects for audio generation and visualization. There are two projects under it.

Audiophile – An AS3 library for generating dynamic audio in Flash Player 10

Audiovision – An AS3 library for visualizing audio in Flash Player 10

Here is a link to an example

Google Code Home Page

Worth noting that its a FP 10 only library.

AsWing – ActionScript Application Development Framework

Posted on the May 25th, 2010 under AS 3.0, Frameworks by Vipin

AsWing is an Open Source ActionScript 2.0/ActionScript 3.0  GUI framework and library. Its a UI centric library, and is similar to Java Swing in implementation. You can either use this library to build your application, or get only what you need.

Here is the link: AsWing

Here are some applications built using AsWing of which the Flash Mini Builder is an interesting project.

AS3 Game Gears – Libraries for game development

Posted on the May 7th, 2010 under AS 3.0, game development by Vipin

Here is a collection few open source libraries targeted at Game Development.

AS3.0 Gears

AS3 Utils – Collection of reusable package-level functions that solve common problems

Posted on the May 5th, 2010 under AS 3.0 by Vipin

Here  is a collection of utilities provided as package level functions by John Lindquist.  Here is a list of utility packages:

  • array
  • color
  • conversions
  • date
  • event
  • garbage collection
  • html
  • number
  • string
  • validation
  • and more…

There are many more like bringToFront(), sendBackward() for display objects, Array shuffle (using the Fisher Yates algorithm etc)

Visit the GitHub Page here.

AS3 Dotted Line Class

Posted on the March 11th, 2010 under AS 3.0 by sahana

Here is an ActionScript 3 class I use all the time to draw pixel perfect dotted lines in Flash. Free for any use other than reselling. It uses the good old bitmap filling.

Download

ActionScript Mouse Gesture Library

Posted on the March 6th, 2010 under AS 3.0 by Vipin

A very easy to use Mouse Gesture class for AS 3.0 projects. The gesture is based on the mouse movements as shown below:

Mouse Gestures

Then you go on defining your gestures as a progression of these numbers. On to code:

Instantiate it. Pass the stage reference, or wherever you want it to work.

mg  = new MouseGesture(this.stage);

Add a gesture. Param 1: A string constant as an identifier. Param 2: The gesture number itself (above numbers) Here it is just a single action which will be ‘click and drag to right’ (see image)

mg.addGesture(PLAY,"0"); 

Add a complex gesture as a progression of above numbers. (Guess what it is)

mg.addGesture(STEP_BACKWARD,"65432"); 

Now add the listener.

mg.addEventListener(GestureEvent.GESTURE_MATCH,matchHandler);  

Now your listener.

private function matchHandler(event:GestureEvent):void

{

switch(event.datas)

{

case PLAY:

// DO whatever you want

break;

case GESTURE_MATCH:

// DO whatever you want. Yes again...

break;

}

}

Bingo! Easy, isn’t it?

Home Page

Download

Samples:

At ByteArray.org

RobotLegs AS3.0 Application Development Framework

Posted on the March 6th, 2010 under AS 3.0, Flex, Frameworks by Vipin

Robotlegs is an AS 3.0 micro-architecture (or call it framework) to use with your AS 3.0 or Flex Projects. Its just an extension of PureMVC and adds Dependency Injection to it. Didnt try it personally but says it reduces the amount of boilerplate code to be written to setup a PureMVC application. It also avoids Singletons and static constants from your projects. It supports Modules (It has to, as PureMVC does it).

Home Page

Download

HexLuv AS 3.0 Scrollbar

Posted on the March 5th, 2010 under AS 3.0 by Vipin

Scrollbars in AS 3.0? Its difficult, isn’t it? Here is one pretty good scrollbar class for Action Scropt 3.o projects. The implementation is very very easy as in:


import HexluvScrollbar;
var _scrollBar = new HexluvScrollbar(yourDisplayObject, width, maskHeight, arrows:Boolean, stage, {customization options});
addChild(_scrollBar);

yourDisplayObject is the display object to be masked by scroller. You also have to have Tweenlite library in your project inorder to compile the library.
The package available for download has some package name which is wrong, so you may need to do some clean up after the download. The library is cool overall. You always have fl.controls.ScrollBar for scrolling though!

Download here

import HexluvScrollbar;

2 var _scrollBar = new HexluvScrollbar(yourDisplayObject, width, maskHeight, arrows:Boolean, stage, {customization options});
3 addChild(_scrollBar);

Pure MVC

Posted on the March 5th, 2010 under AS 3.0, Flex, Frameworks by Vipin

A well accepted flash and flex framework library. The library eases the large application development head ache. It can be used for both pure AS 3.0 projects and also Flex projects. A Multicore version supports communication between modules an easy affair (again both Flex and Flash)

Home Page