Answered
Add symbol to stage in JS and push to array
Trying to dynamically add symbols from library to an array using JS. Using the code snippet to add one instance, but multiple instances causes problems with the array. Here's my code:
var newCoin = new lib.Coin();
function loadCoins(){
for(let i = 0; i < 6; i++){
myCoins.push(newCoin);
root.addChild(myCoins[i]);
}
}
loadCoins();

