Wow, it is not just me! I was running into this same problem friday. The
files were exactly the same on both machines, but on one machine it gave
me the 'The property being referenced does not have the static attribute.'
The class in question was the ascb.util.ArrayUtils.toString() function:
http://www.person13.com/ascblibrary/documentation/
I know the files were exactly the same because the files are under
version control. The only thing that we could find that might for some
reason single out this function was that all the other functions were
declared in format 'public static function' while the toString()
function was declared 'static public function'. While this did not seem
to be the problem, if you were to find the same thing then perhaps this
would help resolve the mystery.
Additionally, the toString() function is a recursive static call. It
doesn't look as though your call is recursive, but I cannot tell.
Perhaps that has something to do with it?
Peace
C
Ramon Miguel M. Tayag wrote:
This is not the strange error, but strange occurence:
**Error** D:\flashResources\ASClasses\net\quirkworks\saatchi\PopupLoader.as:
Line 37: The property being referenced does not have the static
attribute.
Draw.drawFill(mc.mcCatcher, new Point(0, 0), new Point(800,
600), 0, 0, true);
At first the errors appeared on a colleague's computer but not on
mine. The classpath was the same, the set of classes were exactly the
same, the fla and the actionscript file the fla "#include"d were the
same. (I know they were the same because I had just sent it).
Then, my colleague removed and added the custom classpath, and got
these strange errors:
**Warning** Symbol=mc.generalLoader, layer=Layer 4, frame=1:Line 1:
The file 'toplevel.as', which is required for typechecking
ActionScript 2.0, could not be found. Please make sure the directory
'$(LocalData)/Classes' is listed in the global classpath of the
ActionScript Preferences.
mcCatcher.onRelease = function(){}
**Warning** Scene=Scene 1, layer=as, frame=1:Line 1: The file
'toplevel.as', which is required for typechecking ActionScript 2.0,
could not be found. Please make sure the directory
'$(LocalData)/Classes' is listed in the global classpath of the
ActionScript Preferences.
#include "0_main.as"
**Warning** Scene=Scene 1, layer=tooltip, frame=1:Line 1: The file
'toplevel.as', which is required for typechecking ActionScript 2.0,
could not be found. Please make sure the directory
'$(LocalData)/Classes' is listed in the global classpath of the
ActionScript Preferences.
----
Then, he removed and added the $(LocalData)/Classes and the old errors
appeared again.
This isn't the first time 2 IDEs displayed inconsistent errors
compiling the same things.
I'm not really sure there's an answer here. My colleague uninstalled
and reinstalled the IDE and it's working fine now. It's just pretty
annoying to find out there can be errors that appear on one computer
and not the other by something not caused by the code. What if there
wasn't another computer to confirm this? Would be hours of figuring
out .. nothing! Hehe.
Thanks!
--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com