Hi;
I have this line in the importing package:

import Star;

and this in the function of the same package:

Star();

Star package has this code:

package
{
import flash.display.MovieClip;
 public class Star extends MovieClip
{
 public function Star()
{
trace('star');
}
}
}
When I run the importing package, I get this error:

1136 Incorrect number of arguments. Expected 1. Star.as

What argument is it expecting?!
TIA,
Susan
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to