Array length bug?
I added 3 objects in my document and gave them a graphic style that is named "mute".
Then I used Object > insert HTML.
I want to find those 3 objects with the mute style.
<script>
console.log("ok");
var player_frames = document.getElementsByClassName('mute');
//console.log(player_frames.length);
for (var i = 0; i < player_frames.length; i++) {
console.log(i);
}
console.log(player_frames);
</script>
But I only get 0 and 1. The array.length is 2 while I expect 3.
If I print player_frames then I do see all 3 items.
What is happening?

