L
L
ligisayan2015-12-06 23:15:42
Mouse
ligisayan, 2015-12-06 23:15:42

Why is the Mouse events are permitted only for button instances error?

Hello! I make a rubber banner with a button on the actions script according to the 1 in 1 recommendation , I copy the code, but I get an error in this place:

on (release){
// Здесь мы прописываем адрес страницы, на которую хотим перейти при нажатии на пункт меню (страница откроется в новом окне)
getURL("http://www.flashyroki.ru/index.html", _blank);
}

Mouse events are permitted only for button instances

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Neonoviiwolf, 2015-12-07
@ligisayan

So the code is not written, as shown in this lesson - this is slag, and even more so on AS2.
On the topic, most likely you did not add a button to the stage.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question