简体   繁体   English

如何将ActionScript 3.0代码添加到全新的.fla Flash项目中?

[英]How to add ActionScript 3.0 code to a brand new .fla Flash project?

I am just trying to add a "Hello World" or a program that draw a circle to a brand new project in Flash Professional CS5. 我只是想添加一个“ Hello World”或一个在Flash Professional CS5中为一个全新项目画一个圆圈的程序。

So the project file is has a .fla extension 所以项目文件的扩展名为.fla

And I think the code is supposed to be added to the "action" of frame 1? 而且我认为应该将代码添加到第1帧的“操作”中吗? But I don't see any place where I can open up a box to type in any code? 但是我没有看到可以在其中打开框以键入任何代码的地方吗? How can that be done? 那怎么办?

Thanks. 谢谢。

To open the actions panel, hit F9 . 要打开动作面板,请点击F9 You can also use an external class, linked to your .fla, as shown in this article . 您还可以使用链接到.fla的外部类,如本文中所示。 It's written for CS3, but i think it'll work on CS5. 它是为CS3编写的,但我认为它将在CS5上运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM