Firefox recently became my primary browser while using Flex Builder 2 (Go to Window > Preferences > Web Browser). And the latest Flash Tracer Firefox add-on, by
Its value is unparalleled, making debugging your app that much simpler, you may actually code so quickly that you’ll want to add a few extra bucks on your Starbucks card (Peet’s coffee for me). Really, it is an incredibly valuable tool.
But this add-on has a bit of a downside. It has exposed to me an incredible deficiency in our development community. We all know one of the golden rules (or best practices if you please) when deploying an application to production is TO REMOVE YOUR TRACE STATEMENTS before launching your code. It’s a rule I try so very hard to obey and make sure that those working with me follow. Apparently, whether intended or not, it seems developers of some of the most prominent Flash apps, widgets and ads are overlooking this golden rule.
I call these trace statements, whether left in or more likely overlooked, Flash burping.
Here’s a small list of apps I was really surprised to see leave trace statements in their production code, and a sampling of what you’ll see with Flash Tracer. Things I’m sure we weren’t meant to see, but with the use of Flash Tracer and the oversight of each app’s development team, these app burps are left for easy discovery:
Custom Yahoo mx.preloaders.Preloader Ready.
REMOTE .swf. Setting securityDomain!
attempting to load RSL: http://l.yimg.com/us.yimg.com/lib/msg/eden/flex/flexpartial_200702220008.swf
Warning: broadcastMessage is not a function
Warning: Reference to undeclared variable, ‘bg_all’
Warning: Reference to undeclared variable, ‘logo1url’
MLB.com (* I had to hit the pause button here as the site kept burping out trace statements).
Warning: Reference to undeclared variable, ‘dataFile’
Adobe.com (yes, you read that right)
Warning: Reference to undeclared variable, ‘classes.mmUtilities’
scooping pathPrefix ::
Loaded xml, and processing it into an array…
Random number is 39
This list is not meant to be a call-out list, rather a somewhat humorous way to relay to you what I’ve seen browsing around with Flash Tracer running. If you know of any really surprising or funny Flash burps, let me know.