"Serving life without parole since 1951!"
Wednesday, December 3, 2008

« Earlier pages Later pages »

12/6/2007

Trap Flash CS3 compiler errors and line numbers… in jEdit!

Love editing your Flash ActionScript files in jEdit, but want better debugging tools within the editor itself? Maybe you'd like to jump directly to errors indicated within your code without resorting to the Flash IDE?

Today's tip just makes me plain happy.

The result of today's exercise promises to increase productivity dramatically when editing ActionScript using jEdit: Assuming Flash is running alongside the editor, we'll not only be able to test our current movie with CMD-ENTER (just as we did two months ago), but we'll also be able to get a list of compiler errors and warnings to appear within jEdit's errorList panel, and we'll be able to click those errors to jump to the offending code — without ever having to edit any code within the Flash IDE itself!

It may take a few minutes to set up, but it definitely shows off the power and expandability of jEdit — while also providing a heckuva nice (and long awaited) feature for us cross-platform Flashers.

(more…)

Print this article Print this article


11/21/2007

AutoStacks Redux: Making Leopard work another way…

Several people have been asking for a slightly modified version of AutoStacks since we released the little utility this month, so I figured I'd revisit the tool today.

In its original incarnation, AutoStacks moved selected files to a new folder and created a new Leopard "Stack" by adding the folder to the right-hand side of the dock. This is the way I expected Apple's Stacks functionality to work out-of-the-box, but apparently, others have their own ideas as to how Stacks should act: In particular, many people seem to want their Stacks to contain aliases to existing files, rather than the files themselves.

Not to begrudge these people, I've made some changes to AutoStacks that should appease both camps: Starting with version 0.2, AutoStacks will now prompt the user upon first use as to which way they would like to have it behave from then on (move the files, or create aliases to them).

After the first use, it will assume you always want it to behave the same way, and it will refrain from asking again until you decide it's time for a change; On the off chance you change your mind, you can always double-click the AutoStacks application icon (i.e., launch it without dragging files to it), and it will be happy to ask you again.

Oh! And I almost forgot… Thanks to the the original creator of a nice set of overlay icons and information provided by these fine folks, I've also added an extra icon to each new AutoStack to help restore some order to your AutoStacked dock. Hope you enjoy the extra touch!

(more…)

Print this article Print this article


11/10/2007

Cheating at Leopard: Make Stacks work the way you thought it would

Filed under: by VeryVito at 8:43 pm — [Tag on del.icio.us]

Thanks to the great feedback I've received here, I released AutoStacks 0.2 on Nov. 21, 2007. The source code below is still that of version 0.1, but all download links in this article have been updated to the new version. The original 0.1 version can still be downloaded here.

Remember how cool you once thought OS X Leopard's new Stacks feature was going to be? And remember how disappointed you were when you discovered it didn't actually do what you thought it would: i.e., create a new stack any time you dragged a collection of unrelated files onto the dock?

For some reason, I was heartbroken when I discovered a Stack was nothing more than a spiffed-down image of an existing folder, and I was even more irritated when I discovered you couldn't just drag a bunch of files to make a new one. I couldn't do much about the look, but I could at least make something that acted as I wanted it to: A convenient dock icon that sits patiently waiting for a collection of files, and then magically turns them into a new stack.

It's a simple AppleScript application, and it seems to work. Unzip the application file, place it in your dock, then select a few files in your finder and drag them to the icon. It will ask you for a label (a default label is generated according to the current date and time), and then it will magically add the new Stack and (perhaps annoyingly) reload the Dock.

Tada!

(more…)

Print this article Print this article


10/1/2007

A place to store our stuff


Now that we have context-sensitive help files, a sporty new look and the ability to communicate with the Flash IDE, I figure it's time to start keeping track of all the goodies we're adding to our new ActionScript editor.

Thus, I've added a permanent page to Turdhead.com to provide direct links to the growing list of enhancements we've been making to jEdit lately (otherwise, these entries are likely to just disappear into the archives and remain pretty hard to find later). The "Make jEdit yours" logo at left provides the link from anywhere on Turdhead.com.

Thanks again for all the kind comments and emails, and please let us know if you've discovered something you think is worth sharing. Thanks!

Print this article Print this article


9/30/2007

More ActionScript magic for jEdit:
Context-sensitive reference material!

Filed under: by VeryVito at 11:24 pm — [Tag on del.icio.us]

We're making progress on our quest to create the perfect Mac OS X ActionScript editor: Today, we're going to integrate the Adobe AS2 and AS3 Language References directly into the open-source jEdit editor, bringing context-sensitive help files up at the stroke of a key!

To do this, we're going to need three things: The InfoViewer plugin (which should already be installed with your base jEdit application), and two jEdit macros that we'll provide here. If you need a refresher on how to install plugins or new macros, check the previous tutorials in this series.

The InfoViewer is basically a small browser in a floating or docked panel within jEdit. If you don't already see it, you should be able to find it under your Plugins menu. I prefer to dock mine at the right-hand side of the editor, so it stays out of the way but is generally available. You can do this by selecting the small dropdown arrow in the upper left of any floating dock and choosing which side of the interface on which to dock it:

Docking InfoViewer

I've created two macros — one to search for information within the ActionScript 2 reference files, and one for the ActionScript 3 files. You can install them both, or just the one that interests you (I've got them both installed myself, and I've assigned the keyboard shortcuts CMD-F1 to search the AS2 files, and SHIFT-F1 for the AS3 files). To install, you can copy the code below, or simply download and extract the files from this zipped archive and save them in your ~/.jedit/macros directory (or better yet, make a subdirectory called "ActionScript" within the macros folder and keep all your AS macros in one neat section — rather like a TextMate "bundle").
(more…)

Print this article Print this article


 

Shameless begging, panhandling and soul-sucking indignity

Want to show your appreciation for Turdhead.com, its products or services? Although it's certainly not necessary, we'd be pleased as punch if you felt like donating any amount you'd like, or even if you just wanted to give us a nod on Digg.com. Honestly, we have no pride whatsoever (the name of the site is Turdhead.com, after all), and we'll take any recognition we can get for our efforts here.

 


« Earlier pages Later pages »

 

Search

Or use Blingo! to search and win prizes.



Get Chitika eMiniMalls

Design and Sell Merchandise Online for Free

Copyright © 2004-2008 by Turdhead.com. All rights reserved. So there. Questions? Write us!
But first, get a load of these cryptic yet official looking numbers:
[ 1608102v | 176p | 855c | s | 12.29.05d ]