Передать массив из js в as3 I have 3 symbol movie clips (Ant 11, Ant 20, Ant 30). They have to appear on stage. Instances of 3 symbols are written in an array. If the array is written to AS, then everything works well. If the array is written to JS, then the array in AS is transmitted incorrectly and the movie clip scene (And 11, And 20, And 30) does not appear. How to fix it? The array must always be in the JS file. I hope I explained it clearly, I attach the source code and a video demonstrating the problemJS Code: function callMyPanel(panelName, arg)
{
if (fl.swfPanels.length > 0)
{
for (i = 0; i < fl.swfPanels.length; i++)
{
if (fl.swfPanels[i].name == panelName)
{
fl.swfPanels[i].call("callSWF", arg);
break;
}
}
}
else
fl.trace("no panels");
}
images = ['Ant11', 'Ant20', 'Ant30'];
callMyPanel("ABCD", images.join(", ")); AS Code: stage.scaleMode = StageScaleMode.NO_SCALE
function fromJSFL(arg: S