
Код AS3:
public function createplatform():void
{
for (var i:uint=0; i<platform.length; i++)
{
for (var j:uint=0; j<platform[i].length; j++)
{
if (platform[i][j] > 0)
{
platforma = new Platforming;
platforma.width = platforma_width;
platforma.height = platforma_height;
platforma.x = j * size - 750;
platforma.y = i * size + 135;
platforma.gotoAndStop(platform[i][j]);
platformobj.push(platforma);
addChild(platforma);
}
}
Создал массив platformobj.[object Platforming] добавились в него.

Код AS3:
public function goPlatform(e:Event):void
{
if (left_press_platform)
{
for (var i:uint = 0; i < platformobj.length; i++)
{
platforma.x -= speed_platform;
}
}
Не передвигается