AS3通过一些调试帮助一个菜鸟?

时间:2013-02-28 20:54:41

标签: actionscript-3 debugging

我还没有真正学到很多关于使用控制台进行调试的知识,但是当我运行Flash调试器时,我收到以下错误:

Attempting to launch and connect to Player using URL     
C:\Users\Isaac\Desktop\Shortcuts\Project Folder\FLA FILES\bug free version.swf [SWF] 
C:\Users\Isaac\Desktop\Shortcuts\Project Folder\FLA FILES\bug free version.swf - 16186539 bytes after decompression
ReferenceError: Error #1069: Property TIMER not found on flash.events.TimerEvent and there is no default value.
at bugfreeversion_fla::MainTimeline/completeFunction()[bugfreeversion_fla.MainTimeline::frame243:19]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.utils::Timer/tick()

我不确定如何从中提取我需要的信息,我可以想到的是我的倒数计时器存在数据问题。任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:0)

当您的TimerEvent实例没有“TIMER”属性时,您似乎正在尝试访问TimerEvent实例上名为“TIMER”的属性。错误发生在completeFunction()

Property TIMER not found on flash.events.TimerEvent

at bugfreeversion_fla::MainTimeline/completeFunction()
at flash.events::EventDispatcher/dispatchEventFunction() 
at flash.events::EventDispatcher/dispatchEvent() at flash.utils::Timer/tick()