I’m currently working with SOAP web services. While making adjustments to the classes of the wsdl Flex Builder class generator I discovered, that there is an easy way to decode / parse XML to VOs (value objects). The XMLDecoder inside the rpc package does the trick. I’m still confused why there are not more resources on the web regarding this topic but If you want to digg deeper, I strongly recommend reading these blog posts by Dominic De Lorenzo:
I’m not an XML pro and some things in his example I’m still not getting (namespaces in XML, yes well…). Also, his example is in Flex and I just wanted to have a basic example on how this could be useful for my work.
All in all it was great – again! Not so much about Flash and ActionScript but nonetheless there were definitely some speakers that totally blew my mind.
I just uploaded the new 1.01 version of our Apdev VideoPlayer to google-code.
We fixed/added some features some of you requested, like e.g.
- Volume button behavior changed
- VideoPlayer now fires events when the video’s play-state changes
- and some other minor changes…
VideoPlayer example: http://apdevblog.com/examples/apdev_videoplayer/
HTML-embed example: http://apdevblog.com/examples/apdev_videoplayer/html.html
We also updated the documentation.
Some days ago Adobe released the spell-checking library called “Squiggly“. According to Adobe the library “allows you to easily add spell checking functionality in any Flex 3 based text control” – but because most of our projects are AS3 only, we decided to build a class which allows you to use the SpellChecker’s functionality with every normal TextField in Flash.
Unfortunately Adobe messed up the Docs of the library’s current version (BTW, why do we need to download it? every other doc is accessible online) – they are talking about Events and EventDispatcher where no Dispatcher can be found and not even one Event is fired. Great that Adobe releases such a tool but they should definitely try to get the facts/info/docs right! Otherwise it’s really hard for us developers to work with (and maybe improve) the tools they offer.
So here is the first version of our spell-checker for ActionScript 3 / FlashPlayer 9. Currently there is only error-highlighting, the other features will hopefully come within the next few days (suggesting and replacing words).
Try it for yourself …
Last week I wrote (see Flash frontend for Indexhibit CMS) about our flash-indexhibit-example.
Today I also uploaded the sources …
I cleaned up the code but didn’t have the time to write any detailed comments. So take a look at the source-code and if you should have any questions, just leave a comment and we’ll try and help you as fast as we can.
The startpoint into the example is the Index class. This is only a loader-class responsible for loading the Main class which initializes the pureMVC framework and starts the application. After that, we use the StartupCommand to setup the application’s model and access the Indexhibit database via our RemoteGateway and the server-side remoting service “Indexhibit“.
To make the data handling easier we have two kinds of value objects: ExhibitVo and ImageVo. The remote-service is delivering you an array of ExhibitVos which you can use to display every available project from your Indexhibit installation.
If you want to dive right into the code, we recommend that you have at least a basic knowledge of the pureMVC framework’s design and functionality. Otherwise it’ll be hard to understand how the example is structured/built.
Other scripts we used in this example:
- Quasimondo’s ColorMatrix
- and of course Indexhibit
Get the sources here: http://apdevblog.com/examples/indexhibit/apdev_indexhibit.zip
ps: we’ll be heading to brighton tomorrow, so you’ll have to wait for a replay at least until thursday next week.
FOTB here we come :)
and watch out for our detailed report after we’re back from the beach.
Philipp and me have been using the PreLoader class as a Loader replacement for some years now. It loads asset SWFs more convenient and has some nice improvements over the usual Loader.
- Works similar to the Loader class (although it’s not extending it)
- Allows only one loading process per time (integrated loading queue)
- Some nice enhancements
After working with different content management systems over the last few years – like Typo3, Joomla and even some custom made ones – I came across a very neat one called Indexhibit. It’s not like you can compare Typo3 to Indexhibit – except maybe that they both are called CMS – but many projects we did in the past required only a small kind of management system. And that is exactly what Indexhibit has to offer. It’s an easy-to-use CMS with the most common features: create categories, add projects to category, edit headline/copy, upload images, etc.
We’re proud to announce our first open source project: the Apdev Videoplayer.
It’s an ActionScript 3.0 script-only videoplayer that we’re releasing under the MIT license. So you can do with it whatever you want – change it, skin it or just tear it apart and use some snippets of our code. It’s up to you.
Last week Adobe released a nice tool called FlexPMD – it can help you and your development team to improve the quality of the code you generate by looking for common bad practices like i.e. unused or inefficient code.
To better understand how FlexPMD works and what it exactly does, have a look at “About FlexPMD”.
You can use default or custom rulesets to control what FlexPMD is looking for. With the Custom Ruleset Creator you can – guess what – create your own rulesets and check your code against these rules.
There are three ways to use FlexPMD with your projects: