Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Commands

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

visual

visual [effect] effect [speed] ¬
   [to image]

The visual command specifies a visual effect for HyperCard to use as it moves from one card to another. (Click the placeholders effect, speed, and image to see their possible replacements.) Visual must be followed by a go command to have any effect.

The optional speed parameter tells HyperCard to perform the visual effect faster or slower than normal.

The to image option changes the screen to white, gray, black, inverse, or the image of the destination card before applying the visual effect.

HyperCard uses the visual effect plain as its default effect. The default image is card.

Note: Only the effects push, scroll, shrink, stretch, and zoom work with the command go this card.


Examples

visual zoom open
visual effect zoom open
visual effect zoom open fast
visual effect zoom open to black
visual effect zoom open very fast to black

Demo Script

on mouseUp
  set cursor to watch
  set lockMessages to true -- leave the demo script up
  visual effect shrink to top to grey
  visual effect stretch from top to card
  go next card
  wait 10
  visual effect shrink to bottom slow to white
  visual effect stretch from top to card
  go prev card
  visual effect barn door close to black
  visual effect iris open slow to card
  go last card
  wait 10
  visual effect venetian blinds very slow
  go back
end mouseUp

Placeholders

effect
One of the following:

barn door open
barn door close
checkerboard
dissolve 
iris open
iris close
plain
push down
push up
push left
push right
scroll down
scroll up
scroll left
scroll right 
shrink to top
shrink to center
shrink to bottom
stretch from top
stretch from center
stretch from bottom
venetian blinds
wipe up
wipe down
wipe left
wipe right
zoom close
zoom in
zoom open
zoom out


speed
One of the following:

fast
slow
slowly
very fast
very slow
very slowly


Note: Of all the speeds, only very fast will vary in speed depending on the computer. It means “as fast as the machine can go.”

image
One of the following:

black
card
gray
inverse
white


Related Topics

« unmark | HyperTalk Reference | wait »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Commands

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

visual

visual [effect] effect [speed] ¬
   [to image]

The visual command specifies a visual effect for HyperCard to use as it moves from one card to another. (Click the placeholders effect, speed, and image to see their possible replacements.) Visual must be followed by a go command to have any effect.

The optional speed parameter tells HyperCard to perform the visual effect faster or slower than normal.

The to image option changes the screen to white, gray, black, inverse, or the image of the destination card before applying the visual effect.

HyperCard uses the visual effect plain as its default effect. The default image is card.

Note: Only the effects push, scroll, shrink, stretch, and zoom work with the command go this card.


Examples

visual zoom open
visual effect zoom open
visual effect zoom open fast
visual effect zoom open to black
visual effect zoom open very fast to black

Demo Script

on mouseUp
  set cursor to watch
  set lockMessages to true -- leave the demo script up
  visual effect shrink to top to grey
  visual effect stretch from top to card
  go next card
  wait 10
  visual effect shrink to bottom slow to white
  visual effect stretch from top to card
  go prev card
  visual effect barn door close to black
  visual effect iris open slow to card
  go last card
  wait 10
  visual effect venetian blinds very slow
  go back
end mouseUp

Placeholders

effect
One of the following:

barn door open
barn door close
checkerboard
dissolve 
iris open
iris close
plain
push down
push up
push left
push right
scroll down
scroll up
scroll left
scroll right 
shrink to top
shrink to center
shrink to bottom
stretch from top
stretch from center
stretch from bottom
venetian blinds
wipe up
wipe down
wipe left
wipe right
zoom close
zoom in
zoom open
zoom out


speed
One of the following:

fast
slow
slowly
very fast
very slow
very slowly


Note: Of all the speeds, only very fast will vary in speed depending on the computer. It means “as fast as the machine can go.”

image
One of the following:

black
card
gray
inverse
white


Related Topics

« unmark | HyperTalk Reference | wait »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View