Category: XCode


Friday 2006/06/16
2:04 PM

Categories:

Flash/Actionscript, Work, XCode

DS vs DS

This space has been silent for a few days, but with good reason. I started my new job at Domani Studios on Wednesday, and I spent a bunch of time getting my workspace in order, mostly on the Flash/XCode integration end. I’ve been using XCode as my primary Actionscript Editor for a while now, but in setting up my computer at work I found some improvements had been made to the framework:

1) Josh Buhler’s post on Flash/XCode/NaturalDocs. This was written last year, but it’s still useful. There’s a project template, plus build scripts for Test Movie and/or generating documentation via NaturalDocs. The only modification I made was to change the build scripts in the XCode Project Template and the User Scripts to point to the Flash 8 IDE.

As a bonus Josh also has a tutorial on using XCode with the Flex SDK (which I guess will have to do until Macrobe gets around to releasing Flex Builder for the Mac).

2) There’s updated Actionscript2/3 code completion files for XCode here. One little wrinkle I found is that I had to unwrap these in a different directory other than ~/Library/Application Support/Apple/Developer Tools/Specifications/. Having more than one Actionscript.pblangspec file in Library directory caused problems with code completion. My guess is that XCode was reading in both the AS2 and AS3 files, and that created a conflict. Moving them to a different directory, and then just copying the one I wanted over did the trick.

There’s also CSS/PHP code completion files at opencode as well, just in case you never want to leave XCode.

Thanks to both Josh and the opencode crew for sharing their works with the wider world.