AS3 help!
AS3 help!
Out of context: Reply #9
- Started
- Last post
- 12 Responses
- funkage0
I presume you're trying to access movieclips on the stage named 'movie1' to 'movie9'. What jpea and Ancillary said works, but you may also try:
function playMovie(movieNumber:int):void {
var movie:MovieClip = this.getChildByName("movie"+movi... as MovieClip;
movie.x = 100;
}