1 person found this helpful
Hello and welcome to the forum,
This is the Corner peel widget from Michael Lund, which normally moves to the next slide. Did not read the agreement... are you sure it is correct to change this, please ask Michael.
I'm not a coder at all, but bit acquainted with system variables and advanced actions. The used CP-variable here is rdcmndNextSlide. The variable that jumps to a slide is cpCmndGotoSlide and slide index start with 0. Perhaps it is also possible to use the slide label, but not sure.
Another possibility: there is a Flash button included in Captivate, to which you can attach all possible actions that are available for interactive objects. You could also change that button in Flash.
You are awesome. Thank you. That was extremely helpful. Michael also gave me a list of variables to use. However, when I use:
cpCmndGotoSlide = 5
It always jumps to slide 9, regardless of the value I put in the place of the '5'. So it does jump to a slide, but I can't yet get it to jump to the slide I want. In other words,
cpCmndGotoSlide = 7
cpCmndGotoSlide = 13
cpCmndGotoSlide = 44
produces the same result: jump to slide 9. I followed the same format... Any idea why it wouldn't be working?
Here is the full script:
// Set up event listeners
main.btn2_mc.addEventListener (MouseEvent.MOUSE_OVER, over);
main.btn2_mc.addEventListener (MouseEvent.MOUSE_OUT, out);
main.btn2_mc.addEventListener (MouseEvent.MOUSE_DOWN, clicked);
// functions for eventlisteners
var myRoot:MovieClip = MovieClip(root);
var mainmov:MovieClip = MovieClip(myRoot.parent.root);
mainmov.cpCmndGotoSlide = 5;
As I told you before, I'm not a coder and have no idea what is going wrong. I would try with a slide label, but do not know how.
Okay, well thank you very much anyway. I'll post an answer when I get one.
Here's an answer for anyone out there trying to do the same thing.
To change the function, just change "rdcmndNextSlide = 1" to another command with its variable. The commands and variables can be found here: