On Tue, Nov 17, 2009 at 11:41 AM, Cedric Muller <[email protected]> wrote:
> who's the Instance who's the Class symbol ?
>
> mcHand <--- Class symbol
> mcHandInstance <--- instance
>
> when you want to change x and y on **any** instance, who do you target ?
> the Class or the instance ?
>
I apologize for my sloppiness. Here's the new code:
public function another():void
{
var mcHandInstance:mcHand = new mcHand();
addChild(mcHandInstance);
mcHandInstance.x = 400;
mcHandInstance.y = 400;
}
However, it still throws this error:
1046: Type was not found or was not a compile-time constant
TIA,
beno
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders