如何使用 ActionScript 3 创建自动滚动的动态 txt 字段?

发布于 2024-07-21 06:51:56 字数 172 浏览 4 评论 0原文

我正在尝试将滚动文本添加到我正在开发的小型 mp3 播放器应用程序中,但遇到了一些问题。 也就是说,我不太精通电影剪辑。

我想知道是否有人知道任何关于自动滚动文本或基本影片剪辑内容(帧等)的好的 actionscipt 3 教程。 我找到了很多教程,但似乎都有点超出我的能力范围。 感谢您的关注,丹

I'm trying to add scrolling text to a small mp3 player application I'm working on and I'm running across some problems. Namely, that I'm not that well versed in movie clips.

I was wondering if anyone knew of any good actionscipt 3 tutorials for auto-scrolling text or basic movie clips stuff (frames etc.). I've found lots of tutorials but the all seem just a bit out of my reach. Thanks for your attention, Dan

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

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

发布评论

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

评论(1

呆橘 2024-07-28 06:51:56

在我看来,这是使某些内容滚动的最简单的解决方案。

第 1 层(遮罩层 -> 为可滚动区域制作遮罩
第2层(掩模层)-> 将您的显示对象(textfield/movieclip/..)放在那里,

通过调整遮罩层的 y 轴来控制滚动,

速度很快,而且绝对不难做到

the easiest solution to making something scroll in my opinion.

layer 1 (Mask layer -> make a mask for the scrollable area
layer 2 (Masked layer)-> put your displayobject (textfield/movieclip/..) there

control the scrolling by adjusting the y axis of the masked layer

it's fast and definitely not that hard to do

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