Oh the things that you'll see
By Emmett on Tuesday, March 6 2007, 00:31 - Permalink
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:
andSTART 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
I'm always glad to see how much I have in common with the engineers at other companies.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
Comments
Awesome! How on earth did you find that??
it's told before it shows the trace messages, you dumb.
Justin, please go and die!
Programmers are poets too ... I've always said that :P
I wrote a small as class which allows you to debug flash in the browser without the debug player. You can view it at: http://foobr.co.uk/2007/02/debug_fl...
I suddenly feel less alone in the world ;-)
How difficult is it to show the goddamn play button?
Nice find.
lol
Well spotted.