问题标签 [google-swiffy]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
html - The Swiffy webservice could not be reached?
I am trying to use swiffy for the first time, but upon trying to export as HTML5, it returns the following error:
"The Swiffy webservice could not be reached. Please check your internet connection."
I am definitely connected to the internet (Hence being able to ask this question).
So what could be wrong?
I anticipated a few difficulties, but this is just weird.
Many thanks!
javascript - 是否可以通过跳过前 100 帧来让 swiffy 对象开始播放?
我有 100 多个 fla 文件,我不想操作它们我只想找到一个 javascript 解决方案来弄清楚如何跳过动画中的前 100 帧。
我试图查看 SO,但似乎只有暂停/恢复选项可用。
html - 如何使快速动画响应?
我创建了一个流畅的动画,我使用引导程序作为框架来使我的网站具有响应性,我尝试使用以下方法使动画响应:
但这似乎不起作用我尝试了所有不同的组合,唯一让它重新调整大小的方法是添加宽度或高度值,但是容器大小等都出错了。我也尝试过:
但这只会重新调整动画容器的大小,动画本身仍然被切断。
javascript - javascript:页面加载后执行该功能的最佳方式
我像这样使用谷歌转换的 swiffy 脚本
我的意思是我想在动画结束后做这个动作。但我不知道如何跟踪 swiffy 对象上的框架。
这是我问之前的工作
我在页面加载后放置了启动方法
$(文档).ready
$(窗口).load
窗口.onload =
并跟踪时间(随机测试到达最后一帧)
结果:不工作;喜欢它计算页面渲染的时间,而不是完成渲染后的时间
- 让它启动方法并将 setTimeout 加载(应在完成 rander 后计数
结果:也不行
请帮助或提供其他解决方案。
非常感谢。
javascript - 在 android webview 本地播放来自 swiffy 转换的 swf 的交互式 html5 内容
我有一个要移植到 android 的交互式 swf 文件。由于 android 4.0+ 没有正式支持 swf,我使用 google swiffy 将 swf 转换为 html5,我相信它是内联 svg 文件。我把它放在 Assets 和 sdcard 中,然后使用
或者
但是屏幕上什么都没有显示。我还尝试从资产文件中读取字符串并使用
它也没有显示任何东西。
我尝试了不同的 avds 和设备,也尝试了 set
在代码中。并设置
在 AndroidManifest.xml 文件中。我看到一些帖子提到使用 ActionScript3 来控制交互式 javascript 代码,但我迷失了这些。有没有教程可以完成这个简单的任务?
javascript - Swiffy 内容突然停止工作
几天前,我使用 google swiffy 将大约 25 个 swf 转换为 html5。我们使用 safari 测试了台式机和移动 Ipad 1-4 上的所有转换。他们都在几天前工作。
今天在测试时,它们似乎都突然坏了。我们的服务器没有变化。下一个按钮不再起作用。
http://www.wisc-online.com/Objects/ACE2303/old/index.html
我很好奇谷歌是否更新了他们的 runtime.js 文件。 https://www.gstatic.com/swiffy/v5.3/runtime.js
有没有人有过类似的经历,你是怎么解决的?
谢谢你的帮助!
乔什
链接到我们有问题的页面 http://www.wisc-online.com/Objects/ACE2303/old/index.html 必须在 ipad 上测试才能看到它现在工作。
html - 流畅的图像动画
我正在使用 swiffy 将 Flash 横幅转换为 html,而问题是我经常在补间图像时得到相当随机的结果。问题是动画并不总是流畅的。我刚刚创建了一组横幅,它们实际上都是相同的,以完全相同的方式制作,但是,这个:
http://midstraeti.is/mannrettindastofa/en/310x400-5.html
还可以,男主从下往上的动画很流畅
但在这里: http: //midstraeti.is/mannrettindastofa/en/310x400-3old.html
这位女士正在逐个像素地向上移动,没有中间值,因此动画看起来参差不齐/断断续续。两个横幅完全相同。包含图像的 mc 上没有过滤器,启用平滑。&此横幅是全部 7 个横幅中唯一遇到问题的横幅。
知道怎么了?提前感谢所有提示和技巧
附言。此动画仅在 chrome、opera 和 safari 中看起来很流畅。firefox/ie 在 1px-1px 的移动中给出更差的结果。
ps2。现在用 jpg/png 动画做一些测试 & 动画只有在 safari 中才能流畅...
javascript - Google SWIFFY 在 IE9 中不起作用 - 脚本错误“runtime.js”
我使用 Google 的 SWIFFY 将我的 SWF 转换为 HTML5。这在 FF 和其他浏览器上运行良好,但是在 IE9 中出现错误。奇怪,因为谷歌发布页面说它支持 IE9。
有没有办法解决这个问题?
我正在考虑回退到仅适用于 IE 的 SWF Flash Player。也不知道如何做到这一点。如果有人可以帮助我解决这个问题,那就太好了。非常感激!!!
这是 HTML5 文件中的代码(所有其他 SWIFFY HTML 文件的标准):
google-swiffy - 完成后如何重新启动快速动画
我是新来的。第一次调用动画时效果很好,但我需要稍后在同一页面(网络应用程序)中重用动画。我应该怎么做?
为了隔离问题,我尝试了一些非常基本但不起作用的方法:
第一次按下按钮会启动动画 当动画完成时,再次按下不会执行任何操作。
有什么帮助吗?
TIA
html - Google Swiffy, and responsive design, height
I'm testing out Swiffy, and plugging it into Zurb's Foundation responsive framework. It all works well. I also updated the CSS for the #swiffycontainer
container to have a width of width: 100%;
.
The content fits nicely into the grid, but the my only issue is that if the size isn't set explicitly, then on a smaller screen, then, I get this issue with the height being way way larger than the content, even with height set at 500px
. This also results in the Swiffy container showing contents outside of the stage.
Any ideas as to why? Would it be with the SVG generated from Swiffy? Thanks!
Update: It seems that this is probably related to AS 2/3's stageScale property on the Stage. Would anybody happen to know of a happy medium between "showAll/SHOW_ALL", and "noBorder/NO_BORDER"? Where the stage still resizes but doesn't show a border around it?