CTRL-click (or command, or ALT or...)


hello,
i'm trying build custom photoshop cs4 panel flex. i've followed adobe photoshop panel developer's guide. needs basic: have buttons should call javascript code in external jsx files, , that's ok.
i wasn't able implement command-click (or shift-click, or alt-click, doesn't matter) works. let's put (that's code attached) have 2 buttons i'd merge in one. first button calls action a, second calls action b. i'd have single button calls click, b keyboard modifier-click. (i know there's timer workaround if i'd implement single click / double click instead). works time.
in commented part of code there's unlucky try. strangely, if write != instead of == in if statement, it's option b thats working seems button unable "feel" modifier pressed when click.
any or suggestion appreciated.
kind regards,

d. barranca



More discussions in Flex (Read Only)


adobe

Comments