TekYin / tweener

Automatically exported from code.google.com/p/tweener
1 stars 0 forks source link

1046: Type was not found or was not a compile-time constant: TweenListObj. #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1046: Type was not found or was not a compile-time constant: TweenListObj.

Original issue reported on code.google.com by singh...@gmail.com on 14 Feb 2008 at 1:06

GoogleCodeExporter commented 8 years ago
Please be more specific as to how you found this error, using which version, and
under which circumstances.

Original comment by zisfor...@gmail.com on 14 Feb 2008 at 1:25

GoogleCodeExporter commented 8 years ago
Hi, this was a compile-time error which I encountered immediately after 
replacing the 1.25.55 caurina directory 
with version 1.26.62.  I'm not sure why this occurred, as I even attempted to 
import the TweenListObj in 
Tweener.as, with no success.  I downgraded back to 1.25.55 for the time being, 
and will look again at updating 
in the near future, as time permits.

Original comment by singh...@gmail.com on 14 Feb 2008 at 1:30

GoogleCodeExporter commented 8 years ago
Have you deleted all files of the previous version or just pasted it on top of 
the
old one? Did you trying compiling with ASO file creation?

Original comment by zisfor...@gmail.com on 14 Feb 2008 at 1:37

GoogleCodeExporter commented 8 years ago
Oops, I meant to say, "..with ASO file deletion" (not "creation").

Original comment by zisfor...@gmail.com on 14 Feb 2008 at 1:37

GoogleCodeExporter commented 8 years ago
Yes, I did remove the old 'caurina' directory, and replaced it with the new 
downloaded one.  I just tried another 
download and received the same compile-time error.

I'm not aware of ASO file deletion...shouldn't simply deleting the old caurina 
package directory, and placing the 
new one, be sufficient?

Original comment by singh...@gmail.com on 14 Feb 2008 at 1:43

GoogleCodeExporter commented 8 years ago
Usually yes. But the Flash IDE (if you're using it) precompiles some classes as 
ASO
files, which are cached classes for quicker recompilation. If the class cache 
becomes
broken somehow, it may not recompile some classes and continue using old code 
despite
the files having changed. This an odd behavior indeed but it's an old Flash 
problem
and more common than it should be.

If this is the case, simply using the "Control > Delete ASO files and test 
movie"
menu should clear up class cache problems.

Original comment by zisfor...@gmail.com on 14 Feb 2008 at 1:51

GoogleCodeExporter commented 8 years ago
Did a Delete ASO files and test movie, received the same compile-time error.

Thanks for taking the time to get into this zisforzeh.

Original comment by singh...@gmail.com on 14 Feb 2008 at 1:59

GoogleCodeExporter commented 8 years ago
Then I'm at a loss in what might be happening. I've just tested the same 
version here
from a fresh download and it's working.

Original comment by zisfor...@gmail.com on 14 Feb 2008 at 2:27

GoogleCodeExporter commented 8 years ago
Are you on Windows, or Mac?

Original comment by singh...@gmail.com on 15 Feb 2008 at 12:04

GoogleCodeExporter commented 8 years ago
Windows XP.

Original comment by zisfor...@gmail.com on 15 Feb 2008 at 12:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
All I can say is: if the class (TweenListObj) is there on Tweener's folder, 
there's
no reason it can't work. It simply isn't finding TweenListObj.

Original comment by zisfor...@gmail.com on 22 Feb 2008 at 9:01

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Okay, I deleted my other comments so I wouldn't be spamming the board so 
much... 

Nonetheless, after discovering it only impacts external document classes (for 
me, at
least), something in the back of my cranium clicked.  The 'caurina' package was
nested, so it's a path issue.  It's just not obvious because Flash doesn't 
throw an
1172 error (not found) like one would expect.

Everything works fine with 'caurina' package on root.

Cheers.

Original comment by TheArgi...@gmail.com on 22 Feb 2008 at 9:26

GoogleCodeExporter commented 8 years ago
Oh geeez, I believe that's it!  At some point I had added 'com.' to the caurina 
package I was working 
with...completely forgot that when updating...

Thanks TheArgiope!!

Original comment by lee%leef...@gtempaccount.com on 22 Feb 2008 at 9:31

GoogleCodeExporter commented 8 years ago

Original comment by zisfor...@gmail.com on 24 Apr 2008 at 3:26