Hi list,
I have al class named 'FormatDecimalen' in a file named
'FormatDecimalen.as'
The class is wrapped in an unnamed package. All is well when i call
the class from a .fla-file.
The .fla is in another location on my HD and points to the class path
Make the .fla classpath point to: 'myHD/myProjects'
f you're using AS2, in your FormatDecimalen.as file change the line:
class FormatDecimalen {
to read:
class nl.geografiek.utilities.FormatDecimalen {
If you're using AS3, in your FormatDecimalen.as file change the line:
package {
to read:
Hi Ian,
Thanks for your quick response.
This is AS3 actually.
Class paths point to both the folder the class file is in and the
'parentfolder' of 'nl': 'myProjects'
The package definition reads: 'package nl.geografiek.utilities {'
(I get the same error when I change this to 'package utilities
Hi Willem,
Your class path shouldn't point to the folder that the class is in - only
to the parent folder of 'nl'.
HTH,
Ian
On 8/15/07, Geografiek [EMAIL PROTECTED] wrote:
Hi Ian,
Thanks for your quick response.
This is AS3 actually.
Class paths point to both the folder the class file
Blush,
It appeared that somewhere on the way I changed a folder name higher
up in the hierarchie without changing the class path.
This kind of thing cost half a day of anger and frustration.
Thanks for straightening things out Ian,
Willem
Op 15-aug-2007, om 16:13 heeft Ian Thomas het volgende
5 matches
Mail list logo