how can I control captivate slides in flash
hi, I have created button in flash and wrote the below code and placed it in first slide of Captivate. I am using captivate 6. When I click that button it should go to captivate slide 4.
import flash.events.MouseEvent;
import flash.display.MovieClip;
//Get a reference to the Cp main movie
var myRoot:MovieClip = MovieClip(root);
var mainmov:MovieClip = MovieClip(myRoot.parent.root);
//Attach an eventlistener to your flash button
this.btn.addEventListener(MouseEvent.CLICK, btnClick_Handler);
//write the function to handle the click even of your button
function btnClick_Handler(e:MouseEvent):void {
mainmov.rdcmndGotoSlide = 4;
return;
}
Please help me for this.
Thanks in Advance.
Reji.
