Skip to main content
Participating Frequently
March 23, 2008
Answered

1046: not a compile-time constant: TimerEvent.

  • March 23, 2008
  • 2 replies
  • 526 views
I know this is simple but I just cannot see what I am doing wrong
it is in reference to "public function moveClip(event:TimerEvent):void {"
any help is appreciated .
my code is attached

thank you
This topic has been closed for replies.
Correct answer kglad
what's import flash.TimerEvent.Event??

try:

import flash.events.TimerEvent.*;

p.s. this should be in the as3 forum

2 replies

kglad
Community Expert
Community Expert
March 23, 2008
you're welcome. i'll check the as3 forum.
kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
March 23, 2008
what's import flash.TimerEvent.Event??

try:

import flash.events.TimerEvent.*;

p.s. this should be in the as3 forum
mrMajkAuthor
Participating Frequently
March 23, 2008
I am old .. and I guess I just see what I want to see ...ty for your help
I moved it to AS3 ...
I added the timer change found a few more errors and
then I got same error ...