I'll use arrays.
But I don't know
Add a method to a movie clip
This operation fails.
It bothers me.
Copy link to clipboard
The approach looks like an ActionScript 1 or 2 way of doing things. With ActionScript 3 you could do this:
sz.push(new MyCustomMC() as MovieClip);
sz[sz.length-1].x = 100;
'MyCustomMC' would be a movieclip in your library where you had set its linkage name to MyCustomMC. Saying 'as MovieClip' would make your custom movieclip act like a normal one.
I don't speak English well
I'm learning HTML5
Use animate cc
Array objects inherit from Array.prototype
I wrote the first one in ANIMATECC.
How movie clips use prototypes, and I won't rewrite them in Animatecc
Hi, I already know how to use it.
Thank you for your answer
Object. is a method that you can add to a movie clip
It's just that "THIS" is wrong.
I'm going to adapt my habits
Use "exportRoot." in "ANIMATECC." Instead of "THIS"