Archive for March, 2008

Kid Proofing My Imac – Parental Controls in Leopard

March 9, 2008

I recenty bought a new IMAC for the family and I have two little ones at home who are keen to start using the computer. My son is almost 4 and my daughter is 2. I mainly let them play games that only require pressing keys on the keyboard and I didn’t want them messing about with my files and other import info and settings.

Using the new parental controls in Leopard I was able to create a simple account for the kids that require no login and then strip out pretty much all the functionality except for a few programs I want them to be able to run and a web browser. Not only that but I was able to disable most of the shortcut keys on the keyboard so that I can pretty much let them pound away on the keyboard and there is not much they can do to harm the computer.

If you are intesting in learning more about how to do this, here is an article that got me started. If you have older kids you can even restrict internet usage and control times and durations that the kids can use the computer. Pretty slick!

http://www.macworld.com/article/61132/2007/11/tco_parentcontrols.html

Adobe Air 1.0 and Full Screen –> With Full Keyboard Support (Use FULL_SCREEN_INTERACTIVE)

March 5, 2008

So it turns out that Full screen Air apps are a go after all with full keyboard support. This is great news. What you need to make sure you do is use FULL_SCREEN_INTERACTIVE instead of FULL_SCREEN when you set the stage displayState.

Thanks Tim!

Adobe Air 1.0 – Positioning the Main Application Window on the Desktop

March 3, 2008

So you’ve built an AIR app, but want to position it on the desktop. Positioning a new window is pretty easy, but It may not be intuitively obvious how to position the main window of the application. After trying to set all manner of stage properties and x,y coordinates, it turns out that all you do is go into the Air Application and Installer Settings and then click on the settings button located next to advanced. In the window that comes up, look for initial window settings, and in my case, I choose zero for X and zero for Y to place my window in the top left of the desktop. You can also set widow heights and widths here and check up a whole host of other options.

Adobe Air 1.0 – Full Screen –> No Keyboard Input

March 3, 2008

So, you’ve downloaded and installed the official release of Adobe Air 1.0 and are really excited about the new “full screen” feature. We’ll I was really excited too. I wanted to build some games for my kids that I could run fullscreen and disable most of the keys on the keyboard. Sounded great in theory, and so I went off and learned how to full screen an app, which was pretty easy. I then popped in some code to trap the all the keys since so my little onces can’t get into too much trouble pounding on the keyboard.

When the app runs and is not in full screen, the keys get trapped no problem, but when I switched to fullscreen, suddenly, no keyboard access. Combing through the tech notes and blogs at Adobe I was shocked to find that this a known issue or rather decision made by adobe to “protect” naive users. Personally, fullscreen without keyboard access is like throwing the baby out with the bathwater. I hope this decision get reconsidered at some point. Until then, I switched over to making my app go as large as it can without going full screen, which still gives me my keyboard.

Hello Blog!

March 3, 2008

I’ve decided to go with a little bit more personal blog that takes into account the many aspects of my life. Although I’ll often be discussing technology and game development, I will also be adding in little tidbits from other areas of my life to balance things out. I hope this will allow me to be more frequent in my postings … which kinda lost steam on my previous blog. Hope you’ll find my journey interesting and informative.

Cheers,

Richard