Yep -
Could be wrong, but I'm pretty sure versions before CS4 allowed you to
subclass Sprite instead of MovieClip...
In any case, we can probably change that subclass to make sure it works
everywhere.
lb.
On Fri, Jun 19, 2009 at 5:03 PM, Robert Penner <in...@ro...>wrote:
> I tried to use AsUnit with an AS3 document class but got a compile error:
>
> 5000: The class 'TestBootstrapper' must subclass 'flash.display.MovieClip'
> since it is linked to a library symbol of that type.
>
> TestRunner currently subclasses Sprite. Has it always been this way?
>
> Here's my class:
>
> package
> {
> import asunit.textui.TestRunner;
>
> public class TestBootstrapper extends TestRunner
> {
> public function TestBootstrapper()
> {
> start(AllTests);
> }
> }
> }
>
> Robert
>
>
>
>
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge
> conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference:
> $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
>
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> Asunit-users mailing list
> Asu...@li...
> https://lists.sourceforge.net/lists/listinfo/asunit-users
>
>
|