Select Page

Flash “Allow” webcam button not working – Firefox

I recently came across this problem with a small AR project I was working on. Sometimes the webcam would work, but other times the SWF would seem to freeze when the Webcam Flash Player Settings window would come up. I could still “tab” around the settings window but I couldn’t select the “Allow” button to enable my webcam. This was pretty frustrating until I came across this helpful post on stackoverflow:
http://stackoverflow.com/questions/3003724/cant-click-allow-button-in-flash-on-firefox

It seems that it is a bug within the Flash Player Settings that occurs when the window width isn’t a whole pixel, and the CSS for the window is set to margin auto. With a bit of javascript trickery you can make sure that you won’t have this problem again.

Site Launch: How Much Carbon…?

This project was another fantastic visualisation for David McCandless of informationisbeautiful.
http://www.informationisbeautiful.net/

It is the second visualisation we have worked on, and it was even more fun than the first.
The data is coming in live (as a CSV) from a Google Docs Spreadsheet http://bit.ly/tonsofcarbon.
The application is built in Flash using ActionScript 3.0 and the PureMVC framework, with SWFAddress and a small amount of XML.

You can read more about this project on David’s great blog here:
http://www.informationisbeautiful.net/2011/how-much-carbon/

link

Flash Builder 4 / Subversive / OSX / SVN

Recently I had to install the Subversive plug-in in Flash Builder 4, but was unable to due to consistent errors during installation.

FlashBuilder -> Help -> Install new Software http://download.eclipse.org/technology/subversive/0.7/update-site/

I’m not sure if this is a bug in FlashBuilder 4, but this link just was just giving me errors during installation. If you are also having this problem, you can try another location that worked for me:

http://download.eclipse.org/releases/galileo/

thanks to http://www.flex-tutorial.fr/2010/03/30/flash-builder-4-installation-de-subversive-et-connecteurs-svn/ for the tip

UK Postcode Mapper Firefox extension is now open-source

I have now made the UK Postcode Mapper Firefox extension open source, after a user suggestion on this blog. I initially decided to create this extension as a way to learn more about Firefox and javascript. Since the first build I have updated it twice, but don’t have time to maintain it anymore, so making it open-source makes perfect sense.
The source can be access on github at this location:
http://github.com/danjp/ukpostcodemapper

The license info is in the README file.
If you would like to get involved in publishing / updating this project at mozilla.org, please email me and I will add you as a new Author.

Waiting for Adobe Flash Player to connect to debugger

Recently a FlashBuilder project I was working on just stopped compiling using the debugger. The program would just hang with the build progress stuck on 57%. I tried many things to fix this, including uninstalling and reinstalling the debug versions of the Flash player without any luck. Eventually I found that the player that was launching was not the Debug player but the Release build. I discovered that once I changed the file preferences for SWF files it would debug again.
To do this on a Mac, select “Open with…”, choose “Other…”, select the Debug player and check the “Always Open With” checkbox.
There is another method document on StackOverflow that I haven’t tried.
Mac OSX / FlashBuilder 4