Problem Creating New Class  
Author Message
SJB01





PostPosted: 2006-1-17 4:16:18 Top

flash-actionscript, Problem Creating New Class Hello,

I seem to be having a problem creating a new class whether it is extending an
existing class or simply new altoghther. I am on a computer and network that
is new to me and i have done projects involving classes sucessfully before.
The error message i receive is (error msg example is from help file class):

**Error** [.as file path] : Line 1: The name if this class, 'Plant'. conflicts
with the name of another class that was loaded, 'Plant'.
class Plant {

Total ActionScript Errors: 1 Reported Errors: 1

This msg appeared after a movieClip was linked to the script and the preview
option used. Could this be from some setting or preference that i have never
seen? Flash version is 7.2 Professional and have tried renaming the whole
linkage chain with the same script, producing the same error, whether the
script is from scratch or copied from the help files.

Any help will be greatly appreciated.

Thanks

 
SJB01





PostPosted: 2006-1-19 4:26:00 Top

flash-actionscript >> Problem Creating New Class Found a solution on flashkits boards incase anyone else runs into this problem.

http://www.macromedia.com/support/f...shclass_aso.htm
^ technote that helped.

Also a desynch of computer clock and server clock from files on network drive
may have contributed to the problem - copied the files local, resaved and was
able to use .as files.