all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

I'm stumped with ActionScript....


I'm stumped with ActionScript.... jmoliere
2/12/2004 10:36:09 PM
flash actionscript:
**Error** Classes\com\intelesistech\olhausen\selectablePanel\FinishPanel.as:
Line 26: There is no method with the name 'setTransform'
color.setTransform(aColor.getColor())

for the code
var color:Color = new Color(movie)
color.setTransform(aColor.getColor())


I have triple checked to make sure my classpaths are correct
I have 3 values for my classpath
$(LocalData)/Classe

C:/dev/Flash/Classe

I can't believe this tool is failing me like this. I'm getting errors for all
classes that use the 'color.setTransform(objectOfColors));

What can I do?
Thanks
Re: I'm stumped with ActionScript.... impredario
2/14/2004 12:46:15 PM
Perhaps you have introduced a syntax error elsewhere in your classes, that the
syntax checker is incorrectly reporting. This has happened to me more than
once, most recently this morning. Somehow I had managed to delete a
declaration of an instance variable from a class, but the compiler reported a
failure to load the class mx.data.components.XMLConnector in a declaration of
an instance of XMLConnector! This stumped me until I tried compiling the same
class in another movie, where the compiler reported the real error. Restoring
the missing declaration cleared up the problem in the first movie. I have
found MX 2004 (Pro) to be flaky in regard to syntax errors

Good luck
AddThis Social Bookmark Button