Removing a movie clip


hi , new flash. trying simple project of 2 balls on screen , both converted movie clips, 1 named ball1 othe ball2. want able click on ball1 , remove movieclip of ball2 , having no luck. code suggestions please.

select ball1 on stage , in properties panel set instance name ball1 , repeat ball2. on timeline select first frame , in actions panel paste , test!

ball1.onpress = function(){
removemovieclip(this._parent.ball2);
}


More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Qualcuno mi sa dire perchè non va questo protocollo seriale ?

Prezzemolo!

play video