Oct 14, 2006 #1 ksbigfoot Programmer Apr 15, 2002 856 CA Is there a way to pass in a value and use it in a movie clip? Eg. Code: function playMovie(nPic:Number) { this.pic + nPic + _mc._alpha = 0; // Which would be translated to something like: this.pic1_mc._alpha = 0; } Thanks
Is there a way to pass in a value and use it in a movie clip? Eg. Code: function playMovie(nPic:Number) { this.pic + nPic + _mc._alpha = 0; // Which would be translated to something like: this.pic1_mc._alpha = 0; } Thanks
Oct 15, 2006 1 #2 billwatson Instructor Dec 18, 2002 2,312 CA function playMovie(nPic:Number) { this["pic" + nPic+"_mc"]._alpha = 0; } Upvote 0 Downvote
Oct 15, 2006 Thread starter #3 ksbigfoot Programmer Apr 15, 2002 856 CA Thanks Bill, Star to you. ksbigfoot Upvote 0 Downvote