Q:

What is "masu-stem + ざま"? 

Here is a part of a sentence from my book:

・・・・手裏剣をよけざま・・・・

I can't find any help in any of my references on the pattern of "masu-stem + ざま", which makes me hesitant to say that's exactly what it is, but I also can't figure out anything else it could be.  From what it looks like to me it says "(he) dodged the shuriken", and I want to say that that "ざま" is 様, meaning "state" (and without the kanji I'm assuming it's "よけ" as in the masu-stem of "避ける" meaning "to avoid"). 
Am I right about the formation of this phrase?  Can anyone add/correct anything? 

A:

手裏剣をよけざま

「よけ」 should be 避ける（avoid/dodge）. 「 ～しざま」 means "while / the moment / at the same time".  It can be rephrased like 「～する際」　「～しながら」.  So the sentence appears to be "he did something while he dodged the shuriken".  It needs more context to be accurate. 
さま2 【様・▽方】

［2］   現代では普通「ざま」の形をとる。動詞連用形に付く。 
  　（イ）  …する瞬間、…すると同時の意を表す。 
    　　  「すれ違い―」
    　　  「振り向き―」  

source: 大辞林 提供： 三省堂

