脚本去除字母
Create this fantastic shuffling letter effect. It’s simple!
创建这种奇妙的改组字母效果。 这很简单!
1. Create a text field, and give it a suitable variable name. I called mine "shuffle."
1.创建一个文本字段,并为其指定适当的变量名称。 我称我为“洗牌”。
2. Convert the textfield into a movie clip.
2.将文本字段转换为影片剪辑。
3. Next, right click the movie clip and go to actions. Insert this action:
3.接下来,右键单击影片剪辑并执行操作。 插入此操作:
onClipEvent (mouseMove) { shuffle = chr(random(25)+65); }4. Create as many duplicates of the movie clip as you’d like to be able to shuffle through.
4.根据需要创建尽可能多的影片剪辑副本。
That’s all it takes! Run the movie! And don’t forget to download the sample files here.
这就是全部! 放映电影! 并且不要忘记在这里下载示例文件 。
翻译自: https://www.sitepoint.com/shuffling-letters-effect/
脚本去除字母