Incorrect line of code at Common JS for Captivate page


hello,

 

in documentation @ learn common js interface adobe captivate, there line of code worthless , shouldn't included in example.

 

step 3 of "using geolocation" gives following sample code.

 

window.cpapieventemitter.cpapi_slideenter;

window.cpapiinterface.setvariablevalue("cpinfogeolocation","blr");

if (window.cpapiinterface.getvariablevalue("cpinfogeolocation")==="blr") {

     cp.hide("ss1"); // hide object ss1    

    cp.show("ss2"); // show object ss2

}

 

 

that first line of code nothing return undefined. there no property called cpapi_slideenter on emitter object.

 

 

also, second paragraph under using geolocation makes no sense:

 

for example, learner in new york can view us-centric materials in course, whereas learner can view us-centric materials of same course.

 

or missing here?

 

- ryan

do want feedback go adobe elearning team? adobe might see user forum, moderated users. perhaps submit through bug / feature request or email captivatehelp@adobe.com



More discussions in Adobe Captivate


adobe

Comments

Popular posts from this blog

Extracting portions of an image

shape alpha vs layer alpha in cc library

Photoshop CC 2017 - Ruler Tool - Error 8007...