Carousel - initiating a FAST spin using script

This is the place to discuss anything relating to MobGUI

Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21

Post Reply
Dougy
Posts: 15
Joined: Sat Jul 01, 2006 7:37 pm
Location: New Zealand

Carousel - initiating a FAST spin using script

Post by Dougy » Sun Jan 11, 2015 3:27 am

Hi.
Just wondering if it's possible to initiate a FAST spin using script, the same as when you manually use the mouse to swipe over the carousel object?
It needs to accelerate and deccelerate just like the swipe does, and finally finish on an image (not between images).

I have tried used the following code to do this, however the speed of the spinning is way too slow for what I want:

Code: Select all

set the mgProps["autospin"] of group "Carousel" to 3
      send "mgCarouselSpin" to group "Carousel" in 0 millisecs

UPDATE: Added the following line before the "send" command:

Code: Select all

set the mgProps["autospinInc"] of group "Carousel" to 20
This gets the Carousel spinning fast, just the way I want it, however there is no speed-up and slow-down, and it doesn't stop.

Thanks for any help :-)
LC 6.6.3, AnimationEngine 5.1
BeatSpeak & EVPoint available for iOS devices on the App Store.

Post Reply

Return to “MobGUI”