<div dir="ltr"><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">Hallo David</blockquote><div> </div><div>I've tried another code for the changing border color part:</div><div> </div><div><font color="#38761d">Dim hitObject As SlideImage<br>Set hitObject = CSlideImage(ExternalCausesSlide.States("Default").Objects(strHit)) <br> hitObject.BorderColor = CColor("cyan")<br> hitObject.Draw </font></div><div><font color="#38761d"> Sleep 5000<br> hitObject.BorderColor = CColor("black")</font></div><div><font style="background-color: rgb(68, 68, 68);" color="#38761d"></font> </div><div><font style="background-color: rgb(68, 68, 68);" color="#38761d"></font> </div><div><font style="background-color: rgb(255, 255, 255);" color="#444444">If I understood this code right, that means the color of the image,which was clicked, changes to "cyan "and after 5 sec it changes back to "black".</font></div><div><font color="#444444"></font> </div><div><font color="#444444">But now I have some problems timing the change of color and the sound file.</font></div><div><font color="#444444"></font> </div><div><font color="#444444">At first I set "End Action" in the Slide Properties to "(none)" and "End Sound Action" in the Slide Sound Out Properties to "Terminate".</font></div><div><font color="#444444">Then the color was only changing after the soundfile was over.</font></div><div><font color="#444444"></font> </div><div><font color="#444444">Then I changed the settings to "End Action" -> Terminate and added "Sleep 5000" in the inline code.</font></div><div><font color="#444444">Now the color changes immediately after clicking and stays for the 5sec before changing back to black</font></div><div><font color="#444444">But if the Sleep Time after clicking is longer then the remaining time of the SoundOut, the SoundOut of the next Slide State isn't starting.</font></div><div><font color="#444444"></font> </div><div><font color="#444444">Is there any command which sets the Sleep time to something like "remaining time of SoundOut"?</font></div><div><font color="#444444"></font> </div><div><font color="#444444"></font> </div><div><font color="#444444">Best regards</font></div><div><font color="#444444">Hans</font></div><div><font color="#444444"> </font></div><div><font color="#444444"></font> </div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/3a01dd5d-8d54-4518-9b79-b2145f89cdbb%40googlegroups.com">https://groups.google.com/d/msgid/e-prime/3a01dd5d-8d54-4518-9b79-b2145f89cdbb%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />