Macromedia Flash MX и программирование на ActionScript - ответы
Количество вопросов - 608
onClipEvent (mouseMove) { this._rotation = this._rotation + .5;}при каждом перемещении мыши поворачивается?
onClipEvent (load) { this.amountPaid = _parent.paid; }потомком текущего клипа является ...
on(release) { result = inputField.text.indexOf(findField.text); }содержит символы, которые скрипт ищет в текстовом поле inputField?
function changeTheChannel (newChannel) { currentChannel = newChannel + 1;}changeTheChannel(2);Какое значение получит переменная newChannel?
if (tvPower) { tvPower = false; } else { tvPower = true;}при истинном условии?
function channelUp () { if (currentChannel + 1 = numberOfChannels) { changeTheChannel(currentChannel + 1); }}вызывается без аргументов?
function convertToMoonWeight (myWeight) { var newWeight = myWeight / 3; return newWeight;} myWeightOnMoon = convertToMoonWeight(15);возвращается после выполнения функции?
Person = function(){}не создают экземпляр класса Person?
if (tvPower) { tvPower = false; } else { tvPower = true; }при истинном условии?
switch (favoriteBand) {case "Beatles": gotoAndPlay("Beatles"); break;case "U2": gotoAndPlay("U2"); break;default: gotoAndPlay("Slim Whitman");}?
randomWeather = 5 if (randomWeather == 0) { conditions = "Sunny"; } else if (randomWeather == 1) { conditions = "Rainy"; } else { conditions = "Night"; }?
direction == "right";if (direction == "right") { _x = _x + 3; } else { _x = _x - 3; }?
total = 0;i = 0;while (++i <= 10) { if (i == 5) { continue; } total += i;}
<MyFriends> <Name Gender="female">Kelly Makar</Name> <Name Gender="male">Mike Grundvig</Name> <Name Gender="male">Free Makar</Name></MyFriends>корневым узлом является
1. states = ["California", "Indiana", "North Carolina", "Oklahoma"];2. matchFound = false;3. i = -1;4. while (++i < states.length) {5. if (state.text == states[i]) {6. matchFound = true; } }строкой, проверяющей конец массива является
on (press) { _global.amountPaid = Number(paid.text); }будет виден с любого уровня?
function changeTheChannel (newChannel) { currentChannel = newChannel + 1;}changeTheChannel(2);Какое значение получит переменная currentChannel?
function channelUp () { if (currentChannel + 1 = numberOfChannels) { changeTheChannel(currentChannel + 1); }}?
function convertToMoonWeight (myWeight) { var newWeight = myWeight / 4; return newWeight;}возвращается после выполнения функции?
switch (favoriteBand) {case "Beatles": gotoAndPlay("Beatles"); break;case "U2": gotoAndPlay("U2"); break;default: gotoAndPlay("Slim Whitman");}
randomWeather =1 if (randomWeather == 0) { conditions = "Sunny"; } else if (randomWeather == 1) { conditions = "Rainy"; } else { conditions = "Night"; }?
direction = "left" if (direction == "right") { _x = _x + 3; } else { _x = _x - 3; }?
<MyFriend> <Name Gender="female">Kelly Makar</Name> <Name Gender="male">Mike Grundvig</Name> <Name Gender="male">Free Makar</Name></MyFriend>атрибут является
function channelUp () {if (currentChannel + 1 = numberOfChannels) { changeTheChannel(currentChannel + 1); }}вызывается с аргументами?
total = 0;i = 0;while (++i <= 10) { if (i == 5) { continue; } total += i;}
function convertToMoonWeight (myWeight) { var newWeight = myWeight / 4; return newWeight;}удаляются после выполнения функции?
switch (favoriteBand) {case "Beatles": gotoAndPlay("Beatles"); break;case "U2": gotoAndPlay("U2"); break;default: gotoAndPlay("Slim Whitman");}вызывается с аргументами?
direction == "left" if (direction == "right") { _x = _x + 3; } else { _x = _x - 3; }?
1. states = ["California", "Indiana", "North Carolina", "Oklahoma"];2. matchFound = false;3. i = -1;4. while (++i < states.length) {5. if (state.text == states[i]) {6. matchFound = true; } }строкой, проверяющей соответствие введенного текста элементу массива является
randomWeather = 0 if (randomWeather == 0) { conditions = "Sunny"; } else if (randomWeather == 1) { conditions = "Rainy"; } else { conditions = "Night"; }?
<MyFriend> <Name Gender="female">Kelly Makar</Name> <Name Gender="male">Mike Grundvig</Name> <Name Gender="male">Free Makar</Name></MyFriend>дочерним узлом является
1. states = ["California", "Indiana", "North Carolina", "Oklahoma"];2. matchFound = false;3. i = -1;4. while (++i < states.length) {5. if (state.text == states[i]) {6. matchFound = true; } }строкой, создающей массив является
var i = 0;while (++i <= 10) { var j = 0; while (++j <= 10) { }}
if (tvPower) { tvPower = false; } else { tvPower = true;}при ложном условии?
zipCode.text = "ActionScript";zipLength = zipCode.text.length;будет иметь переменная zipLength?