Posted on March 19th, 2008 by Shan
There was some confusion in #flex yesterday. The question came up on how a child component could access the parent component. Eventually, it came down to they wanted to pass some data from the child back to the parent.
Well, the “black box” method of component programming says that we should use custom events to send data from the component back to the parent. I whipped up an example that uses both a basic custom event and a custom event that passes back data.
One note, when you create your own event that passes back data, you not only need to add your custom attributes, but you also need to override the clone() method. Look at the MyCustomEvent.as file in the source.
You can view the example here. As always, right-click to view the source.
Tags: Webapper
Posted in Syndicated
Read More
Posted on March 15th, 2008 by Shan
I have no clue when this happened, but I just got a little note in the Google Talk part of my Google Apps Mail page, saying to sign in to AIM. I did, seems to work great. The single best feature is that now your AIM chats are logged in your mail, just like GTalk [...]
Tags: AIM, Google
Posted in General
Read More
Posted on March 14th, 2008 by Shan
On my PC, I used to use LeechFTP, and more recently moved over to FileZilla. The main reason I used these programs over WS-FTP was because so many times when I was pushing files, I was pushing lots and lots of tiny files. These programs were multi-threaded, so they would upload a dozen files at [...]
Tags: FTP, Moving to Mac
Posted in Development
Read More
Posted on March 14th, 2008 by Shan
Since my original Moving to Mac post, Adobe was kind enough to throw me into the ColdFusion 8.01 pre-release program. A quick download later, and I got to run the installer. Not only was the install process about 10x faster than my last CF8 install on Windows, but the process *after* the install, the loading [...]
Tags: ColdFusion, Moving to Mac
Posted in Development
Read More
Posted on March 14th, 2008 by Shan
Ok, technically I’ve been doing IRC on my Mac Mini for quite awhile now, but I have to say that it’s a great experience. I used mIRC for many years, but a couple MacUpdate bundles ago, there were too many good apps to be passed on. One was Linkinus, a great IRC client for the [...]
Tags: IRC, Moving to Mac
Posted in General
Read More
Posted on March 14th, 2008 by Shan
I loved TortoiseSVN. I miss TortoiseSVN. I’ve found a great tool for the Mac that does a very poor impression of TortoiseSVN, but is still useable. scplugin is a Finder contextual menu item that exposes most SVN commands. It’s worked like a charm, so far. Wanting to also see some GUI stuff, I downloaded svnX, [...]
Tags: Moving to Mac, SVN
Posted in Development, Reviews
Read More
Posted on March 13th, 2008 by Shan
So notepad.exe was my bread & butter on Windows for doing text editing. Not very powerful, but it got the job done. While attempting to play with various config files (more on that in subsequent blog posts), I came across the program TextMate. It’s got all sorts of neat text-editor features, but the best one, [...]
Tags: Moving to Mac
Posted in Development, Reviews
Read More
Posted on March 12th, 2008 by Shan
Greetings from my new MacBook. I ended up picking up a refurb for a $850, and threw in 4gb of ram ($110) and a 320gb Hard Drive ($165). I’m going to chronicle the journey of ditching my Windows laptop for my MacBook, the good and the not-so-good. Starting with the difficult. First thing I did [...]
Tags: Moving to Mac
Posted in General
Read More
Posted on March 9th, 2008 by Shan
I’m a big fan of The Consumerist. Usually twice a day there’s a story about someone who took their computer to Best Buy (Geek Squad), Staples, or any other number of retail giants for repair, only to have their equipment disappear, get even more broken, over-charged, upsold useless junk or worse. Now, I’ve only been [...]
Tags: Best Buy, Geek Squad, I Hate Stupid People
Posted in General
Read More
Posted on March 8th, 2008 by Shan
Fatal error: Class 'GeSHi' not found in /home/shan/public_html/wp-content/plugins/codecolorer/codecolorer-core.php on line 137