On Fri, Mar 5, 2010 at 8:34 AM, Benny <[email protected]> wrote:

> Hi susan,
>
> In the 'other package' try:
>
> import Star;
>
> var myStar:Star = new Star();
> addChild(myStar);
>

That works.

>
> ---
> Why are you getting the error? .. because you are trying to cast 'nothing'
> as a Star. Because Flash can't cast 'nothing' it tells you it's missing an
> argument.
>

Gotcha.
Thanks,
Susan
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to