javascript for dragging
Sometimes, we need to run the swf in page. At that time we can view the swf debug information. So I got a idea. When the swf is running in page, use the javascript to create a print panel. And then, the swf call javascript methods to show debug information.
The easiest way to do that is creating a class just for that. When I need to show, I can create a instance of that class. But firstly, I should to know how to create a panel, print text in that panel, and drag the panel.
阅读全文——共1334字