prvo, osnovno stanje dugmeta je mouse out, drugo je kad predjes misem preko, trece stanje je kad kliknes a cetvto povrsina osetlljiva na klik.
on(mouseEvent) {
// your statements here
}
press The mouse button is pressed while the pointer is over the button.
release The mouse button is released while the pointer is over the button.
rollOut The pointer rolls outside of the button area.
rollOver The mouse pointer rolls over the button.
Citat:
kad predjes preko dugmeta
(drugo stanje)
ovde koristi
on(rollOver) {
}
Citat:
kad skinem mis sa dugmeta
(prvo stanje)
ovde koristi
on(rollOut) {
}