Nobien A nerd blog about nerdy things by … nerdy guys?

25Apr/084

New Book, New Look.

After a year of neglect, we have finally revamped our blog. This new look will hopefully pressure us (more so, me) into posting more.

One main reason why we haven't been updating this site as much within the past year is that we've been working on Adobe AIR: Create-Modify-Reuse (or just Adobe AIR: CMR). I know we have posted some info about this in the past, but I we're pretty excited since it's finally coming out.

Adobe CMR was written by Todd Anderson and the two of us (Matt & Marc). Additional support for the book included our editor, Brian Hermann and technical editor, Ash Atkins.

The book is a learn-by-example guide to AIR. It is in no way a reference manual. However, if you find that you learn better by building, but don't necessarily know where to start, this is for you. Adobe AIR CMR takes you through eleven sample applications that you can modify and call your own. All together, I believe the book came together really well and is something we are all proud of. If you so happen to pick it up, we hope that you enjoy it.

22Jan/084

AS3BloggerLib v0.1.4 Update

Made another fix to AS3BloggerLib. Previously there was a problem with how I was handling the id and blogPostID properties of Comment objects. This has been resolved and all files have been updated at Google Code.

20Jan/080

AIR HTML control does not re-render after call to style.setProperty()?

So I'm working on a small application that allows you to edit the HTML and CSS of a page that is loaded into an AIR HTML control. I can easily reset the the value of the body's innerHTML property and the HTML control re-renders the view. However, on the CSS side of things, it doesn't seem to re-render. Here's an example of the code from my application:

var win:Object = html.htmlLoader.window;
win.document.styleSheets[i].cssRules[n].style.setProperty( prop, value );

Simple enough, no? Well whats annoying is that this used to work in Beta 2 so long as I set the body's innerHTML property equal to itself as sort of a refresh call. I've even traced the value of the style's property before and after the call to setProperty() to double check that it had been changed, and of course it was fine.

So my question is if anyone has experienced this or if they know that this is as designed? It was sorta crucial to the design of my application from beta 2 and I'd really like to get it working again.

31Oct/072

AS3BloggerLib v0.1.3 Update

Today I updated the AS3BLoggerLib project. Recently I realized that I wasn't handling service responses in a good way. Previously, I was assuming that when the URLLoader's COMPLETE event was dispatched that the service call was successful. This obviously is not the case. Now a simple check on the HTTP status code ensures that a BloggerService event is dispatched only when a successful call has been made. Otherwise, an ErrorEvent is dispatched with the message from the server.

I still have yet to receive feedback from anyone concerning this library. I know very few people have downloaded it, but if you have, and if you've attempted using it all, I'd love to hear from you.

26Sep/072

AS3BloggerLib v0.1.1 Update

Another quick update on AS3BloggerLib. I changed the package name to reflect the nobien brand. It changed from 'org.mattwright...' to 'com.nobien...'. Why you ask? First, I don't want it to be confused with the most infamous Matt Wright in the internet world. And second, I want to push the nobien name a bit more. Oh, and yes, we have a .net domain name, but there's just something weird about starting a package name with 'net', don't you think?

At any rate, I've added a new download and deprecated the old one. I've also started adding some wiki pages. Hopefully this will give all you developers out there a quick glance at the library rather than having to download it and explore the packages.

The library has only been downloaded a couple times so far, and probably isn't really being used by anyone, but if you do happen to download it, I'm really looking for some feedback so that I can make this thing the best it can be.

18Sep/070

AS3BloggerLib Update

Just a quick update. I've updated AS3BloggerLib with proper documentation, an SWC file, and added the first download. The project feels a bit more official now that these are up there. On top of adding this stuff I also did a bit of necessary encapsulation to clean the code up a bit. I'm sure more could be done to optimize the code, such as getting rid of the dependencies, but I'm happy with it for now. I will hopefully be providing some example files to download soon as well. Who will be the first to download?? Does anyone even care about an AS3 blogger library? Ha!