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

Popular posts from this blog

Blank pages again for IE7 and IE6

How to update nested ListCollectionViews?

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??