时间轴操作不起作用 CS3
这是一个很简单的问题。 我可以在 CS3 中创建一个全新的 FLA 并将其添加
trace("hello");
到第一帧中,运行它,但什么也没有发生。 我在 CS4 中使用相同的帧操作创建相同的文件,并且“hello”出现在输出窗口中。 这并不重要,因为通常我不编写任何时间线脚本,但如果我想编写快速测试,最好不必创建单独的文档类。
任何人都可以提供任何关于为什么失败的见解吗? 是否需要重新安装? 我发现 CS4 非常令人不快,并且愿意保留 3,除非我需要一些 FP10 功能。
This is quite a simple question. I can create a brand new FLA in CS3 and add
trace("hello");
to the first frame, run it, and nothing happens. I create the same file with the same frame action in CS4 and "hello" appears in the output window. It's not major because typically I don't write any timeline scripts, but if I wanted to write a quick test, it's ideal not to have to make a separate document class.
Can anyone provide any insight as to why this is failing? Is a reinstall in order? I've found CS4 to be quite unpleasant and would love to stay with 3 unless I need some FP10 functionality.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
在发布设置中的 Flash 选项卡下,有一个“忽略跟踪操作”复选框,确保未选中该复选框。 如果不是这样,请尝试进入“控制”>“ 删除 ASO 文件,然后重试。 我希望这两个之一能帮助你!
In publish settings, under the Flash tab, there is an "Omit trace actions" check box, make sure that's not checked. If it's not that, try going under Control > Delete ASO Files, and try again. I hope one of those two help you!
你的评论可能表明在到达你在 as3 中的跟踪之前有些东西就失败了。 有编译错误吗?
乔什
your comment may suggest that something is failing before it gets to your trace in as3. are there any compile errors?
Josh
我有同样的问题。
事实证明,我试图实例化未在第一帧中导出且未在舞台上其他任何地方使用的影片剪辑。 剪辑已创建,但所有时间线操作均不起作用。
就我而言,解决方案是在第一帧中导出。 将剪辑放置在舞台上的某个位置也应该可以。
I had the same problem.
It turned out, that I was trying to instantiate movie clip that was not exported in first frame and wasn't used anywhere else on stage. The clip was created, but all timeline actions didn't work.
In my case the solution was to export in first frame. Placing clip somewhere on stage should also work.
@josh,没有编译错误。 我不确定我是否完全理解原因,但我的 Actionscript 路径中的某些内容导致了失败。 我删除了所有路径,然后将默认路径添加回库,你瞧,操作又开始工作了。
@josh, no compile errors. I'm not sure I fully understand why, but something in my Actionscript paths was causing the failure. I removed all the paths and then added back the default paths to the library and lo-and-behold, actions are working again.