Adobe Flash. Создание аркад, головоломок и других игр с помощью ActionScript. Гэри Розенцвейг. Читать онлайн. Newlib. NEWLIB.NET

Автор: Гэри Розенцвейг
Издательство:
Серия:
Жанр произведения: Программирование
Год издания: 2009
isbn: 978-5-94074-485-6
Скачать книгу
такой клип удобно называть контроллером. – Прим. науч. ред.

      9

      Перед окончальной пубикацией ролика лучше удалить надпись «actions» из клипа сценария, так как итоговый swf-файл должен занимать как можно меньше места. – Прим. науч. ред.

      10

      К сожалению, часто при синтаксически верном коде программа выдает неожиданные результаты. Например, поскольку Flash не нуждается в специальном объявлении переменных, то он запросто съест имя несуществующего объекта (вы вполне могли ошибиться при вводе имени) и будет честно выполнять все назначенные ему действия. – Прим. науч. ред.

iVBORw0KGgoAAAANSUhEUgAAAiYAAAH6CAMAAAAEBHe9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMBQTFRFs7OzdHR11tbW5+fn////goKCwMDAmZmZ8/Pz+Pj4Tk1PoMzsYIq46sifuY1pyev8/evI2rOLUXSflW1Tjbjc//fY2Pf/IyEifldGQ1uDO0RoQkFEuNz06/7/99y3//7pNjFEyKF+VDM8dqLMZkZBqampkqO38+vdZ2dn3sy1//729///3+z2bW1t0NDQdYmh39/flJSUiYiIysrKqIBjvtHercPXX19foKCg7e3t+vTqjo6O9P/0+/v7fX196vb8mLZuqQAAcFJJREFUeNrsXQtDmzwXDrcA3dR52bzUaXUya10ZF7fC+GD//1995yQBwrVUu7ft1rRa7oTk4TmXJCdE36d9WprIvgj2aQ+TfdoumDx6z/Df8952lV+vucov1f1d3zbzfq+9rGaaPSQvbvgH7v3K4oTcuKG7QnY6ym1dMEnvrj7p+vHk7G2XuZvAVQ7uV7lKejwajcdfn+XSeUrmV9drL/Qn5dPSY47Px5Cdy+vtgMkd5mZ09W44Sm4m7/4omyBMDkZvRIl+DFe5GX9Z5ZSDyRfr152Mz5uL8SL78QcK/cuQB7i2rZuHk+etgMnx1ZEVW1a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