<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CP Guru - Adobe Captivate E-learning Blog &#187; Flash</title>
	<atom:link href="http://www.cpguru.com/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpguru.com</link>
	<description>E-learning development in Adobe Captivate 5</description>
	<lastBuildDate>Mon, 26 Jul 2010 08:09:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3974</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tutorial: Lock the progress bar in the Adobe Captivate playbar</title>
		<link>http://www.cpguru.com/2010/02/07/tutorial-lock-the-progress-bar-in-the-adobe-captivate-playbar/</link>
		<comments>http://www.cpguru.com/2010/02/07/tutorial-lock-the-progress-bar-in-the-adobe-captivate-playbar/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 11:08:38 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.cpguru.com/?p=1122</guid>
		<description><![CDATA[
In some courses you don&#8217;t want the user to &#8220;scrub&#8221; back and forth by using the progress bar slider. Of course you can disable the progress bar alltogether but then you will loose the visual indication of how far the user has progress in the course.
By using a custom Flash file it is possible to [...]]]></description>
			<content:encoded><![CDATA[
<p>In some courses you don&#8217;t want the user to &#8220;scrub&#8221; back and forth by using the progress bar slider. Of course you can disable the progress bar alltogether but then you will loose the visual indication of how far the user has progress in the course.</p>
<p>By using a custom Flash file it is possible to manipulate this Adobe Captivate progress bar slider so that it will show the progress but the user can&#8217;t interact with it.</p>
<p>The progress bar slider uses an event listener to check if the user interacts with the slider. To remove the possiblity of the user to interact with the slider we can simply delete these event listeners.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="453" height="364">
      <param name="movie" value="http://www.cpguru.com/wp-content/disableProgressBarSlider.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://www.cpguru.com/wp-content/disableProgressBarSlider.swf" width="453" height="364">
      <!--<![endif]-->
        <p>The Flash plugin is required to view this object.</p>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p>Here is the code (AS2):</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #0066CC;">delete</span> <span style="color: #0066CC;">_root</span>.<span style="color: #006600;">cpPbcBar_mc</span>.<span style="color: #006600;">pbcBar_mc</span>.<span style="color: #006600;">pbcSlider_mc</span>.<span style="color: #0066CC;">onMouseDown</span>;<br />
<span style="color: #0066CC;">delete</span> <span style="color: #0066CC;">_root</span>._level0.<span style="color: #006600;">cpPbcBar_mc</span>.<span style="color: #006600;">pbcBar_mc</span>.<span style="color: #006600;">pbcSlider_mc</span>.<span style="color: #0066CC;">onMouseDown</span>;</div></td></tr></tbody></table></div>
<p>This is all the code you need in order to &#8220;lock&#8221; the Adobe Captivate Progress bar slider.</p>
<p>A word of caution! Once you have deleted these event listeners there is no way to reactive them again. Therefore you can&#8217;t disable the interaction on some slides and reactivate it on others.</p>
<p>I included the Flash source file and a published SWF in case you don&#8217;t have access to Adobe Flash.</p>
<p>You can download the files here: <a class="downloadlink" href="http://www.cpguru.com/wp-content/plugins/download-monitor/download.php?id=13" title=" downloaded 230 times" >Download files to lock the progress bar slider (230)</a></p>
<p>Have fun.</p>
<p>/Michael</p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2010%252F02%252F07%252Ftutorial-lock-the-progress-bar-in-the-adobe-captivate-playbar%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Tutorial%3A%20Lock%20the%20progress%20bar%20in%20the%20Adobe%20Captivate%20playbar%22%20%7D);"></div>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.cpguru.com%2F2010%2F02%2F07%2Ftutorial-lock-the-progress-bar-in-the-adobe-captivate-playbar%2F&amp;linkname=Tutorial%3A%20Lock%20the%20progress%20bar%20in%20the%20Adobe%20Captivate%20playbar"><img src="http://www.cpguru.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2010/02/07/tutorial-lock-the-progress-bar-in-the-adobe-captivate-playbar/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Tutorial: AS3 code for the custom right-click menu</title>
		<link>http://www.cpguru.com/2010/01/13/tutorial-as3-code-for-the-custom-right-click-menu/</link>
		<comments>http://www.cpguru.com/2010/01/13/tutorial-as3-code-for-the-custom-right-click-menu/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 08:19:55 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.cpguru.com/?p=1078</guid>
		<description><![CDATA[
The tutorial om how to create your own custom right-click menu for Adobe Captivate showed you how to do it with Actionscript 2.0.
The same can be achieved with Actionscript 3.0 so I thought I would post the code here. The AS3 code is very similar to the AS2 code so I will not explain it [...]]]></description>
			<content:encoded><![CDATA[
<p>The <a title="Tutorial  on how to create your own custom right-click menu for Adobe Captivate" href="http://www.cpguru.com/2010/01/12/tutorial-custom-right-click-menu-for-adobe-captivate/" target="_blank">tutorial om how to create your own custom right-click menu for Adobe Captivate </a>showed you how to do it with Actionscript 2.0.</p>
<p>The same can be achieved with Actionscript 3.0 so I thought I would post the code here. The AS3 code is very similar to the AS2 code so I will not explain it in detail. Take a look at the AS2 tutorial instead for a full explanation.</p>
<h2>Full AS3 code for the custom right-click menu:</h2>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">// Create the menu variable</span><br />
<span style="color: #000000; font-weight: bold;">var</span> myCustomMenu:<span style="color: #0066CC;">ContextMenu</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenu</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// hide the standard menu items</span><br />
myCustomMenu.<span style="color: #0066CC;">hideBuiltInItems</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// create your custom menu items.</span><br />
<span style="color: #000000; font-weight: bold;">var</span> menuItem1:<span style="color: #0066CC;">ContextMenuItem</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenuItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;.: Developed by www.cpguru.com :.&quot;</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #000000; font-weight: bold;">var</span> menuItem2:<span style="color: #0066CC;">ContextMenuItem</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenuItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;-&gt; Click here to visit our webpage&quot;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// set up a listener for menuItem2</span><br />
menuItem2.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>ContextMenuEvent.<span style="color: #006600;">MENU_ITEM_SELECT</span>, openWebsite<span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// push the custom menu items to the menu</span><br />
myCustomMenu.<span style="color: #0066CC;">customItems</span>.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>menuItem1, menuItem2<span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">contextMenu</span> = myCustomMenu;<br />
<br />
<span style="color: #808080; font-style: italic;">// the function to open up your website</span><br />
<span style="color: #000000; font-weight: bold;">function</span> openWebsite<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:ContextMenuEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">url</span>:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;http://www.cpguru.com&quot;</span>;<br />
<span style="color: #000000; font-weight: bold;">var</span> request:URLRequest = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">url</span><span style="color: #66cc66;">&#41;</span>;<br />
navigateToURL<span style="color: #66cc66;">&#40;</span>request, <span style="color: #ff0000;">'_blank'</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2010%252F01%252F13%252Ftutorial-as3-code-for-the-custom-right-click-menu%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Tutorial%3A%20AS3%20code%20for%20the%20custom%20right-click%20menu%22%20%7D);"></div>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.cpguru.com%2F2010%2F01%2F13%2Ftutorial-as3-code-for-the-custom-right-click-menu%2F&amp;linkname=Tutorial%3A%20AS3%20code%20for%20the%20custom%20right-click%20menu"><img src="http://www.cpguru.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2010/01/13/tutorial-as3-code-for-the-custom-right-click-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Custom right-click menu for Adobe Captivate</title>
		<link>http://www.cpguru.com/2010/01/12/tutorial-custom-right-click-menu-for-adobe-captivate/</link>
		<comments>http://www.cpguru.com/2010/01/12/tutorial-custom-right-click-menu-for-adobe-captivate/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 07:48:10 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Captivate 3]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.cpguru.com/?p=1032</guid>
		<description><![CDATA[
Wouldn&#8217;t it be nice to add your own custom right click menu to your Adobe Captivate projects?  Actually that&#8217;s a pretty simple task using a little Flash file to &#8220;inject&#8221; a new menu and substitute the standard Captivate / Flash menu with that. You could add information about who developed the project, link to your [...]]]></description>
			<content:encoded><![CDATA[
<p>Wouldn&#8217;t it be nice to add your own custom right click menu to your Adobe Captivate projects?  Actually that&#8217;s a pretty simple task using a little Flash file to &#8220;inject&#8221; a new menu and substitute the standard Captivate / Flash menu with that. You could add information about who developed the project, link to your website, contact details etc.</p>
<p>Here is a little tutorial on how to create such a custom right-click menu in Flash (AS2) and add it into Adobe Captivate.</p>
<h2>Demonstration:</h2>
<p><strong>The movie below has the regular / standard Adobe Flash and Adobe Captivate right-click menu:</strong></p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_1" width="400/335" height="300">
      <param name="movie" value="http://www.cpguru.com/wp-content/captivateRegularRightClickAS2.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://www.cpguru.com/wp-content/captivateRegularRightClickAS2.swf" width="400/335" height="300">
      <!--<![endif]-->
        <p>The Flash plugin is required to view this object.</p>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p><a href="http://www.cpguru.com/wp-content/captivateRegularRightClickAS2.swf"></a></p>
<p><strong>The movie below has a custom right-click menu:</strong></p>
<p>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_2" width="400/335" height="300">
      <param name="movie" value="http://www.cpguru.com/wp-content/captivateCustomRightClickAS2.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://www.cpguru.com/wp-content/captivateCustomRightClickAS2.swf" width="400/335" height="300">
      <!--<![endif]-->
        <p>The Flash plugin is required to view this object.</p>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
<br />

</p>
<p></p>
<h2>The Flash code:</h2>
<p>The full code is available below,  but I will go through all the code line-by-line and explain them.</p>
<p>This line will create a variable to hold our custom menu.</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">var</span> customMenu = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenu</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div></td></tr></tbody></table></div>
<p>These two lines is what we will show in the custom menu. You simply insert your own text between the &#8221; &#8221; brackets and that is what will be shown in the menu. Now the important thing here is that you also need an &#8220;action&#8221; to occur when the user clicks that menu item. This action is usually a function and it can simply be an empty function if you don&#8217;t want anything to happen when the user clicks. The function names above are &#8220;emptyFunction&#8221; and &#8220;openWebsite&#8221;.</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">customMenu.<span style="color: #0066CC;">customItems</span>.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenuItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;.: Developed by www.cpguru.com :.&quot;</span>, emptyFunction<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br />
customMenu.<span style="color: #0066CC;">customItems</span>.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenuItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot; -&gt; Click here to visit our website!&quot;</span>, openWebsite<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div></td></tr></tbody></table></div>
<p>This will hide the standard right-click menu items.</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">customMenu.<span style="color: #0066CC;">hideBuiltInItems</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div></td></tr></tbody></table></div>
<p>This will put our custom menu items into the menu.</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">_root</span>.<span style="color: #0066CC;">menu</span> = customMenu;</div></td></tr></tbody></table></div>
<p>Here is our function called openWebsite. This will execute if the user clicks the associated menu item.</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> openWebsite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
 <span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;http://www.cpguru.com&quot;</span>, <span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<p>Here we have our emptyFunction, which will be executed when the user clicks the associated menu item. Since the function is empty no action will be taken.</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> emptyFunction<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span>;</div></td></tr></tbody></table></div>
<p></p>
<p>Below here is the full code.</p>
<h2>Full code for the custom Adobe Captivate right-click menu:</h2>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">// Custom right click menu that can be used with Adobe Captivate</span><br />
<br />
<span style="color: #808080; font-style: italic;">// setup the new menu</span><br />
<span style="color: #000000; font-weight: bold;">var</span> customMenu = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenu</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// create the menuitems</span><br />
<br />
customMenu.<span style="color: #0066CC;">customItems</span>.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenuItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;.: Developed by www.cpguru.com :.&quot;</span>, emptyFunction<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br />
customMenu.<span style="color: #0066CC;">customItems</span>.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">ContextMenuItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot; -&gt; Click here to visit our website!&quot;</span>, openWebsite<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// This will hide the regular menu items and substitute the default right click menu with our own menu</span><br />
customMenu.<span style="color: #0066CC;">hideBuiltInItems</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// Subsitute menu with our custom menu</span><br />
<span style="color: #0066CC;">_root</span>.<span style="color: #0066CC;">menu</span> = customMenu;<br />
<span style="color: #808080; font-style: italic;">// function to open the URL on click</span><br />
<span style="color: #000000; font-weight: bold;">function</span> openWebsite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
 <span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;http://www.cpguru.com&quot;</span>, <span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #66cc66;">&#125;</span><br />
<br />
<span style="color: #808080; font-style: italic;">// empty function for the first line of our menu</span><br />
<br />
<span style="color: #000000; font-weight: bold;">function</span> emptyFunction<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span>;</div></td></tr></tbody></table></div>
<h2>Steps to complete in Adobe Flash and Adobe Captivate:</h2>
<p>So what you need to do is to create a new Flash file. Set the size to 100px x 100px as we don&#8217;t want to display anything - just execute some code.</p>
<p>Once you have your new Flash file open then click F9 to open up the actions panel and paste in your code. Now you just need to save your Flash file and publish it (CTRL+Enter).</p>
<p>Now you need to insert this Flash file into your Captivate project. Insert it on your first slide and just let it display for the standard 3 seconds. That&#8217;s actually all you need to do. Now when you view your published movie and right-click you will see your own custom menu.</p>
<h3>A couple of things to keep in mind:</h3>
<p>- Once you have injected your custom menu into your Adobe Captivate project you cannot get back the default Flash right-click menu without removing the Flash file and republishing your project.</p>
<p>- It shouldn&#8217;t be used in projects where you rely on catching right-clicks in Captivate simulations etc.</p>
<p>Hope you find this useful.</p>
<p>/Michael</p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2010%252F01%252F12%252Ftutorial-custom-right-click-menu-for-adobe-captivate%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Tutorial%3A%20Custom%20right-click%20menu%20for%20Adobe%20Captivate%22%20%7D);"></div>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.cpguru.com%2F2010%2F01%2F12%2Ftutorial-custom-right-click-menu-for-adobe-captivate%2F&amp;linkname=Tutorial%3A%20Custom%20right-click%20menu%20for%20Adobe%20Captivate"><img src="http://www.cpguru.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2010/01/12/tutorial-custom-right-click-menu-for-adobe-captivate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New stock components</title>
		<link>http://www.cpguru.com/2009/04/07/new-stock-components/</link>
		<comments>http://www.cpguru.com/2009/04/07/new-stock-components/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 10:04:52 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Captivate 3]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Stock Flash Component]]></category>

		<guid isPermaLink="false">http://www.captivate4.com/?p=390</guid>
		<description><![CDATA[I originally started off the blog by posting information and links to some stock flash components that I have used in some of my projects.

It’s been a while since I’ve done that and I found some nice components since then so I thought I would make a new post with some links to stuff you can use in Captivate.

All the files are from Flashden.net, which is – in my opinion – the best place to buy stock flash components. Remember that when you buy these components you also get the Flash soucefile (fla) so you can modify and customize the components to fit your projects.
]]></description>
			<content:encoded><![CDATA[
<p class="MsoNormal" style="margin: 0in 0in 10pt;">I originally started off the blog by posting information and links to some stock flash components that I have used in some of my projects.</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;">It’s been a while since I’ve done that and I found some nice components since then so I thought I would make a new post with some links to stuff you can use in Captivate.</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;">All the files are from Flashden.net, which is – in my opinion – the best place to buy stock flash components. Remember that when you buy these components you also get the Flash soucefile (fla) so you can modify and customize the components to fit your projects.</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-ansi-language: EN-US;" lang="EN-US"> </span></p>
<h2 class="MsoNormal" style="margin: 0in 0in 10pt;">Text animation</h2>
<p class="MsoNormal" style="margin: 0in 0in 10pt; text-align: center;"> <a href="http://www.flashden.net/item/placing-words/32348?ref=heppa" target="_blank"><img class="size-full wp-image-393  aligncenter" title="Text Animation" src="http://www.cpguru.com/wp-content/textanimation.jpg" alt="Text Animation" width="484" height="246" /></a></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"> </p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;">If you – like me – don’t like the original text animations in Captivate then here is an alternative. It’s pretty basic but a rather nice effect. Everything can be edited in an XML file so you don’t need to have any Flash skills to use it.</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-ansi-language: EN-US;" lang="EN-US">I used it as headlines for different chapters in an E-learning module. It’s just US$ 5 and you can see a live preview or buy it here. <a title="Click here to view or download the text animation component" href="http://www.flashden.net/item/placing-words/32348?ref=heppa" target="_blank">http://www.flashden.net/item/placing-words/32348</a></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-ansi-language: EN;" lang="EN"> </span></p>
<h2 class="MsoNormal" style="margin: 0in 0in 10pt;">World map </h2>
<p class="MsoNormal" style="margin: 0in 0in 10pt; text-align: center;"> <a href="http://www.flashden.net/item/xml-worldmap-locator-/35152?ref=heppa" target="_blank"><img class="size-full wp-image-392  aligncenter" title="Worldmap component" src="http://www.cpguru.com/wp-content/worldmap.jpg" alt="Worldmap component" width="484" height="246" /></a></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;">An interactive worldmap made in Flash. You can add hotspots with information, links etc. and all is done in an XML file. I used it in a project as a navigation menu. I had to branch the users of the E-learning module based on their location so I used this component (I did change the map to something more subtle) and modified the code so that a click on a hotspot would jump to the relevant Captivate slide.</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-ansi-language: EN;" lang="EN">It’s just US$8 to buy the file. You can see a live preview and buy the file here: <a title="View or download the World map Component here" href="http://www.flashden.net/item/xml-worldmap-locator-/35152?ref=heppa" target="_blank">http://www.flashden.net/item/xml-worldmap-locator-/35152?ref=heppa</a></span></p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2009%252F04%252F07%252Fnew-stock-components%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22New%20stock%20components%22%20%7D);"></div>

]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2009/04/07/new-stock-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fantastic Dynamic XML based quiz</title>
		<link>http://www.cpguru.com/2009/04/07/fantastic-dynamic-xml-based-quiz/</link>
		<comments>http://www.cpguru.com/2009/04/07/fantastic-dynamic-xml-based-quiz/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 09:57:56 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Captivate 3]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Stock Flash Component]]></category>

		<guid isPermaLink="false">http://www.captivate4.com/?p=386</guid>
		<description><![CDATA[This is one of my favourite files right now. It’s a quiz made in Flash and I really think it’s executed to perfection. I used this component in quite a few different projects now.

It’s easy to customize and easy to setup and get started with. You can modify most of the settings and questions in an external XML file.  The file is just US$12 and that is really a bargain.
]]></description>
			<content:encoded><![CDATA[
<p class="MsoNormal" style="margin: 0in 0in 10pt; text-align: center;"> <a href="http://www.flashden.net/item/dynamic-xml-quiz-with-image-support/33009?ref=heppa" target="_blank"><img class="size-full wp-image-387  aligncenter" title="Dynamic XML based Quiz" src="http://www.cpguru.com/wp-content/dynamicxmlquiz.jpg" alt="Dynamic XML based Quiz" width="484" height="246" /></a></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"> </p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;">This is one of my favourite files right now. It’s a quiz made in Flash and I really think it’s executed to perfection. I used this component in quite a few different projects now.</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;">It’s easy to customize and easy to setup and get started with. You can modify most of the settings and questions in an external XML file.  The file is just US$12 and that is really a bargain.</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-ansi-language: EN-US;" lang="EN-US">Watch the live preview and buy the file here:  <a title="Click here to view or download the Dynamic XML quiz" href="http://www.flashden.net/item/dynamic-xml-quiz-with-image-support/33009?ref=heppa" target="_blank">http://www.flashden.net/item/dynamic-xml-quiz-with-image-support/33009</a></span></p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2009%252F04%252F07%252Ffantastic-dynamic-xml-based-quiz%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Fantastic%20Dynamic%20XML%20based%20quiz%22%20%7D);"></div>

]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2009/04/07/fantastic-dynamic-xml-based-quiz/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Memory Flip Game</title>
		<link>http://www.cpguru.com/2009/04/07/memory-flip-game/</link>
		<comments>http://www.cpguru.com/2009/04/07/memory-flip-game/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 09:53:40 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Captivate 3]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Stock Flash Component]]></category>

		<guid isPermaLink="false">http://www.captivate4.com/?p=382</guid>
		<description><![CDATA[I remember this type of game from when I was a kid. It’s a simple memory game where you need to match two cards together.

It comes in two different versions. One version matches on identical cards and the other version you can match different images together. I used the latter version as a small break in a course and the user had to match product quotes with product images. It won’t report scores to Captivate or an LMS but you could implement that if you have Flash skills.
]]></description>
			<content:encoded><![CDATA[
<p> <a href="http://flashden.net/item/classic-memory-mismatched-images/36144?ref=heppa" target="_blank"><img class="aligncenter size-full wp-image-383" title="Memory Flip Game" src="http://www.cpguru.com/wp-content/flipgame.jpg" alt="Memory Flip Game" width="484" height="246" /></a><br />
 </p>
<p>I remember this type of game from when I was a kid. It’s a simple memory game where you need to match two cards together.</p>
<p>It comes in two different versions. One version matches on identical cards and the other version you can match different images together. I used the latter version as a small break in a course and the user had to match product quotes with product images. It won’t report scores to Captivate or an LMS but you could implement that if you have Flash skills.</p>
<p>Everything is setup and modifed through an external XML file so it’s easy to get started with.</p>
<p>You can view a preview of the files and download them below:<br />
Memory Flip Game – identical images US$ 12 – view here: <a title="View and download the Memory Flip game here" href="http://flashden.net/item/classic-memory-with-xml/26197?ref=heppa" target="_blank">http://flashden.net/item/classic-memory-with-xml/26197</a></p>
<p>Memory Flip Game – mismatched images US$8 – view here: <a title="View and download the memory game here." href="http://http://flashden.net/item/classic-memory-mismatched-images/36144?ref=heppa" target="_blank">http://http://flashden.net/item/classic-memory-mismatched-images/36144</a></p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2009%252F04%252F07%252Fmemory-flip-game%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Memory%20Flip%20Game%22%20%7D);"></div>

]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2009/04/07/memory-flip-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML based quiz</title>
		<link>http://www.cpguru.com/2009/04/07/xml-based-quiz/</link>
		<comments>http://www.cpguru.com/2009/04/07/xml-based-quiz/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 09:46:10 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Captivate 3]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Stock Flash Component]]></category>

		<guid isPermaLink="false">http://www.captivate4.com/?p=373</guid>
		<description><![CDATA[A simple straightforward multiple choice and true/false quiz, which can be used in Captivate. If you want to give your quizzes a different look than the Captivate one you can use this. Please note that in this form it will not report scores to Captivate or an LMS but if you know Flash you can write that code yourself. ]]></description>
			<content:encoded><![CDATA[
<p class="MsoNormal" style="margin: 0in 0in 10pt;"> </p>
<p><a href="http://www.flashden.net/item/xml-quiz-multiple-choice-tf/17579?ref=heppa" target="_blank"><img class="size-full wp-image-376" title="xmlquizmultiplechoice" src="http://www.cpguru.com/wp-content/xmlquizmultiplechoice.jpg" alt="Multiple choice Quiz" width="484" height="247" /></a></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"> </p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-ansi-language: EN;" lang="EN"><span style="font-size: small;">A simple straightforward multiple choice and true/false quiz, which can be used in Captivate. If you want to give your quizzes a different look than the Captivate one you can use this. Please note that in this form it will not report scores to Captivate or an LMS but if you know Flash you can write that code yourself. I used this quiz on a couple of occasions to provide a break in a chapter. I wasn’t interested in tracking the score but only to make the user think about the things they gone through so far. </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="mso-ansi-language: EN;" lang="EN">It’s easy to edit and implement the quiz and it’s just US$ 6. You can preview and buy the quiz here: <a title="Buy and download the XML based quiz here" href="http://www.flashden.net/item/xml-quiz-multiple-choice-tf/17579?ref=heppa" target="_blank">http://www.flashden.net/item/xml-quiz-multiple-choice-tf/17579</a></span></p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2009%252F04%252F07%252Fxml-based-quiz%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22XML%20based%20quiz%20%22%20%7D);"></div>

]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2009/04/07/xml-based-quiz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>_root problems with imported swf&#8217;s in Captivate projects</title>
		<link>http://www.cpguru.com/2009/04/06/_root-problems-with-imported-swfs-in-captivate-projects/</link>
		<comments>http://www.cpguru.com/2009/04/06/_root-problems-with-imported-swfs-in-captivate-projects/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 08:59:33 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Captivate 3]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.captivate4.com/?p=368</guid>
		<description><![CDATA[If you import an flash swf into Captivate you sometimes get a warning that "this script contains _root and may not function properly". In most cases your imported swf will still work like intended, but some swf's might not.

Until recently the only way to fix it was to change the code in your Flash animation so it avoids using _root. I just stumpled upon an fix from Adobe, which is aimed at imported Raptivity content. However, it can be used for other swf's that reference _root and doesn't work in Captivate.
]]></description>
			<content:encoded><![CDATA[
<p>If you import an flash swf into Captivate you sometimes get a warning that &#8220;this script contains _root and may not function properly&#8221;. In most cases your imported swf will still work like intended, but some swf&#8217;s might not.</p>
<p>Until recently the only way to fix it was to change the code in your Flash animation so it avoids using _root. I just stumpled upon an fix from Adobe, which is aimed at imported Raptivity content. However, it can be used for other swf&#8217;s that reference _root and doesn&#8217;t work in Captivate.</p>
<p>Information on how to fix this problem can be found here: <a title="Here you can see how to fix _root with Captivate and imported swf's" href="http://blogs.adobe.com/preran/2009/02/_root_issue_in_adobe_captivate.html" target="_blank">http://blogs.adobe.com/preran/2009/02/_root_issue_in_adobe_captivate.html</a></p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2009%252F04%252F06%252F_root-problems-with-imported-swfs-in-captivate-projects%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22_root%20problems%20with%20imported%20swf%27s%20in%20Captivate%20projects%22%20%7D);"></div>

]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2009/04/06/_root-problems-with-imported-swfs-in-captivate-projects/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Simple progress indicator for Captivate 3 projects</title>
		<link>http://www.cpguru.com/2008/11/26/simple-progress-indicator-for-captivate-3-projects/</link>
		<comments>http://www.cpguru.com/2008/11/26/simple-progress-indicator-for-captivate-3-projects/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 19:02:42 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Captivate]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Captivate 3]]></category>
		<category><![CDATA[Captivate 4]]></category>
		<category><![CDATA[Widget]]></category>

		<guid isPermaLink="false">http://www.captivate4.com/?p=135</guid>
		<description><![CDATA[
Adobe Captivate uses different variables to keep track of things when it runs. These variables can be read from Adobe Flash and used for many different purposes.
In this post I&#8217;ll show you how to grab two variables from Adobe Captivate and then make a simple progress indicator you can use in your courses. The progress [...]]]></description>
			<content:encoded><![CDATA[
<p>Adobe Captivate uses different variables to keep track of things when it runs. These variables can be read from Adobe Flash and used for many different purposes.</p>
<p>In this post I&#8217;ll show you how to grab two variables from Adobe Captivate and then make a simple progress indicator you can use in your courses. The progress indicator it self is made in Adobe Flash and it&#8217;s a very simple process. You can download all sourcefiles from this post.</p>
<p>You can see how the result look like here: <a href="http://www.cpguru.com/testFiles/captivateProgress/captivateProgress.htm" target="_blank">http://www.cpguru.com/testFiles/captivateProgress/captivateProgress.htm</a></p>
<p><strong>The variables:</strong></p>
<p>Lets start by looking at the two variables we need to read from Adobe Captivate.</p>
<p><em>rdinfoCurrentSlide</em> &#8211; This variable contain the current slide/page of the Captivate project. Adobe Captivate counts the slides from 0 so basically 0 = page 1, 1 = page 2 etc.</p>
<p><em>rdinfoSlideCount</em> &#8211; This variable contain the total amount of slides/pages in your Captivate project.</p>
<p><strong>The Flash component:</strong></p>
<p>So now that we know which variables we need it&#8217;s relatively simply to get the data from them.  I assume that you have basic knowledge of Adobe Flash and know how to set up a dynamic text field on the stage.</p>
<p>Open flash and create two dynamic text fields. Give them the instance names of curSlide_txt and totSlide_txt</p>
<p>Copy and paste the Actionscript below into Flash and save/publish your Flash file. </p>
<blockquote><p>var currSlide;<br />
this.stop();</p>
<p>onEnterFrame = function () {</p>
<p>currSlide = _root.rdinfoCurrentSlide +1;</p>
<p>this.curSlide_txt.text = currSlide;<br />
this.totSlide_txt.text = _root.rdinfoSlideCount;</p>
<p>}</p></blockquote>
<p>Now open up a Adobe Captivate project and import the Flash file you just made as an animation. Set it to start 0.5 seconds into the page and select no transition. I added the flash animation to my first slide in Captivate and selected &#8220;Display for rest of project&#8221;.</p>
<p>That&#8217;s all there is to it. If you publish your Captivate project now you can see the current slide and total slide.</p>
<p>Now all you need to do is make some nice graphics in Photoshop/Flash and make your progress indicator match your Captivate project.</p>
<p><strong>Download sourcefiles (Captivate project &amp; FLA file below)</strong></p>
<p><span style="font-family: Courier New;"><a class="downloadlink dlimg" href="http://www.cpguru.com/wp-content/plugins/download-monitor/download.php?id=1" title="Version 1 downloaded 694 times" ><img src="http://www.cpguru.com/wp-content/plugins/download-monitor/img/download.gif" alt="Download Sourcefiles for Captivate Progress Indicator Version 1" /></a></span></p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2008%252F11%252F26%252Fsimple-progress-indicator-for-captivate-3-projects%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Simple%20progress%20indicator%20for%20Captivate%203%20projects%22%20%7D);"></div>

<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.cpguru.com%2F2008%2F11%2F26%2Fsimple-progress-indicator-for-captivate-3-projects%2F&amp;linkname=Simple%20progress%20indicator%20for%20Captivate%203%20projects"><img src="http://www.cpguru.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2008/11/26/simple-progress-indicator-for-captivate-3-projects/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>XML driven Page Flip book &#8211; US$ 30</title>
		<link>http://www.cpguru.com/2008/11/23/xml-driven-page-flip-book-us-30/</link>
		<comments>http://www.cpguru.com/2008/11/23/xml-driven-page-flip-book-us-30/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 16:44:15 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash & Actionscript]]></category>
		<category><![CDATA[Stock Flash Component]]></category>

		<guid isPermaLink="false">http://www.captivate4.com/?p=38</guid>
		<description><![CDATA[This is one of my favourite components at the moment. In a lot of courses you need to have external PDF files with additional information. I was getting bored with the plain old non-interactive boring way of displaying PDF's and found this component. It's really a great way to highten the experience for the user. Furthermore this component allows the user to download your PDF file as well, which I haven't seen before. ]]></description>
			<content:encoded><![CDATA[
<div id="attachment_39" class="wp-caption aligncenter" style="width: 510px"><a rel="attachment wp-att-39" href="http://www.cpguru.com/2008/11/23/xml-driven-page-flip-book-us-30/folderflipbook/"><img class="size-full wp-image-39" title="folderflipbook" src="http://www.cpguru.com/wp-content/folderflipbook.png" alt="Image of the Page Flip book" width="500" height="265" /></a><p class="wp-caption-text">Image of the Page Flip book</p></div>
<p><span style="mso-ansi-language: EN;" lang="EN"><span style="font-size: small;"><span style="font-family: Arial;">This is one of my favourite components at the moment. In a lot of courses you need to have external PDF files with additional information. I was getting bored with the plain old non-interactive boring way of displaying PDF&#8217;s and found this component. It&#8217;s really a great way to highten the experience for the user. Furthermore this component allows the user to download your PDF file as well, which I haven&#8217;t seen before. </span></span></span></p>
<p><span style="mso-ansi-language: EN;" lang="EN"><span style="font-size: small;"><span style="font-family: Arial;">The price of US$ 30 is ridiculously low.</span></span></span></p>
<p><span style="mso-ansi-language: EN;" lang="EN"><span style="font-size: small; font-family: Arial;"><strong>Here is the feature list from the author:</strong></span></span></p>
<p><span style="mso-ansi-language: EN;" lang="EN"><em>Features:<br />
• XML driven<br />
• OOP coded<br />
• Uses CSS to format text fields<br />
• Smoothing of pages forced<br />
• Pages get an internal shading<br />
• Pages get scaled on load, which enables you to make crisp zoomed images<br />
• Only a few items in the library to change with a blank stage<br />
• Auto thumber<br />
• Print options<br />
• Internal linking<br />
• External linking<br />
• PDF download button<br />
• No annoying tooltips, still with user support<br />
• Liquid layout<br />
• Book becomes visible when 8 pages have loaded<br />
• No flipping beyond the last loaded page<br />
• Flash8 support </em></span></p>
<p><span style="mso-ansi-language: EN;" lang="EN"><em>New:<br />
• Contact form<br />
• Full screen background image<br />
• Reverse read direction<br />
• Print bug fixed<br />
• Define which buttons you need in the top bar<br />
• Even more layout options</em> </span></p>
<p><span style="mso-ansi-language: EN;" lang="EN"><a title="Foldr Page-Flip book link" href="http://www.flashden.net/item/foldr-xml-driven-flipbook/19855?ref=heppa " target="_blank"><strong>Click here to see the Foldr Page-Flip in action.</strong></a><br />
</span></p>
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.cpguru.com%252F2008%252F11%252F23%252Fxml-driven-page-flip-book-us-30%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22XML%20driven%20Page%20Flip%20book%20-%20US%24%2030%22%20%7D);"></div>

]]></content:encoded>
			<wfw:commentRss>http://www.cpguru.com/2008/11/23/xml-driven-page-flip-book-us-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
