Posts Tagged ‘library’
Wednesday, July 8th, 2009
AIR is very popular for creating twitter clients, Sönke Rohde just made it much easier to make AIR apps for twitter with an AS3 library for Twitter. This library is built on top of core oauth as3 library by iotashin. Core OAuth as3 library is a standard OAuth library this can be used for your own OAuth backends or connecting to other OAuth services as well.
A very nice feature of this library, in addition to being coded cleanly and as3 style, is the ability to have the Twitter OAuth page render inside of Flash.
Instead of opening the Twitter authorization page in the browser the library also contains OAuthLoader which is a wrapper around HTMLLoader which enables to directly show the authorization page within an AIR window:
// use this in the requestTokenHandler instead of navigateToURL
var loader:OAuthLoader = new OAuthLoader();
loader.load(request);
loader.percentWidth = 100;
loader.percentHeight = 100;
var w:Window = new Window();
w.width = 800;
w.height = 400;
w.title = req.url;
w.addChild(loader);
w.open();
Tags: ACTIONSCRIPT, AIR, API, application, AS3, CODE, core, library, oauth, twitter
Posted in ACTIONSCRIPT, ACTIONSCRIPT3, APPLICATIONS, ARCHITECT, AS3, DEVELOPMENT, FLASH, FLEX, OPEN SOURCE, STANDARDS, SYNDICATION, TECHNOLOGY | View Comments
Thursday, December 4th, 2008
When you do lots of any language you build up libraries over time that are time savers that are repetitive and tedious if you do not consoildate into a library. Taking a look at the CASALib, an as3 library of common functions for flash that was released I have many of the same things in my libraries but CASALib just has lots of extras that go a bit deeper than some libraries, is very clean and is organized pretty well.
One cool thing about it is the IDestroyable interface and the CasaMovieClip, CasaSprite, CasaTextField , etcthat all have a destroy() method that cleans up all events, removed instances and even removes it from the parent display object. Gets me thinking why this isn’t just part of DisplayObject in the first place.
From the release:
Here are a few of our favorite things in CASA Lib AS3:
- Standardized external load API
- Easily remove listeners with IRemovableEventDispatcher
destroy methods make garbage collection easy
- Large group of utility classes for common manipulations
We will be elaborating further the power of CASA Lib in future blog posts.
As with any new release there will be bugs that emerge, but with your help we promise to release updates often to keep CASA Lib as stable as possible.
1.0.0 Downloads & Documentation
ZIP: http://as3.casalib.org/releases/1.0.0/1.0.0.zip
SVN: http://svn.as3.casalib.org/releases/1.0.0/
Documentation: http://as3.casalib.org/releases/1.0.0/docs/
[source]
(more…)
Tags: ACTIONSCRIPT, ACTIONSCRIPT3, AS3, casalib, library, TOOLS, utility
Posted in ACTIONSCRIPT, ACTIONSCRIPT3, ARCHITECT, AS3, CODE, DEVELOPMENT, FLASH, FLEX, GAMEDEV, LIBRARIES, OPEN SOURCE, PROGRAMMING, TECHNOLOGY, TOOLS | View Comments
Monday, November 17th, 2008
Augmented reality is a very cool technology. It is the star wars holograms that we always want, it is playing a game that maps out the physical world mixed with virtual assets, it is straight up cool.
The FLARToolKit is doing some of this cool in Flash. This little toolkit is pretty sweet mapping points and sets of points to patterns, colors or other visual queues that technology can latch onto. Combine this with a webcam and you have some pretty cool AR.
(more…)
Tags: 3d, ACTIONSCRIPT, actionscript 3, ar, AS3, augmented, FLASH, FLEX, library, PAPERVISION, reality
Posted in 3d, ACTIONSCRIPT, ACTIONSCRIPT3, ALGORITHM, ARCHITECT, AS3, DEVELOPMENT, EFFECTS, FLASH, FLEX, GAMEDEV, MOTION, OPEN SOURCE, PAPERVISION, PROGRAMMING, RENDERING, TECHNOLOGY, VIDEO, VISUALIZATION | View Comments
Monday, May 26th, 2008
Tink posted a great library manager for using external assets in your flash projects. When you start getting deep in projects you end up either having to roll your own that might end up being project specific, or you can just grab this from Tink and it is nice and standardized now for you.
Here’s and example of our Library & LibraryManager classes that we use in some of our Flex and AS 3.0 projects to manage our external assets stored in SWF’s.
The classes enabled you to create multiple libraries of embedded (retaining and giving access to code) or loaded SWF’s.
You can create instance of Library wherever you want, but you can also create them through the LibraryManager giving you a single class to gain access to all your Library instances.
As you develop more and more flash/flex projects with AS3 these types of utilities come in handy. Another that comes to mind is Arthur Debert’s BulkLoader and polygonal labs Data Structures for Game Developers that are all great kits.
Add Tink’s Library and LibraryManager to your arsenal today! Thanks Tink.
Tags: ACTIONSCRIPT, AS3, FLASH, FLEX, kits, library, librarymanager, tink, utilities
Posted in ACTIONSCRIPT, ACTIONSCRIPT3, APPLICATIONS, ARCHITECT, AS3, DEVELOPMENT, FLASH, FLEX, GAMEDEV, LIBRARIES, OPEN SOURCE, PROGRAMMING, TECHNOLOGY, TOOLS | Comments Off