Flash 模板图像滑块有什么帮助吗?

发布于 2024-12-04 08:20:32 字数 390 浏览 1 评论 0原文

大家好,我正在为我的项目使用 Flash 模板,抱歉我对 Flash 和动作脚本一无所知。 Flash 模板的链接是这个 http://www.massivetemplates.com/免费 Flash 模板/摄影/拍照网站。图像滑块有多种类别,例如对象、动物,我想创建比四个固定类别更多的类别。里面还有一个xml文件和actionscript文件这两个文件实现了图像滑块。请参阅网站上的代码,我遇到了麻烦,请提供一些指导,说明如何增加此滑块的类别,尽管您可以修改现有类别。我已填充 xml 文件,但没有任何反应,谢谢,请不要删除我需要帮助的问题。

Hi people i am using a flash template for my project sorry i don't know nothing about flash and action script. The link to flash template is this http://www.massivetemplates.com/free-flash-templates/photography/photoshot-site. There are categories of image slider like Object, Animals, I want to create more category than four fixed categories. There is also an xml file in it and actionscript file these two files implement image slider. Please see the code from site i am in trouble please give some direction that how to increase categories for this slider though you can modify existing categories. I have populate the xml file but nothing happen thanks please donot delete the question i need help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

百善笑为先 2024-12-11 08:20:32

快速查看 Fla 文件后,似乎类别不是动态设置的。您可能已经注意到,您可以更改它们的标签。不幸的是,您必须编辑源代码才能创建额外的(或删除一些)类别。

如果您仍然想编辑它,您可以开始在 sprite 202 中进行挖掘。该 Sprite 包含四个按钮及其动画。这四个按钮都有自己的引用和自己的 onRelease 处理程序(这将在您单击时触发)。这些按钮的名称为:sprite 191sprite 194sprite 197sprite 200。在他们的脚本中,他们引用根目录中的 xml 和一些函数,其脚本中的唯一区别是顶部的 num = x; 行。剩下的就是找出 _root.playGallery(); 被调用的位置,并了解那里发生了什么。要添加和删除类别,您只需复制/删除并重命名上述按钮即可。

但我想您应该请具有一些 Actionscript 2.0 知识的人来帮助您。

祝你好运!

After taking a quick look in the Fla file it seems the categories are not dynamically set. As you might have noticed you can change their labels. Unfortunatly you'll have to edit the source code to create extra (or remove some) categories.

If you still want to edit it you can start digging around in sprite 202. This Sprite contains the four buttons and their animations. The four buttons each have their own reference and their own onRelease handlers (this will trigger when you click). The buttons are named: sprite 191, sprite 194, sprite 197, sprite 200. In their script they refer to the xml and some functions in the root, the only difference in their script is the num = x; line in the top. What's left for you is to find out where the _root.playGallery(); is called and find out what happens there. For adding and deleting categories you'll just need to copy / delete and rename the buttons mentioned above.

But I guess you should ask someone with some Actionscript 2.0 knowledge to help you with that.

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文