Posted by Jacob Wright in GeneralApr 20th, 2009 | 9 Comments
Ha! I serialized a display object. Didn't think it could be done, but with a little work it can be. See my previous post about overriding Transform and Matrix objects for a little more context. I'm jumping right in to how I did it.
So the main problem before was the Transform class requiring a parameter in its constructor. So I subclassed Transform and made that parameter optional. Turns out if you pass in null to the superclass you get an error too, so if no displayObject is passed in I use a Shape. (I figured it was one of the cheaper display objects to make, though between that and Bitmap I'm...
Posted by Jacob Wright in GeneralApr 20th, 2009 | 2 Comments
I'm building a a commercial library for scrap-book or other composition type applications and it would be useful to be able to override the flash.geom.Transform and flash.geom.Matrix classes with my own. So I played around with it for awhile and thought I'd share what I found.
First I tried setting my own matrix. I know that when you access displayObject.transform.matrix you get a clone of the object's transform matrix, so I create a test class called MyMatrix.
public class MyMatrix extends Matrix
{
public function MyMatrix(a:Number=1, b:Number=0, c:Number=0, d:Number=1,...
Posted by Jacob Wright in GeneralMar 27th, 2009 | No Comments

After purchasing Keynote Remote from the iTunes store a couple of months back I was disappointed that it only worked over WIFI (why do we have bluetooth in the iPhone again?). Most conferences have spotty WIFI at best.
I had an idea today though about using my computer's built-in network creating ability. I set up a network from my laptop, connected to it from my iPhone, and had the Keynote Remote working in no time. No WIFI network. Yay! After I had figured it out I looked up on google to see if anyone else had done it and found they had. There's a tutorial with screenshots here: http://www.italkmagazine.com/using-apple-keynote-remote-without-wifi/....
Posted by Jacob Wright in ActionScript 3Mar 4th, 2009 | 3 Comments
All credit goes to Tyler for this trick, but I'm sure I would have thought of it too. :)
Tyler has been working on an XML specification, what he things Adobe should have done in place of FXG which is a standard that was built around implementation with Flex. During this process he has also done tests from time to time to see how it might actually pan out using Flex builder, and we're pretty confident it could all be done there. One of the issues is this new standard should support shortcuts. An example in the XML is:
<group>
<layout padding="10px 10px 10px 50%"/>
</group>
<group...
Posted by Jacob Wright in GeneralFeb 24th, 2009 | No Comments
Today we had our first Layered Content meeting. We used Adobe Connect but had a lot of troubles with the audio. So it wasn't recorded and we won't be using that again. Not for awhile.
I went over some of the generals of Layered Content. It's a content management system for websites, it will use AIR and PHP/MySQL, it will have online/offline modes, it won't have complex template markup but use a descriptor file and ids/classes as the entry points for content, and other general coolness. We talked about the major pieces needing to be done, roles to be filled, and goals of the project. Below are the...
Posted by Jacob Wright in GeneralFeb 17th, 2009 | 3 Comments
Tyler has 'officially' released his weak-reference databinding. It is smaller and faster than Flex's but can be used in Flex and even has an MXML tag to create a bind. Check it out: http://www.xtyler.com/code/177.
Update: I've refactored it and unit-tested it, fixing several bugs. The new version can be found on github.