I want to play an image audio while clicking on it. If we click on the other image that the sound will play in it, the way we want to write the logic.
If you are binding for the object in which the image is uri and the audio clip uri:
& lt; Image source = "{binding imagepath}" tag = "{binding audiapath} mouse leftbootdown =" IMGMouseWattButton "/> then in event handler
Zero Emizmus Alt-BattenDown (Object Sender, Mousebutton Avenger ARGS E) {Image Image = Image to Sender; if (IMG! = Faucet) ippler source = IMG.}
Comments
Post a Comment