Help Insert images in movieclip duplicates

11 views
Skip to first unread message

javier cornejo

unread,
Mar 18, 2017, 1:33:19 AM3/18/17
to CreateJS Discussion

Help I have a problem and duplicate a created that is in the library but to that box I want to add images and when I click upload an image based on the click that I am selecting With this code I duplicate the movieclip whose name is Cuadro

for (var i = 0; i<4 ; i++) { for(var j=0; j<2; j++) { var cuadro = new lib.Cuadro(); cuadro.y= (j*180)+150; cuadro.x += (i*130)+20; this.addChild(cuadro); } }


Please help





Reply all
Reply to author
Forward
0 new messages