Archive for December, 2010

Firefox & Debugging in Flex – same browser tab and no swf caching

December 14, 2010

Handy tips I picked up recently. In Firefox, type about:config in the address bar.

To make Flex debug window use the current tab, instead of repeatedly opening new tabs (very annoying), then do step 1.

If you’re debugging modules, the browser may have cached them, so you have to repeatedly delete the History and chache. Step 2 solves this.

  1. browser.link.open_newwindow = 1 (default is 3)
  2. browser.cache.disk.enable = false

 

 

Advertisements

Installing Flash Player 9: Firefox, Chrome, Internet Explorer (for testing)

December 9, 2010

Trying to test your Flash/Flex apps on older versions of Flash Player? I was, and did the following.

Check currently running Flash Player version in each of the browsers at Adobe Player Check.

Downlaod Flash 9 archive from here, in my case the first one under Windows sufficed, unzip and install flashplayer9r280_win.exe.

Chrome:

Go to Tools (Wrench), Options, Under the Hood, Plugins, Disable Individual Plugins.

Expand the details for the Flash install, and edit as shown below (disable ver 10 basically):

Disable Flash 10

Set your browser to Chrome in Flex Builder:

Flex Builder browser selection

Firefox:

Firefox is simpler, after installing Flash 9 exe, just check in Firefox, Tools, Add-ons, Plug-ins, it should have automatically switched version. If not, disable version 10 first, then reinstall ver 9.

Internet Explorer:

You will firstly need to uninstall Flash Player 10, following these instructions. Make sure that all flash using programs are closed (incl Flash/Flex Builder). After the uninstall is complete, install flashplayer9r280_winax.exe from the zip you downloaded. Check IE Flash Player version in Tools/Options/Programs/Manage Add-ons

FINALLY

Great, after doing the uninstall for IE, and your testing is complete,  now you will need to reinstall Flash 10 Debugger Player from Adobe. This is a good reason to start using Sun Virtual Box!!!!

Show In Navigator – Flex Builder – when your getting lost in the file structure!

December 3, 2010

In the code editor of any file, Right Click and go to Show in Navigator to see the files location relative to the other packages/classes/projects. Very handy when using GoTo Definition (F3) or Crtl+Left Click to jump between files.

“Where am I?”, now you know!