Monthly Archives: August 2006

Blogging from TextMate Rules! 0

![TextMate](/blog/wp-content/uploads/icons/TextMate.jpg)

Check out the ["Blogging From TextMate"] [entry] entry from the [Macromates Blog] [blog]
[entry]: http://macromates.com/blog/archives/2006/06/19/blogging-from-textmate/ “Blogging From TextMate”
[blog]: http://macromates.com/blog/ “Macromates Blog”

Viral Video Distribution 0

[cmIcon]: /blog/wp-content/uploads/icons/Video.jpg “Viral Video”

![Icon][cmIcon]

A client was considering uploading their commercial to a slew of free video sites — which fortunately didn’t happen — but the process made me realize that there are a quite a few free viral video sites out there. Enjoy…
* [You Tube](http://www.youtube.com/)
* [Google Video](http://video.google.com/)
* [Yahoo Video](http://video.yahoo.com/)
* [Stage 6](http://stage6.divx.com/)
* [Blip TV](http://blip.tv/)
* [Revver](http://www.revver.com/)
* [...]

Using AsBroadcaster with buttons on the stage 0

![Adobe Flash](/blog/wp-content/uploads/icons/Flash.jpg)

The following technique is a quick and easy way of triggering methods of a class from a physical button on the stage.
[as]
import mx.events.EventDispatcher;
import mx.utils.Delegate;
class SampleClass extends MovieClip {
// Declare objects on stage
var navigation_mc:MovieClip;
function SampleClass()
{
AsBroadcaster.initialize(this.navigation_mc);
this.navigation_mc.addListener(this);
this.navigation_mc.item1_btn.onRelease = function (){ this._parent.broadcastMessage(”NavItemRelease”,”item1″); }
this.navigation_mc.item2_btn.onRelease = function (){ this._parent.broadcastMessage(”NavItemRelease”,”item2″); }
this.navigation_mc.item3_btn.onRelease = function (){ this._parent.broadcastMessage(”NavItemRelease”,”item3″); }
}
function NavItemRelease(itemID){
trace(”Navigation Item “+itemID+” was selected.”);
}
}
[/as]

Posting to WordPress from an OS X Widget 1

[WordPressDash]: http://www.apple.com/downloads/dashboard/blogs_forums/wordpressdash.html “Apple Dashboard: WordPressDash”
[DashBlog]: http://www.apple.com/downloads/dashboard/blogs_forums/dashblog.html “Apple Dashboard: DashBlog”
[PostingWithTextMate]: /blog/

![TextMate](/blog/wp-content/uploads/icons/Dashboard.jpg)

There are currently two options for posting to WordPress from an OS X widget.
1. [WordPressDash] [WordPressDash]
2. [DashBlog] [DashBlog]
They are both simple and quite functional, but **WordPressDash** has two options that put it ahead of **Dashblog**. Instead of only allowing you to post a new entry, **WordPressDash** [...]