如何解决 Facebook 应用程序上使用 SWFObject 剪切 FB.ui 的问题?
我认为这对你来说是一个小问题。所以我希望它不会浪费你太多的时间。
我使用 facebook-actionscript-api 使用 Adobe Flex 构建了 Facebook 应用程序。在生产中,他们使用 SWFObject 在 HTML 页面中嵌入 Flash 内容。
问题是,SWFObject 似乎在 FireFox 和某些浏览器上存在问题。因此,即使我将应用程序的高度设置为 1000 像素,Facebook 也会将我的 Flash 内容剪切到最小尺寸。有时它会显示滚动条。
您对此问题有任何建议或解决方法吗?
I think this is a little problem for you. So I hope it would not waste your time too much.
I built a Facebook Application with Adobe Flex by using facebook-actionscript-api. In production, they use SWFObject for embed Flash content in HTML page.
The problem is, it looks like SWFObject have a problem with FireFox and some browser. So even I set my application's height to 1000px, the Facebook clipped my Flash content to its minimum size. sometime it shows scroll bar.
Do you have any suggestion, or workaround on this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您必须使用 FB.setCanvasSize() 除了 SWFObject 之外,以便正确地重新缩放它。
I think that you will have to use FB.setCanvasSize() besides SWFObject in order to re-scale it properly.