Quantcast
Channel: Adobe Community : Unanswered Discussions - Adobe Captivate
Viewing all articles
Browse latest Browse all 23155

Trying to skip a slide on backward navigation

$
0
0

Hi

I have 4 slides, when user goes from slide 4 to slide 3 I want user to jump to slide 1.

I want to navigate using just the playbar (no buttons). The problem is that the course stays on slide 3. I am using Cap 7.01.

 

I have created advanced actions to do this based around “cpInfoPrevSlide” and “cpInfoCurrentSlide”.

 

The 4 slides just contain text captions – one text caption on each slide.

 

I have created a variable called v_PrevSlide_Plus1 with a value of -1.

(cpInfoPrevSlide index has a default value of -1, index begins with 0)

 

On slides 1, 2, 4 I have created an advanced action “aa_PrevSlide_Plus1” (on Slide Enter)

Advanced Action = IF 1=1, THEN expression v_PrevSlide_Plus1 = cpInfoPrevSlide + 1 - ELSE is nothing).

(I created this advanced action to test that the variable was working ok - it is).

 

On slide 3 I have created an advanced action “aa_PrevSlide_Check” (on Slide Enter) that has two decisions.

Decision 1: -

Advanced Action = IF 1=1 THEN expression v_PrevSlide_plus1 = cpInfoPrevSlide + 1 (ELSE is nothing)

 

Decision 2: -

IF v_PrevSlide_plus1 > cpInfoCurrentSlide THEN Jump to Slide 1 (ELSE is nothing)

 

The conditional action does not work it does not jump to Slide 1 - it stays on Slide 3.

Note - on slide 3 the value for “aa_PrevSlide_Plus1” = 1, does this mean it went to Slide 1 and came back to slide 3???

 

The advanced action does work if I jump to Slide 4.

I carried out another test - hiding an object and showing it when Decision 2 was tested - the object was displayed.

I even added a Next button to Slide 1 but it did not make a difference.

 

Any ideas what I am doing wrong?

 

Thanks

Donal.


Viewing all articles
Browse latest Browse all 23155

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>