AARON SMITH’S CODE ENDEAVOR

Archive for February, 2009

Guttershark Updates

Hey all, just wanted to mention that you can follow updates to guttershark by subscribing to the rss feed that gitweb creates. There has been activity over the last week, with great updates from Oliver Turner to the layout manager. A few updates from me, and more to come from both of us.

The layout manager now has the ability to align things to the inner or outer edges of objects, and one more method was added, alignColumn, which aligns objecs in a vertical stack, but has a few good options.

I’ve also, finally added a decent scroll bar class (net.guttershark.display.ScrollBar), which doesn’t suck, doesn’t break, and doesn’t require all objects to be on zero-zero points.

Besides the scrollbar, I’m working on BaseFLVControls, which will be a really quick way to get flv controls into a player. But because it’s extendable, you can override methods that provide hooks into the various events that are causing buttons to show and hide, etc. Look for that to be complete in a few days.

Also, I don’t know if anyone looks at the decorator classes, they seem simple, but they’re really useful. I just added a new one called “HighlightableSprite.” Which wraps up over and out states, but in a simple way. So, when used, you can get over and out states in one line of code.

The examples zip has been updated too. Which includes updates to the layout manager fla (thanks to Oliver Turner), examples of the new scrollbar and baseflvcontrols, and the highlightable sprite.

7 comments

ASDoc Bug

I’ve known about this bug for a while, just forgot to say something. It’s a very miniscule bug, but can be confusing to someone reading documentation generated by asdoc.

Take a look at this method definition:

public function flipProp(prop:String,value1:*,value2:*,...objs:Array):void

Now take a look at the method documentation here.

Notice a difference in the method definitions?

The answer: asdoc documents the method as if it were declared like this:

public function flipProp(prop:String,...value1,value2:*,objs:*):void

Notice that asdoc reverses the order of the (…) rest style parameter, with the objects that are defined as *. The only time it happens is if there are three or more parameters involved in the method. And it only happens when you use rest (…), immediately preceded by a *.

No my docs aren’t wrong. It’s asdoc!

No comments

Gitweb up and running

Finally got around to fixing gitweb. It’s up and running, yay.

No comments

New Guttershark Logo

Thanks to Michael Trueman for the new logo! Check out the Guttershark page to see it - it’s awesome!

No comments

Guttershark Git Repo

Ok folks, I changed the svn repos page to a git repos page. Guttershark is available. The others I’ll get setup in a day or two.

Also, I took all of the examples out of the repo, and am making them available as a download. See the Guttershark page for that link.

2 comments

New Server, SVN Repositories Are Down

I had to move everything over to a new server. The transition was fairly painless. Just a simple DNS change and it was fine. However I haven’t put the SVN repositories back up yet, as I am going to move them all over to git. So in case anyone out there is actually listening. This is just a heads up. I’ll try to have the git replacements up in a couple days.

Oh by the way, a friend recommended slice host for the server, and they run a very, very competitive service. So that’s where everything is now. I had free dedicated hosting from Lunarpages but they decided not to renew their sponsorship. Oh well, it was a sweet (free) two year ride.

6 comments