We’ve all been there. Casually browsing online, viewing some Flash powered site. We see something and we want to Google or Wikipedia it. So we hit CNTRL-T.
Brain Crash! Nothing happens and it seems like our brain is just hanging there in a suspended state waiting for the event to complete – but it never does. Finally some try/catch error handling in our brains goes something like this.
Catch (failed to launch tab)
Click URL Bar
It’s always bothered me as I do not understand why this is so. Yes, I understand Flash is sandboxed. But come on…usability. Can’t anything be done?
Yes! Sort of…
Below is code to facilitate creating a new tab window. It’s not the prettiest solution, nor is it a complete solution. But blast it – it’s a START!
First you will need to listen for the “applicationComplete” event. Place the following code in your <s:Application> tag.
Please note, I have not evaluated this on the Mac platform now that I no longer have access to an OS X machine.