简体   繁体   English

浏览器(html)中的Flash AS3调试动画?

[英]Flash AS3 debug animation in browser (html)?

Is there a way to debug a application in the browser (html)? 有没有一种方法可以在浏览器(html)中调试应用程序?

I have a small app that functions perfectly in flash and as a swf, but as soon as I get it in a html, online or off, it doesen't work. 我有一个小型应用程序,可以在Flash和SWF中完美运行,但是一旦以html格式(在线或离线)运行,它就无法正常工作。 I know it is embebed properly because I tried changing the background color and it changes in the html as well, but aparently doesen't load. 我知道它已正确嵌入,因为我尝试更改背景颜色,并且它也在html中也发生了变化,但显然不会加载。

It comunicates with a online text file, but I discarded any crossdomain problems, since they are on the same server (and it works in flash, as I mentioned earlier). 它与在线文本文件通信,但是我放弃了任何跨域问题,因为它们位于同一服务器上(并且正如我前面提到的,它可以在Flash中工作)。

So, I'm really stumped. 所以,我真的很沮丧。 The main problem is that I don't even know the error, so I can't figure out what's wrong. 主要问题是我什至不知道错误,因此我无法弄清楚出了什么问题。 Is there a way to do a "catch any error that comes up and show it in a text box"? 有没有一种方法可以“捕获出现的任何错误并在文本框中显示该错误”?

Firefox with flashfirebug plugin will show flash errors in the console. 带有flashfirebug插件的Firefox将在控制台中显示Flash错误。

It is also possible to debug a swf in a browser with Flash Develop using remote debugging(Debug>Start Remote Session). 也可以使用Flash Develop在浏览器中使用远程调试(调试>启动远程会话)调试swf。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM