blogads

2013年3月24日 星期日

Flash: 如何用AS2把物件載入場景

In the library, you must to assign a Linkage (right click on th mc) and chech Export for Actionscript and set a name (for example myMovieClip). That name will be used by attachMovie method:
this.attachMovie('myMovieClip', 'myMovieClipNewName', depth);
and for remove;
this.removeMovieClip('myMovieClipNewName');

沒有留言:

張貼留言