So for the last two weeks, I’ve been exclusively using XCode, doing Objective-C iPhone stuff. Haven’t even opened Flex Builder. Back to work today and back to Flex Builder. My fingers are tripping over themselves trying to figure out shortcuts. The two environments are similar enough – yet different enough – to cause major brain cramps. I was just wondering if there was a way to code AS3 in XCode. I mentioned my pain on Twitter, and got a reply about this project called CoreSWF.
Can’t vouch for this one yet, as I just heard about it and haven’t had a chance to try it out, but this looks pretty interesting:
http://enefekt.com/sansbrowser/2008/07/28/core-swf-flexas3-for-xcode/
Google Code site:
http://code.google.com/p/coreswf/
I’m sure I’ll be trying it out, and will post my feedback.
And yes, Sam Robbins, I remember you rigged together something for ActionScript in XCode way back when, when you were on a Mac and I was a PC guy. But that was 4-5 years ago (God, has it been that long???) Flash 7, AS2, some ancient version of XCode. I imagine that would need some major work to get functional again.
I spent some time attempting to do this a year ago. I didn’t manage to get it completely set up the way I wanted, but I made some headway in the right direction. This should at least help you get started:
http://www.nathanroberton.com/Site/thoughts/Entries/2007/12/22_xcode_and_as3.html
One thing to note, which I haven’t figured out yet, is why the ant tasks in the non-MPL Flex SDK (Which the sample AS3 project template uses) don’t work.
If you download the MPL version of the Flex SDK (“Open Source Flex SDK”), then the ant tasks work fine. (Be sure to set the Flex SDK path in the Target’s properties appropriately)
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3
I’ve been meaning to update this. I want to bundle the open source Flex SDK and the files into an installer for really simple-setup, and easy updating for new SDK releases. That and more project templates.
Funny enough, I’d wish I could develop Cocoa Touch stuff in Eclipse. For now I can only use my MacBook for that as xCode isn’t available for Windows and honestly developing on a notebook is rather uncomfortable with that miniature keyboard, it doesn’t even have a DEL key (only backspace).
@Sascha/hdrs: If you hold the “fn” key and hit the delete (backspace) key it deletes text in the other direction (at least on my MBPro). Not sure if that is the functionality you are looking for but hope it helps.
Maybe haXe?
http://yarivsblog.com/articles/2006/04/28/haxe-xcode/
Hi keith, any updates on this?, want to try this myself, but can’t get it to work 😉
CoreSWF seems to be the way to go – had no luck with the other solutions as XCode 3.1 seems to have changed some of the cross scripting menu options used in the tutorials I found. But got a basic demo of CoreSWF working, publishing AS and MXML.