> Hi, i've a problem with this (in a single moviescript):
>
> function CClipper ()
> {
> this.mydummy2 = 0;
> }
>
> function CSprite ()
> {
> this.dummy = 0;
> }
>
> CSprite.prototype = new CClipper ();
I'm no expert on JS syntax in Lingo, but this line looks
weird to me. You're
setting the prototype of a function to an object? What does
that even mean?
And CClipper () is just the value 0 anyway, so 'new
CClipper()' is the same
as 'new 0' which doesn't make any sense.
Danny
_______________________________________________
dirGames-L mailing list - dirGames-L nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l
|