如何将 sharethis 按钮添加到我的 Flash 文件中?
我一直在寻找这个解决方案一段时间,但没有找到任何好的可靠解决方案。我所看到的所有东西要么已经有 2 年历史了,要么不起作用。
我想要做的是在我的 Flash 文件中使用 MC 作为一个按钮,单击时打开共享此弹出窗口以共享此特定视频的 url。站点 API 文档确实没有涉及 Flash 与 sharethis 的配合。 任何帮助都可以。
谢谢,
马特
I have been searching for this solution for some time have not found any good solid solutions. Everything I have seen is either 2 years old and does not work.
What I would like to do is use a MC in my flash file to act like a button and when clicked open the sharethis pop up to share this particular video's url. The site API docs really don't touch on Flash working with sharethis.
Any help would do.
Thanks,
Matt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
分享 这适用于 HTML、框架并使用 JavaScript。
您需要一个外部接口才能使用它。当你说 live in swf 时,我不确定我们是否意见一致。您可能必须将其绑定到某个对象或某种类型才能实现它。
您是否检查过 Barklund.org他们在 ShareThis 和 ExternalInterface 上的工作?
他们将程序分解如下
还有一些作者的评论说由于 API 的更改而出现问题,但 示例 对我来说效果很好。如果没有,您可以查看使用 AddThis使用 Flash 实现
Share This works in HTML,frames and uses javascript.
You would need an external interface to use it. I am not sure we are on the same page when you say live in the swf. You may have to bind it to some object or the sorts to achieve it.
Did you check Barklund.org for their working on ShareThis and ExternalInterface ?
They have broken down the procedure as follows
There are also some comments from the author saying there were problems due to the change in the API but the example worked well for me. If it does not you can check out there Using AddThis with Flash implementation