Speed up your KeyRepeat rate OSX
defaults write NSGlobalDomain KeyRepeat -int 0
You’ll need to log out and log in again to see the change
defaults write NSGlobalDomain KeyRepeat -int 0
You’ll need to log out and log in again to see the change
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.
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.
This site for Moonbeam Films went live last week. It is AS3.0, XML controlled and uses the Gaia framework. It also uses the Google Maps API which is very easy to set up and use.
I’ve already got my conference pass, but if you don’t have yours then here is a great way to pick one up: eBay!
FOTB09 Ticket 1
FOTB09 Ticket 2
FOTB09 Ticket 3
FOTB09 Ticket 4
FOTB09 Ticket 5
One of the most useful lines of code I have found in AS3 is the following:
while (numChildren > 0) removeChildAt(0)
This removes every child DisplayObject from the DisplayObject you run it on. Very useful for cleaning up after yourself.
Another example:
while (myMc.numChildren > 0) myMc.removeChildAt(0);
Recent Comments