Grant Skinner

The "g" in gskinner. Also the "skinner".

@gskinner

Adobe Exchange: Worth a Look.

While I was vaguely aware of the Adobe Exchange, I hadn’t really checked it out until a recent purchaser of our Spelling Plus Library mentioned that he had been unable to find our component on it. While the Exchange is still in beta, and has some rough edges, it’s looking pretty good overall. I was able to submit SPL, and have it moderated and listed in under 48 hours.

I think one of the major weaknesses of the Flash platform is the lack of a strong component and source code ecosystem. The Exchange provides one of the key elements needed to grow this ecosystem: Providing a central location for finding and rating third party components.

Continue reading →

DiggTop AIR Application Updated

This week, our first public AIR application, DiggTop, surpassed the 10, 000 download mark, thank-you to all who have downloaded it!

We initially announced DiggTop back in April, Flex + Apollo + Digg API = DiggTop!, for the then brand new Digg API. We had hoped to have many new versions and features out by now, but due to our internal work load, free products like DiggTop suffer (an all too common story). But fear not! We have not forgotten about this project and still have great new features planned for (hopefully) the near future. We will also be updating it to match any future builds of AIR. So stay tuned, as our little AIR application will keep wasting your time well into the future.

**Note: Digg has recently updated their api, so any current builds of DiggTop will not work anymore. We apologize for any inconvenience this has caused. This build resolves that issue, and adds a new images section to match the Digg.com site.

ColorMatrix Class in AS3

Something I’ve been meaning to do for a while now is port our ColorMatrix class to AS3. It’s a fairly simple conversion, but is still a handy utility to have on hand.

If you haven’t used the ColorMatrix class before, here is the description from when we first released it in 2005:

ColorMatrix provides a way to adjust Brightness, Contrast, Saturation and Hue based on a range of numeric values as well as multiply matrices. The ColorMatrix can then be passed into ColorMatrixFilter to apply color adjustments. The added bonus of ColorMatrix is that it uses the same calculations to generate matrix values as the Flash 8 IDE (with the exception of contrast adjustment which uses linear interpolation to provide a bit more granularity).

Download the updated source here

Here is a quick sample of it in use. This demo is included in the download package.

Continue reading →

CS3 Component bug: Component Styles

I was reminded a few weeks ago by Phil Chung (of philterdesign fame) of a bug in the CS3 component framework which we encountered shortly after CS3 was released.

Basically it boils down to setting component-level styles before any components of that type have been created. The styles are created, but when the first component of that type is instantiated, it resets the component styles, and overwrites the changes that were made beforehand. Slap a button in the library of a new FLA, and add the following code:

import fl.controls.Button;
import fl.managers.StyleManager;
var tf:TextFormat = new TextFormat();
tf.color = 0xff0000;
StyleManager.setComponentStyle(Button, "textFormat", tf);
var b:Button = new Button();
addChild(b);

There is an easy workaround, which is to make sure you set component styles *after* a component of that type has been instantiated. You can also just create a dummy instance of the component, and destroy it (which properly creates the style definition) and eliminate the issue.

You can download this fix here. One thing to note is that the components do not compile based on the component source code that is included with CS3, but rather the compiled componentShim component included in each component. To use this updated class, drop it in the appropriate directory (fl/managers) relative to your project, or in any path that is part of your publish class paths. The components will prefer any class definition found locally over the componentShim.
Please note that this is not officially supported by Adobe, and we take no responsibility for its use.

So there you have it. I imagine at some point, an updated release of the components will solve this and other issues, but until then at least this issue is resolved.

Branching Experiment: Flaming Hairball

After having my creative mojo refueled at Flash on the Beach, I’ve started playing around with some of my old experiments again. One of my favourite older experiments is my vein logic – it’s just such a beautiful example of recursion, and can be applied to so many things (like veins, vines, trees, more trees, and lightning) – so I decided I would rewrite and rearchitect it for ActionScript 3.

I barely managed to lay the groundwork for the new architecture before I got sidetracked by the file I was using to test it, and wound up building what I will affectionately call the Flaming Hairball.

You can check it out below.

Continue reading →