Dear Community,
I’m pleased to announce that the Spring ActionScript 0.8 release is now available.
Download | API Documentation | HTML Docs | PDF Docs | Changelog
This release includes the Spring ActionScript framework, the Cairngorm extensions and the PureMVC extensions.
For more info, please see the official announcement at http://www.herrodius.com/blog/176
No Tags
Never wondered how cool it would be when your AIR application runs on 2 or more monitors at the same time?
Adobe AIR supports multi-screen by offering the developer a Screen-class.
This class makes it possible to detect screens, get some info, and that’s it.
To open a window on a screen, you’ll have to do some calculations yourself.
To make positioning screens, moving screens, … easier , I quickly build a ScreenManager that takes care of your NativeWindow(s).
Make an instance of the nativewindow and send it throught the manager.
Like this:
var nw:NativeWindow=new NativeWindow(new NativeWindowInitOptions());
nw.width=250
nw.height=90
var mc:MovieClip=new MovieClip(); //movieclip with content
nw.stage.addChild(mc);
ScreenManager.openWindowCenteredOnScreen(nw,2);
The ScreenManager is a static class.
It allow the developer to control a NativeWindow through the following methods:
(incorrect signatures)
- ScreenManager.centerWindowOnScreen()
- ScreenManager.getActualScreenBounds()
- ScreenManager.getScreenColorDepth()
- ScreenManager.getVisibleScreenBounds()
- ScreenManager.moveWindow()
- ScreenManager.openWindowCenteredOnScreen()
- ScreenManager.openWindowOnScreen()
- ScreenManager.stretchWindowToAllScreens()
- ScreenManager.stretchWindowOnScreen()
- ScreenManager.openWindowFullScreenOn()
- ScreenManager.setWindowFullScreenOn()
- ScreenManager.moveWindowToCorner()
- ScreenManager.openWindowInCorner()
and the following properties:
- ScreenManager. mainScreenIndex
- ScreenManager.numScreens
- ScreenManager.maximumAvailableResolution
The ScreenManager can be downloaded here .
No Tags
We released a new 0.7 version of the Spring ActionScript framework yesterday. This release is the first official release since moving from the Prana framework to the Spring ActionScript framework and contains a bunch of fixes and enhancements to the IoC container, an experimental MVCS package and a lot of new utilities. We also removed the Reflection API and now provide that as a separate library called AS3Reflect.
For more info on Spring ActionScript 0.7, please see the official annoucement at http://www.herrodius.com/blog/160
More info on AS3Reflect can be found at http://code.google.com/p/as3reflect/
Hope you enjoy this release. Happy coding!
- Christophe Herreman, Spring ActionScript project lead
No Tags

A while ago, I have build an API library in AS3 that interfaces with Google’s own javascript API. To show you how performant this API is, I included a demo-app at the bottom of this blog.
The library is a simple collection of the API’s features, there is a class per feature, like Google Web search, Images Search, etc. Each library throws it’s own event with an Array of matching datatypes, for example GoogleWebItem, so it’s easy to keep track on wich data is recieved and what this data contains.
This api contains:
- Google Web Search
- Google Images Search
- Google Book Search
- Google Video Search (Google Video & YouTube)
- Google Blog Search
- Google Local Search
- Google Patent Search
- Google News Search
- Google Translation
- Google Weather
- Google Suggest
This API is Flash & Flex compatible.
Little example code
var googleWebSearch:GoogleWebSearch=new GoogleWebSearch()
googleWebSearch.search(txtInput.text,0,lang)
googleWebSearch.addEventListener(GoogleSearchEvent.WEB_SEARCH_RESULT,onWebResults)
private function onWebResults(e:GoogleSearchEvent):void{
for each (var result:GoogleWebItem in e.data as Array){
trace(result.title, result.url)
}
}
The library
You can download the library here (updated).
The demo app can be found here.
Right-click in the app to see source-code.
No Tags