Page 1 of 1

Scrolling image

Posted: Tue Jan 08, 2013 2:26 pm
by paulk
Hi all

Is it possible to have a container of a fixed size say 200 x 200 and have a larger image inside it that can be scrolled?

Thanks in advance

Re: Scrolling image

Posted: Tue Jan 08, 2013 6:12 pm
by Hopki
Hi,
Yes this can be done using a masking container and then two other containers, one for X and the other for Y.
Then using the Change Relative Position action along with a mouse pressed source.
I am also using an external image loader, loading the JPG image that is in the output folder.

The image is 1024 x 1024 and is being displayed in a window size of 400 x 400.
There are 8 buttons 4 for up, down, left and right and the others are for top left, top right, bottom left and bottom right.
This is to show a combination of actions can be used in one button.

Regards,
Hopki

Re: Scrolling image

Posted: Tue Jan 08, 2013 6:36 pm
by paulk
Thats great Hopki thank you...will have a play!

Re: Scrolling image

Posted: Tue Jan 08, 2013 9:32 pm
by Hopki
Just to add to this, if you want to get clever using tags and node markers you can get the large image to change position depending on the panorama.
An example would be to have a very large map, each node has a tag that activates a node marker that changes the position so the map tracks your progress.
Regards,
Hopki

Re: Scrolling image

Posted: Fri Mar 22, 2013 2:33 pm
by RobM
This is nice. has potential.
I've got to get to grips with the markers still, but will give that a go when I can.

One question though. Scrolling is now done by buttons. Is there any way of doing that by mouse within the popup box?

Ipad note: All works sweet BUT. Close the popup on the Ipad and all the container and controls close nicely but the actual image remains displayed for a second or so :/
I have mouseclick, set text - (blank) external-loader

Cheers, Rob