keypressed returning odd character
hi,
i've bit of problem using 'the keypressed' method.
this in application has been working fine now, @ point user has press key, , program waits until key released. user may have indicated choice mouse click, , following frame script has behaved needed:
on exitframe me
if keypressed <> "" then
go frame
else
if mousedown then
go frame
else
if milliseconds < gptp_endtime -- necessary pause before proceeding
go frame
else
go to gdestframe -- gets set previous results handler
end if
end if -- mouse down check
end if -- keydown check
end
this written on winxp, director 10.1. however, having tried application on new laptop running win7, program hangs. having looked it, find no key pressed, method returns ascii char 16 ('dle'), rather "". laptop fujitsu lifebook series. i'd grateful if might offer suggestion, , commiserate else losing hair on this.
what using keyup , keycode, in
on keyup
if keycode > -1 then
go frame
else
if mousedown then
go frame
else
if milliseconds < gptp_endtime -- necessary pause before proceeding
go frame
else
go to gdestframe -- gets set previous results handler
end if
end if -- mouse down check
end if -- keyup check
end
More discussions in Director
adobe
Comments
Post a Comment