Quantcast
Channel: Adobe Community: Message List - Adobe Captivate
Viewing all articles
Browse latest Browse all 80145

Captivate compared to greenstock / Static Stage (By Zevan) XML

$
0
0

I am working with a greenstock / Static Stage (By Zevan) XML system that is very manually intensive.  I need to know if this system can be replaced with Captivate 7. Someone (a POC point-of-contact) I can talk to and send CBT examples to compare to Captivate 7.  This should interest the POC - I need to recommend either keeping this system or using Captivate 7.

 


/com/Zevan/com directory structure
com/bkde ./demonsters ./greenstock ./Zevan ./lorentz
XML Slide Example (Drap-and-Drop quiz)

 


<!--********************************Quiz****************************** **********-->    

<!--********************************Quiz****************************** **********-->    

<!-- Org Chart --> 

 

<slide position="070" layout="SC" imiType="build" testMode="false" feedbackXYW="400,260,540">

       <list>

             <section>

                    <item></item>

             </section>

       </list>

       <cueItems>

 

 

 

 

 

 

 

      

<!-- DEBUG MY =======================================================-->

       <cue>

             <text name="ME1" text="var1">

                    <properties width="120" height="60"/>

                    <font name="Arial" size="15" color="FF0000"/>

                    <position x="10" y="10"/><visible flag="true"/>

             </text>

             <text name="ME2" text="var2">

                    <properties width="120" height="60"/>

                    <font name="Arial" size="15" color="FF0000"/>

                    <position x="130" y="10"/><visible flag="true"/>

             </text>

             <text name="ME3" text="var3">

                    <properties width="120" height="60"/>

                    <font name="Arial" size="15" color="FF0000"/>

                    <position x="250" y="10"/><visible flag="true"/>

             </text>

             <countSet targets="mycounters" name="mytest" value="0"/>

       </cue>

       <!-- <cue><visible targets="ME2" flag="true"/></cue> -->

<!-- DEBUG MY =======================================================-->       

 

 

 

 

 

 

             <!-- DROP - set up drop zone lists to check for correct drop -->

             <!-- inZone=starting position/dz2 right drop box/dz1 left drop box -->

             <cue>

             <!--   <keySet targets="dg1,dg2,dg3,dg4,dg5,dg6,dg7,dg8,dg9,dg10,dg11" name="inZone" value="no"/> -->

                    <keySet targets="dg1,dg2,dg3,dg4,dg5,dg6,dg7,dg8,dg9,dg10,dg11" name="inZone" value="feedback-not-used"/>

                    <!-- value=dz1 is used to verify correct drop - Corect group for Lethal -->

                    <keySet targets="dg1,dg3,dg4,dg7,dg9,dg10,dg11" name="passZone1" value="dz1"/>

                    <!-- Corect group for Non-Lethal -->

                    <keySet targets="dg2,dg5,dg6,dg8" name="passZone1" value="dz2"/>

 

                    <!-- puts dragged targets into the center of the box -->

                    <!-- size=8 is the maximum number of DGs that fit into the list boxes -->

                    <!-- entries = array of DG names -->

                    <!-- DZ = Draggable Graphics     -->

                    <!-- DZ = Rectangular Drop Zone  -->

                    <list targets="dz1,dz2" name="entries" size="8"/>

             </cue>

            

             <!-- Header label at top of the slide (for some reason it is put into a Rectangle)-->

             <cue>

                    <drawRect name="header" width="950" height="40"> <!-- <fill color="0000FF" opacity="100"/> -->

                           <position x="10" y="10"/>

                           <visible flag="true"/>

                           <contains>

                                 <text name="instructions" text="Drag and drop each item accordingly.">

                                        <properties width="950" alignment="center"/>

                                        <font name="Arial" size="20" color="FFFFFF"/>

                                 </text>

                           </contains>

                    </drawRect>

             </cue>

 

             <!-- DROP - Dropzone - defines the drop sensitive rectangle-->

             <cue id="dz1" drawShape="rect" fillColor="7091AF" locXYWH="49,140,280,390"/> <!--box overlaid with pic1/2-->

             <cue id="dz2" drawShape="rect" fillColor="7091AF" locXYWH="629,140,280,390"/>

 

             <!--LABELS - Top rows labels text - locXYW is relative and Overlaying pic on dropzones-->         

             <cue id="label1" action="newText" align="center" locXYW="40,60,312" label="Lethal Methods"

                    color="FFFFFF" font="Agency FB" size="36" attachTo="pic1"/>

             <cue id="label2" action="newText" align="center" locXYW="40,60,312" label="Non-Lethal Methods"

                    color="FFFFFF" font="Agency FB" size="36" attachTo="pic2"/>

             <cue id="pic1" action="nextPic" bg="images/Box.png" locXYW="0,18,380"/>

             <cue id="pic2" action="nextPic" bg="images/Box.png" locXYW="580,18,380"/>

            

             <!--DRAG DEFINE - define drag objects as rect/place on Slide/10 pexels less than drop zone-->

             <cue id="dg1" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,70,270,30"

                    label="Vehicle Interdictions" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg2" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,110,270,30"

                    label="Civil Military Operations" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg3" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,150,270,30"

                    label="Military Police" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg4" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,190,270,30"

                    label="Ground forces" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg5" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,230,270,30"

                    label="Intelligence Collection Ops" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg6" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,270,270,30"

                    label="Electronic Warfare Jamming Ops" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg7" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,310,270,30"

                    label="Force entry apprehensions" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg8" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,350,270,30"

                    label="Presence of Security Forces" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg9" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,390,270,30"

                    label="Air Strikes" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg10" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,430,270,30"

                    label="Snipers" color="FFCC00" font="Arial" size="18"/>

             <cue id="dg11" drawShape="rect" fillColor="5F5F5F" align="center" locXYWH="345,470,270,30"

                    label="Cordon and search" color="FFCC00" font="Arial" size="18"/>

            

             <!-- DRAG CONTAINER - define objects as draggable in a drag-layer container -->

             <cue id="layer_drag">

                    <container />

             </cue>

             <!-- DRAG ASSIGN TO CONTAINER - STORE start position -->   

             <cue>

                    <attachTo targets="dg1,dg2,dg3,dg4,dg5,dg6,dg7,dg8,dg9,dg10,dg11" to="layer_drag"/>

                    <!-- store the original startPosition to put it back if failed -->

                    <storageSet targets="dg1,dg2,dg3,dg4,dg5,dg6,dg7,dg8,dg9,dg10,dg11" name="startPosition" type="targetPosition"/>

<!--DEBUG--><!-- Targets can have multiple "storage" positions. -->

<!--DEBUG--><!--MY-TEST<storageSet targets="dg1" name="myPosition" type="position" x="0" y="0"/>-->

             </cue>

 

             <!-- SUBMIT DRAW BUTTON - Define the shape of the submit button/place it on the Slide -->

             <cue> <!-- was originally a BIG cue ****************************************************-->

                    <drawRect name="submitBtn" width="100" height="40">

                           <fill color="0074cc"/><visible flag="true"/><opacity alpha="100"/>

                           <position x="430" y="510"/>

                           <contains>

                                 <text text="Submit">

                                        <properties width="100" alignment="center"/>

                                        <font name="Arial" size="20" color="FFFFFF"/>

                                        <position x="0" y="5"/>

                                 </text>

                           </contains>

                    </drawRect>

             </cue>

            

             <!-- SUBMIT MOUSE-OVER - Make the submit button glow on mouseover and non-glow on mouseout -->

             <cue> 

                    <mouseover targets="submitBtn">

                           <commands>

<!--DEBUG--><replaceText targets="ME1" text="set"/>

                                

                                

                                

                                

                          

                          

                          

                          

                          

                          

                          

                                 <!-- size is how big the glow is -->

                                 <glow targets="{target}" size="10" color="FFCC00"/>

                           </commands>

                    </mouseover>

                    <mouseout targets="submitBtn">

                           <commands>

                                 <glow targets="{target}" size="0"/>

                           </commands>

                    </mouseout>

             </cue>

 

             <!-- SUBMIT CLICK - Make the submit button glow on mouseover and non-glow on mouseout -->        

             <cue>

                   

                    <!-- SUBIT/DROP CallBack------------------------------------------------------------- ---------->

                    <!-- Check correct drop list for correct answers-->

                    <click targets="submitBtn">

                           <commands>

                             <!-- inZone = startPosition/passZone1 = both dz1 and dz2 -->

                             <!-- params : {target}=target -->

                             <keyCompare targets="dg1,dg2,dg3,dg4,dg5,dg6,dg7,dg8,dg9,dg10,dg11" name1="inZone" name2="passZone1">

                                 <fail>

                                        <!-- startPosition was set in "storageSet targets" statement -->

                                        <moveTo targets="{target}" storage="startPosition" duration="0.25"/>

                                        <keySet targets="{target}" name="inZone" value="feedback-not-used"/>

<!--DEBUG--> <jitter targets="{target}" size=".5"/>

<!--DEBUG--> <!--<replaceText targets="ME1" text="rem"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{value1}"/>-->

                                        <!-- remove the DG from the entries array -->

                                        <!-- remove DG from a DZ zone list and put it back at startPosition -->

                                        <!-- remove "target" from "entries" array / value1 is garbage -->

                                        <listRemove targets="{value1}" name="entries" value="{target}"/>

                                 </fail>

                                 <allPass>

                                        <!-- each click on "retry", feedback_retrybtn visibiliby is set to false ->

                                        <!-- turn off "drag" for all DGs -->

                                        <dragOff targets="dg1,dg2,dg3,dg4,dg5,dg6,dg7,dg8,dg9,dg10,dg11"/>

                                        <replaceText targets="feedback_text" text="Correct"/>

                                        <visible targets="layer_feedback" flag="true"/>

                                        <playSound sound="Success"/>

                                        <!-- END OF SLIDE -->

                                        <endOfSlide />

                                 </allPass>

                                 <allMixed>

                                        <replaceText targets="feedback_text" text="Incorrect"/>

                                        <visible targets="feedback_retrybtn,layer_feedback" flag="true"/>

                                        <playSound sound="Fail"/>

<!--DEBUG--><!--<replaceText targets="ME1" text="cMod"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{name}"/>-->

 

                                 </allMixed>

                                 <!-- Needed if all answers are wrong -->

                                 <allFail>

                                        <replaceText targets="feedback_text" text="Incorrect"/>

                                        <visible targets="feedback_retrybtn,layer_feedback" flag="true"/>

                                        <playSound sound="Fail" />

                                 </allFail>

 

                             </keyCompare>

                             <!--ALIGN - Lines up the columns in each DZ - without this it jumbles the DGs up into bunches-->

                             <listLoop targets="dz1,dz2" name="entries">

                                  <!--ERROR there is no dz3/dz4 <listLoop targets="dz1,dz2,dz3,dz4" name="entries"> -->

                                        <commands>

<!-- COUNT TEST =============================================-->

                                               <!-- LOOP occurs within the alignTo cmd, not the listLoop command !!!!! -->

                                               <!-- no count defaults to 1 (count=0) only one correct answered is displayed after submit -->

                                               <alignTo targets="{value}" to="{target}" type="TC" count="{index}" deltaX="0" deltaY="49" duration="0.25"/>

<!--DEBUG--><!--<replaceText targets="ME1" text="ALIGN"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{index}"/>-->

                                        </commands>

                             </listLoop>

                           </commands>

                    </click>

             </cue> <!-- was originally a BIG cue ****************************************************-->

 

             <!-- DRAG IDENTIFY DRAGGABLE - drag and drop set up-->

             <cue>

                    <drag targets="dg1,dg2,dg3,dg4,dg5,dg6,dg7,dg8,dg9,dg10,dg11"> <!-- dragable targets -->

                           <!-- ACTUAL DRAG ROUTINE STARTS AT BEGINI -->

                           <begin>

                                 <!--  params : {target}=target -->

                                 <keyTest targets="{target}" name="inZone" value="feedback-not-used">

                                        <fail>

                                               <!--  params : {target}=target, {name}=key name, {kValue}=key value, {tValue}=test value -->

                                               <keySet targets="{target}" name="{name}" value="{tValue}"/>

<!--DEBUG--><!--<replaceText targets="ME1" text="FAIL"/><replaceText targets="ME2" param="{kValue}"/><replaceText targets="ME3" param="{tValue}"/>-->

                                               <listRemove targets="{kValue}" name="entries" value="{target}"/>

                                               <listLoop targets="{kValue}" name="entries">

                                                     <commands>

                                                            <!-- alignes the "rect" where the DG text is enclosed in -->

<!-- COUNT TEST =============================================-->

                                                            <alignTo targets="{value}" to="{target}" type="TC" count="{index}" deltaX="0" deltaY="49" duration="0.25"/>

<!--DEBUG NOGO--><!--<replaceText targets="ME1" text="keyTest"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{index}"/>-->

 

                                                     </commands>

                                               </listLoop>

                                        </fail>

<!--DEBUG NO GO--> <!--<replaceText targets="ME1" text="listLoop"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{newvalue}"/>-->

                                 </keyTest>

                           </begin>

                           <dropTest>

                                 <tests>

                                        <!-- DROP tests for the mouse position in a drop zone -->

                                        <test zones="dz1,dz2" type="mouse">

                                               <hit>

<!--DEBUG--><replaceText targets="ME1" text="HIT"/>

<!--DEBUG--><countMod targets="mycounters" name="mytest" value="99"/>

<!--DEBUG--<countTest targets="mycounters" name="mytest" test="lte" value="1"><replaceText targets="ME1" text="LTE1"/></countTest>-->

<!--DEBUG--><!--<countSet targets="mycounters" name="mytest" value="555"/>-->

<!--DEBUG--<countTest targets="mycounters" name="mytest" test="gte" value="200"><replaceText targets="ME2" text="GTE200"/></countTest>-->

<!--DEBUG--<countTest targets="mycounters" name="mytest" test="lte" value="198"><replaceText targets="ME3" text="EQ198"/></countTest>-->

 

 

 

 

 

 

 

 

 

                                                     <!--  params : {target}=target , {hit}=zone -->

<!--DEBUG--><!--<replaceText targets="ME1" text="HIT"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{hit}"/>-->

                                                     <!-- DROP FULL LIST - puts the DG back in startPosition if list is full-->

                                                     <!-- target=DG / hit=DZ -->

                                                     <listFull targets="{hit}" name="entries">

                                                            <params><param value="{target}"/></params>

                                                            <full>

                                                                   <!--target = DZ / param0 = DG -->

                                                                   <playSound sound="Error"/>

<!--DEBUG--><!--<replaceText targets="ME1" text="Full"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{param0}"/>-->

                                                                   <moveTo targets="{param0}" storage="startPosition" duration="0.25"/>

                                                            </full>

                                                            <notFull>

<!--DEBUG--> <!-- <replaceText targets="ME1" text="nFull"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{param0}"/>-->

                                                                   <!--target = DZ / param0 = DG -->

<!--DEBUG--><!--<replaceText targets="ME2" text="HELLO"/>-->

<!--DEBUG--><countTest targets="mycounters" name="mytest" test="gte" value="200"><pass><replaceText targets="ME2" text="GTE200"/></pass></countTest>

                                                                   <listPush targets="{target}" name="entries" value="{param0}"/>

                                                                   <keySet targets="{param0}" name="inZone" value="{target}"/>

<!-- COUNT TEST =============================================-->

                                                                   <alignTo targets="{param0}" to="{target}" type="TC" count="{count}"

                                                                           deltaX="0" deltaY="49" duration="0.25"/>

                                                                          <!-- param0 = dg4 items / count=number of items in zone dz (0-n)-->

<!--DEBUG--> <!--<replaceText targets="ME1" text="{target}"/><replaceText targets="ME2" param="{param0}"/><replaceText targets="ME3" param="{count}"/>-->

                                                                   <playSound sound="Match"/>

                                                            </notFull>

                                                     </listFull>

                                               </hit>

                                               <miss> <!--  params : {target}=target -->

<!--DEBUG--> <!--<replaceText targets="ME1" text="MISS"/><replaceText targets="ME2" param="{target}"/><replaceText targets="ME3" param="{myvalue}"/>-->

                                                     <playSound sound="Error"/>

                                                     <moveTo targets="{target}" storage="startPosition" duration="0.25"/>

                                               </miss>

                                        </test>

                                 </tests>

                           </dropTest>

                    </drag> <!-- ---------------------------END DRAG------------------------------>

             </cue>

            

            

            

            

<!--DEBUG-->

<!-- COUNT TEST MYTEST START=============================================-->

<!--<cue>

             <countTest targets="counters" name="mytest" test="lte" value="1">

                    <pass>

<replaceText targets="ME1" text="lte1"/><replaceText targets="ME2" param="{targets}"/><replaceText targets="ME3" param="{name}"/>

                    </pass>

             </countTest>

             <countTest targets="counters" name="test" test="lte" value="2">

                    <pass>

<replaceText targets="ME1" text="lte2"/><replaceText targets="ME2" param="{name}"/><replaceText targets="ME3" param="{param3}"/>

                    </pass>

             </countTest>

             <countTest targets="counters" name="test" test="lte" value="3">

                    <pass>

<replaceText targets="ME1" text="lte3"/><replaceText targets="ME2" param="{name}"/><replaceText targets="ME3" param="{param3}"/>

                    </pass>

             </countTest>

<!-- COUNT TEST MYTEST END=============================================-->

 

      

<!--DEBUG--<countValue targets="counters" name="mytest">

<!--DEBUG--<params><param target="{target}"/><param mytest="{count}"/></params>

<!--DEBUG--<commands> <!-- {target}=target, {value}=count value -->

<!--DEBUG--<replaceText targets="ME1" text="keyTest"/><replaceText targets="ME2" param="{counters}"/><replaceText targets="ME3" param="{mytest}"/>

<!--DEBUG--</commands>

<!--DEBUG--</countValue>-->

<!--DEBUG--</cue>

<!--DEBUG-->

 

 

 

 

 

             <!-- FEEDBACK POPUP --------------------------------------------------------->

             <cue>

                    <!-- this container = popup window -->

                    <container name="layer_feedback">

                           <visible flag="false"/>

                           <contains>

                                 <drawRect name="feedback_cover" width="950" height="950"><fill color="000000" opacity="40"/></drawRect>

                                 <image name="feedback_popup" file="images/popUp_v1.png"><position x="190" y="200"/></image>

                                 <text name="feedback_text" text="Retry">

                                        <properties width="540" alignment="center"/>

                                        <font name="Arial" size="22" color="FFFFFF"/>

                                        <position x="200" y="260"/>

                                 </text>

                                 <!-- drawRect call to Rect.as / produces XML output to the following-->

                                 <!-- CueGlobals.AddToDisplayList(node, itemName, mc_Rect, "rect", mc_Sprite); -->

                                 <!--SetDefaultDisplayProperties.Exec(node, mc_Rect, cueParams); -->

 

                                 <drawRect name="feedback_retrybtn" width="120" height="40">

                                        <fill color="0074cc"/><position x="600" y="350"/><visible flag="false"/>

                                        <contains>

                                               <!-- Try Again = activation button -->

                                               <text text="Try Again">

                                                     <properties width="120" alignment="center"/>

                                                     <font name="Arial" size="19" color="FFFFFF"/>

                                                     <position x="0" y="5"/>

                                               </text>

                                        </contains>

                                 </drawRect>

                           </contains>

                    </container>

 

                    <mouseover targets="feedback_retrybtn">

                           <commands>

                                 <glow targets="{target}" size="10" color="FFCC00"/>

                           </commands>

                    </mouseover>

                    <mouseout targets="feedback_retrybtn">

                           <commands>

                                 <glow targets="{target}" size="0"/>

                           </commands>

                    </mouseout>

                    <click targets="feedback_retrybtn">

                           <commands>

                                 <visible targets="feedback_retrybtn,layer_feedback" flag="false"/>

                           </commands>

                    </click>

             </cue>

       </cueItems>

</slide>




Viewing all articles
Browse latest Browse all 80145

Trending Articles



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