{"identifier":50441,"topic":"Commands","name":"visual","text":"<code>visual <\/code>[<code>effect<\/code>]<code> <i>effect<\/i> <\/code>[<i><code>speed<\/i><\/code> ]<code> \u00ac        <\/code>[<code>to <i>image<\/i><\/code> ]<code> <\/code> The<code> visual <\/code>command specifies a visual effect for HyperCard to use as it moves from one card to another. (Click the  placeholders<code> <i>effect<\/i>, <i>speed<\/i>,<\/code> and<code> <i>image<\/i> <\/code>to see their possible replacements.)<code> Visual<\/code> must be followed by a<code> go <\/code>command to have any effect. <br><br>\n\n The optional<code> <i>speed<\/i> <\/code>parameter tells HyperCard to perform the visual effect faster or slower than normal. <br>\n<br>\nThe<code> to <i>image<\/i> <\/code>option changes the screen to white, gray, black, inverse, or the image of the destination card before applying the visual effect.  <br><br>\n\n HyperCard uses the visual effect<code> plain <\/code>as its default effect. The default image is<code> card<\/code>.  <br><br>\n\n Note: Only the effects<code> push<\/code>, <code>scroll<\/code>,<code> shrink<\/code>,<code> stretch<\/code>, and<code> zoom<\/code>  work with the command<code> go this card<\/code>. <br>\n","related":{"38981":"go"},"examples":"visual zoom open\nvisual effect zoom open\nvisual effect zoom open fast\nvisual effect zoom open to black\nvisual effect zoom open very fast to black","demo":"<code><pre>on mouseUp\n  set cursor to watch\n  set lockMessages to true -- leave the demo script up\n  <b>visual<\/b> effect shrink to top to grey\n  <b>visual<\/b> effect stretch from top to card\n  go next card\n  wait 10\n  <b>visual<\/b> effect shrink to bottom slow to white\n  <b>visual<\/b> effect stretch from top to card\n  go prev card\n  <b>visual<\/b> effect barn door close to black\n  <b>visual<\/b> effect iris open slow to card\n  go last card\n  wait 10\n  <b>visual<\/b> effect venetian blinds very slow\n  go back\nend mouseUp<\/pre><\/code>\n ","debug":{"9":["visual [effect] effe"],"10":["The to image option "]}}