Flash:搜索后无法看到动作脚本代码

发布于 2024-07-29 23:36:29 字数 153 浏览 10 评论 0原文

我有一个问题。 我搜索操作脚本代码的一部分,当我单击结果行时,我看到一个空的代码窗口!

您曾经遇到过类似的问题吗?

我使用 flash cs3,但我不知道用于开发此 fla 的版本。 是否可以发现所使用的版本?

提前致谢

I have a problem with a fla.
I search for a portion of action script code and when i click on the line of the result, i see an empty code window !

Have you ever had a similar problem ?

I use flash cs3 but i don't know the version used to develop this fla.
Is it possible to discover the version used ?

Thanks by advance

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

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

发布评论

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

评论(1

﹎☆浅夏丿初晴 2024-08-05 23:36:30

好吧,这不是一个真正的回应,但我真的建议你:

  1. 不要将你的代码分散在整个时间线上,你会在一年后找到它时遇到很多麻烦......恕我直言,你不应该使用时间线除了动画之外,但不是为了维护应用程序状态,正如许多人喜欢做的那样...这是非常不灵活的...这样做只是为了原型制作...单独的代码和视觉效果,而不是让它们全部分布在 .fla 中,这样您将花费数小时搜索代码...
  2. 将代码保留在 .as 文件中的 fla 文件之外,因为
    • 这使得维护变得更加容易
    • .as 文件是纯源代码,而 .fla 是专有的二进制文件,因此它使您依赖于 CS3 的使用
    • 您可以使用良好的外部工具进行 ActionScript 编码(CS3 绝对不是)
    • 您可以对基于文本的文件使用源代码控制等,因为操作脚本源文件是...
    • 您可以与 Flex 开发人员更好地合作
  3. 使用OOP与flex开发人员更好地合作...将您的代码分成类并将它们与您的符号相关联...这样代码和图形就可以很好地分离,并且图形和代码之间的链接通过集中式设施进行工作:您的库
  4. 使用一个不错的 ActionScript 编辑器,如 FlashDevelop ...它将极大地提高您的工作效率,具有代码片段、文件模板、文件中查找和替换等功能。

我无法给您实际的答案,但问题是,我花了很多时间挣扎使用 Flash 创作工具,只是发现它很糟糕,并且有很多好的工具可以让您的生活变得更轻松...CS3 非常适合绘图/动画/变形,但对于编码来说很糟糕...

希望无论如何,这有帮助......;)

greetz

back2dos

ok, this is not a response really, but i would really recommend you:

  1. do not spread your code out over the whole time line, you will have a lot of trouble finding it a yeau later ... IMHO, you shouldn't use the timeline at all except for animation, but not to maintain application states, as many people like to do ... this is VERY unflexible ... do this only for prototyping ... seperate code and visuals, rather than having them all distributed in the .fla, so that you will spend hours searching your code ...
  2. keep code outside fla files in .as-files, because
    • this makes maintainance a LOT easier
    • .as files are plain source code, whereas .fla is a proprietary and binary, so it makes you dependant of the usage of CS3
    • you can use good external tools for ActionScript coding (CS3 is DEFINITELY not one)
    • you can use source control etc. with text based files, as action script source files are ...
    • you can cooperate better with flex developers
  3. use OOP ... seperate your code into classes and associate those with your symbols ... that way code and graphics are well seperated and the link between graphics and code works through a centralized facility: your library
  4. use a decent ActionScript editor, as FlashDevelop ... it will hugely boost your productivity, with features as code snippets, file templates, find and replace in files etc.

i cannot give you the actual answer, but the thing is, i spent so much time struggeling with the Flash authoring tool, only to learn, that it is awful, and that there are many good tools around that make your life a lot easier ... CS3 is GREAT for drawing/animation/morphing but AWFUL for coding ...

hope this helps anyway ... ;)

greetz

back2dos

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