Post by Aron / October 20th, 2009

Some of you guys asked, why even using the PreLoader instead of the original Loader from Adobe in the first place. The PreLoader queues the load requests, that’s all… :) Read the full story here.
For quick starters here an super simple example, that illustrates what we’re talking about:
PreLoader simple example. You might want to use something like charles to throttle down your bandwidth.
This example is also to be found the in PreLoader repository.
Post by Phil / October 14th, 2009
Hi there.
After some inquiries we finally added the possibility to customize the Apdev VideoPlayer – only changing colors at this time but it’s a first step in the right direction …

You can now change any color of any object/control that is used within the videoplayer – but check the ApdevVideoPlayerDefaultStyle.as for all the attributes that can be manipulated. And it’s up to you whether you change the attributes using pure ActionScript (1) or our html-version of the videoplayer and pass the values in via flashvars (2). With approach 2 you don’t even have to know ActionScript or open a flash-file – just embed the videoplayer-swf into your website and customize it via flashvars.
For further information, see the upcoming examples.
Read on ›
Post by Phil / October 12th, 2009
This is just a small update to the sources of our Flash / Indexhibit example we posted earlier.
I added a FLA file for all of you that never used the Flex-compiler before :)
Just download the sources and open the ndxz.fla in (at least) Flash CS3. Hit cmd-return and enjoy.

When I have the time, I still want to build another very simple example that only uses assets from the library so that you can just change colors and forms on the timeline and re-compile the whole project with some great new looks.
Have fun. Cheers
Post by Phil / October 8th, 2009
… and the server is going to be down for a while but we hope that we’ll be up and running again on monday morning. so don’t worry :)
Post by Phil / October 7th, 2009
Because some of you asked for an installation guide for the example I posted earlier – here comes a small how-to so that you can get the demo up and running on your own computer/webserver.
There is more than one way to get this done …
Read on ›
Post by Aron / October 6th, 2009

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:
Flex 3, XML Schemas & automatic mapping of AS classes to XSD element definitions (Part 1)
Flex 3, XML Schemas & automatic mapping of AS classes to XSD element definitions (Part 2)
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.
Read on ›
Post by Phil / October 4th, 2009

FOTB 09 Beach Barbecue – Image by Keith Peters via Flickr
Second time (after 2007) for us being at FOTB in Brighton this year … and I just wanted to write a small roundup to let all of you who couldn’t be there in person know what you missed out on ;)
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.
Read on ›
Post by Phil / September 27th, 2009
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.
So go and check it out: http://code.google.com/p/apdev-videoplayer/.
Or just download the new version directly: apdev-videoplayer-1.0.1
Post by Phil / September 24th, 2009
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 …
Read on ›
Post by Phil / September 18th, 2009
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:
Get the sources here: http://apdevblog.com/examples/indexhibit/apdev_indexhibit.zip
Cheers
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.