I've wound up hacking a lot of Flash recently, which is a real PITA if you're used to real development environments. For one thing, there's no way to get debug output from a flash widget once it's been embedded in a real page. Actually it turns out that there is: the Flash debug player. After you install it, all trace output from any embedded flash player is written to a log file. Throw tail -f on the file, and you can watch the trace messages from your flash in real time. The cool thing is, you can also watch the debug messages from everyone else. There are a few interesting ones, but the best I've found so far is the YouTube embedded player. The tastiest bits:
START PLAYING :http://www.youtube.com/get_video?video_id=_-XoafyJ9K4&t=OEgsToPDskIMqdmC3eeaF1meusSwSKjs
playing.. the movie
status code is:NetStream.Play.Start
we got meta fuck yeah!
time is:127.494
and
result xml:0
node is:0 length:1
status code is:NetStream.Buffer.Flush
status code is:NetStream.Buffer.Empty
showing the goddamn play button
I'm always glad to see how much I have in common with the engineers at other companies.