Monday, January 24, 2011

Can't Set Fireworks as Default Application for PNGs

So I use Adobe Fireworks heavily for all my graphical needs. This past weekend I inherited Adobe Creative Suite 4 (I used to have CS3) from a friend. After installing CS4 I uninstalled CS3. From that point on I was unable to have *.PNG files automatically open in Fireworks CS4. Heck, I couldn't even Open As... and have them open in CS4. Finally I found the problem in the Windows registry.

In order to fix this:
  1. Run regedit.exe.
  2. Drill down to HKEY_CURRENT_USER\Software\Classes\Applications\Fireworks.exe\shell\o pen\command.
  3. Update the REG_SZ data to point to the proper path on your machine (i.e. I set mine to "C:\Program Files (x86)\Adobe\Adobe Fireworks CS4\Fireworks.exe" "%1").
  4. Close regedit.
  5. Try associating the file again.
  6. Success.

Wednesday, January 19, 2011

How To: Create a iPhone/iPad Project in FlashDevelop

Download the following:
  1. Packager for iPhone
  2. FlashDevelop
  3. FlashDevelop iPhone Template
  4. FlashDevelop iPad Template (optional) 

Then:

  1. Install FlashDevelop via the installer (select “Install Flex SDK Automatically”)
  2. Copy Packager for iPhone files into C:\{FD_install_path}\Tools\flexsdk\ (copy over existing files)
  3. Copy iPhone/iPad Template files into C:\{FD_install_path}\Projects\ 

Now you can create new iPhone or iPad projects using FlashDevelop! Just use Project > New Project...

Further Tips:

  1. You'll want to make sure that the "Custom Path to Flex SDK" (under Project Properties..." is set to C:\{FD_install_path}\Tools\flexsdk\
  2. Also, each iPhone/iPad project will contain a PackageApplication.bat for building your project for the App Store. Make sure the FLEX_SDK variable is also set to C:\{FD_install_path}\Tools\flexsdk\bin 
  3. Lastly, FlashDevelop has some sweet SourceControl functionality built in. In order to use it you need to enable it in the FlashDevelop settings (press F10). In order to have source control functionality you need to check out the project using TortoiseSVN BEFORE pulling it into FlashDevelop (that's the tricky part). 

Thanks to geo for the awesome FlashDevelop templates!