滑动图片库 Flash AS3 - 应用程序
想要制作一个响应滑动手势的图片库。找到了一些教程,但有些模糊。有人知道我在哪里可以找到一些好东西吗?
还有人知道如何在 Windows 电脑上测试这个吗?我没有证书(我知道互联网上有一些非法证书),只想在模拟器上测试它?知道一款效果最完美的吗?
请帮助我获得一些好的资源...
提前致谢:)
Want to make an Image gallery that responds to a swipe gesture. Found some tutorials but they were a bit vague. Someone an idea where I can find some good ones?
Does also anyone know how to test this on a windows pc? I do not have a certificate (I know that there are some illegal cert. on the internet), just want it to test it on a simulator? Know one that works allmost perfectly?
Please help me get some good sources...
Thanks in advance :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

Republic of code 有一个很好的教程 据
我所知,“滑动”是本质上是通过特定方式完成的鼠标拖动。我想你可以简单地用鼠标来测试它。
在这方面我会坚持使用 Adobe 的 swipe guesture API。但是,作为第二个不太酷的选项,在触摸屏事件可用之前,我通过使用 mouseDown {记录坐标} 然后 mouseUp {如果新坐标有很大不同,则为滑动} 实现了“滑动”。当然还有一些事情需要解决,但这对我有用。
There's a good tutorial on Republic of code
It is my understanding that a "swipe" is essentially a mouse drag done a specific way. I would think you could test it simply by using your mouse.
I would stick with Adobe's swipe guesture API on this one. but, As a second less cool option, before the touch screen events were available I implemented "swipe" by using mouseDown {record coordinates} then mouseUp {if new coorindates considerably different it's a swipe}. There were of course things to work through but it worked for me.