|
From: David H. <wa...@us...> - 2004-11-02 15:00:34
|
On Tue, Nov 02, 2004 at 08:16:02AM -0600, Thompson, Daniel wrote:
> Hey David,
>
> It looks like it may be just the two of us, so let me see if I can help. I'm a jUnit newb but have a
> long history of using Flash.
>
> What if we completely ignore AsUnit for the time being and make sure your Flash install is working
> correctly? Do you know how to link in a class and make a movie that references it? Let's try it with
> one class and one .swf in the same directory.
I've actually just made a bit of progress.
It looks like my problem may have been that I was working on a network
drive. I've just started working on a local copy of files and I no
longer get these bizarro errors.
Trying to get this working I had reduced the test case down to just:
- A new, empty movie, with just the action 'com.foobar.Monkey;' on the
first frame.
- A file 'com/foobar/Monkey.as' that contained just the following:
class com.foobar.Monkey {
}
this file being freshly created, rather than a copy of some other
.as
...and I was still getting errors that 'com.foobar.Monkey' clashed with
already loaded class 'com.foobar.Monkey'.
In an attempt to get things working, I had tried switcing to AS2Unit,
but its set of assert*() functions, and its documentation, are both a bit
lacking, so I think I'll install (this) asunit again.
dave
|