by Kevin Goldsmith

Created

September 25, 2008

This came up on the Pixel Bender forums and on the pre-release forums. I figured I would blog it so that people would catch it in their web searches.

There is a bug in the current version of the Toolkit where the AIF_FLASH_TARGET is ignored when trying to export a PBJ file from the toolkit (although it is not ignored when testing in Flash-compatibility mode). This is an embarrassing bug, we know.

It will be fixed in the next release posted to Adobe Labs. If you are using this pre-processor variable, you can work around the bug for now, by adding the following code to the top of your pbk file when exporting to pbj:

#undef AIF_FLASH_TARGET
#define AIF_FLASH_TARGET 1