Posts Tagged ‘extension’

Adobe Brackets Extension – Replace In Selection

Saturday, August 15th, 2015

Here's a simple extension for Adobe Brackets that allows you to do a find/replace all within selected text. This is a feature that I use a lot and I like it more than the default Brackets find/replace behavior. You can get the extension from this direct link, the Brackets Extension Registry or via the extension manager in Brackets itself (shown below). You can access the extension manager through the File menu.

The source code is also available on github.

ReplaceInSelect

ANE Builder Batch File

Friday, January 10th, 2014

Here's a simple batch file I created which will save you some time (and typing) when building AIR native extensions. Just plug in the proper paths for all the variables and you'll be good to go. Two options: download the file or copy and paste from the second link.

Download aneBuild.bat

Click, Copy, Paste

AIRXBC No Longer Supported

Thursday, July 18th, 2013

With the arrival of the recent Adobe Gaming SDK update, it should come as no surprise that I will be discontinuing support for the AIRXBC extension. The new SDK allows for gamepad support in both Flash Player and AIR and now that we've got an official API to work with, it doesn't make much sense for me to continue with AIRXBC. I'll leave the current page up for a while yet, but don't expect any more updates.

Thanks to everyone who used and supported the extension; I had a lot of fun with it and the positive feedback from the community meant a lot. Now if you'll excuse me, I need to look into adding controller support into my current project!

Flash: Direct Memory Access via Native Extension

Sunday, April 28th, 2013

A couple weeks before the Flash Gaming Summit I found an interesting blog post from Colin Northway about managing texture memory in Starling applications. In this post he describes how he forces an error in ActionScript to receive an object's memory address which he then uses as a unique id. I thought this was a pretty cool trick and was discussing it with our engine developer at the office when we suddenly had a thought: if you can get the memory address of an object in ActionScript, what's to stop you from passing that address into native code and doing whatever you want with it? (more…)

Tutorial: Debugging Native Extensions

Sunday, April 7th, 2013

I've written before about how to create your own native extensions for Adobe AIR, but what if you need to debug your extension? If you're doing anything but the simplest of projects, you're going to want to be able to debug the code on the native side, in addition to your AS3 code. The ActionScript side is (hopefully!) already taken care of by your IDE so this tutorial will focus on the native code. It's a pretty short tutorial, but also incredibly useful! (more…)

Tutorial: Flash and C++ Native Extension

Monday, April 30th, 2012

Last week I decided to look into building a native extension for AIR and was very surprised by the lack of quality resources and tutorials for doing so. I was able to find examples for Android using Java and for iOS using Objective-C, but pretty much nothing for a standard Windows C++ project. I was eventually able to get things up and running by piecing together bits of information from various sources, but I thought I'd take the time to write a step-by-step tutorial on how to do this so that perhaps others will have an easier time. In this tutorial you will create a native extension that simply adds two numbers together and returns the sum. (more…)

Subscribe to RSS feed FGS5 Badge