"Virtual Tour" Functionality Question

Scott Rossi scott at tactilemedia.com
Fri Apr 13 01:52:15 EDT 2007


Recently, Ronell E. Toledo wrote:

> I'd like use Revolution to do a "virtual tour", displaying a location photo in
> a small window 
> within a card, and
> using either left/right buttons or moving the mouse to the far left or far
> right edge of the
> window to make the
> location photo pan left or right (and possibly up/down).
> 
> How is that done in Revolution?

If you want to pan a photo within a region that is smaller than photo's
dimensions, group the photo, set the size of the group to your desired rect
and position, and then lock the group.  You will be able to move the photo
within the group using the grab command or your own script routine.

For reference, you might want to look at a tile demo stack that isn't
exactly what you're doing but employs a similar principle.  Execute the
following in your message box:

  go url "http://www.tactilemedia.com/download/tiletest.rev"

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list