VideoEvent.COMPLETE and SoundMixer.stopAll()
16th September 2009 | 0 Comments
I just ran across a strange behavior in flash that might save you a few mnutes of head scratching. I had a video playing using a FLVPlayback component. I also had a button with a roll over sound on it. On roll over I used SoundMixer.stopAll() to kill any extra roll over sounds. Well this also kills the video sound and triggers the video complete event. My best guess is the SoundMixer class is killing all of the video streams in addition to any audio streams. Lesson learned.
Taming IMAP on Gmail
18th August 2009 | 0 Comments
When Google added IMAP support they turned every label into a folder, including the spam label. This makes total sense, but I get far more spam than real emails and when I use IMAP I have to download all of those spam messages. Or do I? I just stumble upon a Gmail Labs extension called "Advance IMAP settings" which gives you the ability to control which labels are downloaded via the IMAP protocol. Install the extension and go to Settings > Labels. Each label/folder has a checkbox next to it called "Show in IMAP". Uncheck the one called spam and you're done. No more waiting for your spam to download.
Old iPhone
25th July 2009 | 0 Comments
I've been trying to figure out what to do with my old iPhone now that i got a 3GS. I've been thinking about jailbreaking it, but I don't want to spend a lot of time doing that. And then last night a crazy idea came to me, turn it into my alarm clock. Now my current clock radio isn't bad, its just that I hate waking up to talk radio and the battery backup never works. Anyways i needed to find a way to prevent the iPhone from turning off the display, thats when I stumbled upon LCD Clock (App Store Link). Its a 99 cent app that has a preference to prevent the screen from turning off. Its totally a niche app, but it works perfectly for what I need it for. Plus now i don't need an iHome alarm clock/iPod charger which cost about $100.
Next up I need to configure EyeTV to stream to my iPhone.
FLVPlayback Not Playing
1st June 2009 | 2 Comments
I ran across an interesting bug within the FLVPlayback component include with CS4 today. About half the time the component wouldn't play a video (I think its related to a combination of other classes imported in my FLA). I tried setting just about every property I could to no avail. I manage to track down the problem to the event model. The video progress event would say that the entire video was downloaded, but the video complete event woudn't fire. The workaround I came up with was to check if the video was downloaded in the progress event then fire the play command. Its seems to have fixed my problem for now. Hopefully you won't have to waste a few hours of troubleshooting like me.