mouseListener for mousedown function in sub-menu buttons
hello people, sorry ask quite new using in flash, im using as2.
have menu appears on mouseover on button, on menu have buttons. these buttons need have function when user clicks , holds down mouse button moves through animation frame frame.
i understand basica principal of:
var mouselistener:object = newobject ();
then calling
mouselistener.onmousedown = function() {
imgbar.prevframe();
}
if see attached code see it, attach code have on top level of flash file, onpress functions work need them replaced onmousedown.
as said quite new appologise if noobish error.
thanks time , help.
have menu appears on mouseover on button, on menu have buttons. these buttons need have function when user clicks , holds down mouse button moves through animation frame frame.
i understand basica principal of:
var mouselistener:object = newobject ();
then calling
mouselistener.onmousedown = function() {
imgbar.prevframe();
}
if see attached code see it, attach code have on top level of flash file, onpress functions work need them replaced onmousedown.
as said quite new appologise if noobish error.
thanks time , help.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment