|
From: Thompson, D. <dan...@se...> - 2004-11-02 15:58:07
|
I think your problem may be an incorrect action on the main timeline.
Try "var monkey:Monkey =3D new Monkey();" instead.
-----Original Message-----
From: David Holroyd [mailto:wa...@us...]=20
Sent: Tuesday, November 02, 2004 09:00
To: asu...@li...
Subject: Re: [Asunit-users] Conflicting 'AllTests' classnames
On Tue, Nov 02, 2004 at 08:16:02AM -0600, Thompson, Daniel wrote:
> Hey David,
>=20
> It looks like it may be just the two of us, so let me see if I can=20
> help. I'm a jUnit newb but have a long history of using Flash.
>=20
> What if we completely ignore AsUnit for the time being and make sure=20
> your Flash install is working correctly? Do you know how to link in a=20
> 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.
=20
- 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
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld =
Reader's Choice Award Winner for
best database on Linux.
http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick
_______________________________________________
Asunit-users mailing list
Asu...@li...
https://lists.sourceforge.net/lists/listinfo/asunit-users
|