movieclip array on click of each button
hi all,
i have browse button on stage. when click uploading image movieclip. movieclip added stage. issue when click browse button 2nd time need select image , add movieclip , display it stage.
any idea of incrementing movieclip array on click of button.
thanks in adv help
krsmk
you need create new instance of movieclip, each time image loaded. go this:
private function oncomplete(event:event):void { var mc:movieclip = new movieclip(); mc.addchild(yourimage); // add uploaded image mc myarr.push(mc); // keep reference of mcs }
More discussions in ActionScript 3
adobe
Comments
Post a Comment