<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Yet Another Note on Controlling Captivate &#8211; via the Generated Skin Swf</title>
	<atom:link href="http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/feed/" rel="self" type="application/rss+xml" />
	<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/</link>
	<description>Quality web solutions.</description>
	<lastBuildDate>Tue, 31 Aug 2010 15:36:46 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Eric W. Holzapfel</title>
		<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/comment-page-1/#comment-788</link>
		<dc:creator>Eric W. Holzapfel</dc:creator>
		<pubDate>Mon, 01 Dec 2008 19:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://elearninglive.com/wordpress/?p=22#comment-788</guid>
		<description>Help,
Hello there.  I am attempting to access a Captivate 3 swf via a Flash wrapper.
I have tried creating this in the Flash 8 environment and the Flash CS3 file format, but using ActionScript 2.0 (in CS3 pro).  I am using a Loader component for the Captivate swf.  I know I must be missing something, but so far I am unable to access any of the Captivate variables, like rdinfoCurrentSlide, rdinfoFrameCount, etc.  Here is the code  am attempting to run.   The Captivate swf is published to Flash Player 8.
I am using a skin, but I have tried using a non-skin swf, with no results.
The code that is commented out does not work as well.

Code:
/* add to stage text field to show lesson number 
	- capture lesson number from Captivate Tutorial
*/

var strLesson:String;
var myRoot_mc:MovieClip = this;

//load the cp swf into the loader component
myRoot_mc.createClassObject(mx.controls.Loader, &quot;myLoader_ldr&quot;,this.getNextHighestDepth());
myRoot_mc.myLoader_ldr.scaleContent = false;
myRoot_mc.myLoader_ldr._xscale = 80;
myRoot_mc.myLoader_ldr._yscale = 80;

myRoot_mc.myLoader_ldr.contentPath = &quot;LessonOne_skin.swf&quot;;//&quot;EditingDocumentsFinal.swf&quot;;

//if(_root.container.myLoader_ldr.content.cpSkinLoader_mc.rdinfoCurrentSlide == 0)
//{
//	strLesson = &quot;Lesson 1&quot;;
//}

//if(_root.container.myLoader_ldr.content.cpSkinLoader_mc.rdinfoCurrentSlide == 5)
//{
//	strLesson = &quot;Lesson 2&quot;;
//}
//	}

strLesson = &quot;Tutorial Introduction&quot;;
//strLesson = myRoot.container.myLoader_ldr.content.cpSkinLoader_mc.rdinfoCurrentSlide + &quot; Number of slides: &quot; + 
//					myRoot.container.myLoader_ldr.content.cpSkinLoader_mc.rdinfoFrameCount;
myRoot_mc.txtSlide.text = strLesson;
myRoot_mc.sample_text.text = &quot;Slide Count&quot;;

btn_pause.onRelease = function(){	
	sample_text.text = myRoot_mc.myLoader_ldr.cpSkinLoader_mc.rdinfoFrameCount;
	 myRoot_mc.myLoader_ldr.cpSkinLoader_mc.rdcmndPause = 1;
	
}

// dynamic text component on stage
txtSlide.text = strLesson;</description>
		<content:encoded><![CDATA[<p>Help,<br />
Hello there.  I am attempting to access a Captivate 3 swf via a Flash wrapper.<br />
I have tried creating this in the Flash 8 environment and the Flash CS3 file format, but using ActionScript 2.0 (in CS3 pro).  I am using a Loader component for the Captivate swf.  I know I must be missing something, but so far I am unable to access any of the Captivate variables, like rdinfoCurrentSlide, rdinfoFrameCount, etc.  Here is the code  am attempting to run.   The Captivate swf is published to Flash Player 8.<br />
I am using a skin, but I have tried using a non-skin swf, with no results.<br />
The code that is commented out does not work as well.</p>
<p>Code:<br />
/* add to stage text field to show lesson number<br />
	- capture lesson number from Captivate Tutorial<br />
*/</p>
<p>var strLesson:String;<br />
var myRoot_mc:MovieClip = this;</p>
<p>//load the cp swf into the loader component<br />
myRoot_mc.createClassObject(mx.controls.Loader, &#8220;myLoader_ldr&#8221;,this.getNextHighestDepth());<br />
myRoot_mc.myLoader_ldr.scaleContent = false;<br />
myRoot_mc.myLoader_ldr._xscale = 80;<br />
myRoot_mc.myLoader_ldr._yscale = 80;</p>
<p>myRoot_mc.myLoader_ldr.contentPath = &#8220;LessonOne_skin.swf&#8221;;//&#8221;EditingDocumentsFinal.swf&#8221;;</p>
<p>//if(_root.container.myLoader_ldr.content.cpSkinLoader_mc.rdinfoCurrentSlide == 0)<br />
//{<br />
//	strLesson = &#8220;Lesson 1&#8243;;<br />
//}</p>
<p>//if(_root.container.myLoader_ldr.content.cpSkinLoader_mc.rdinfoCurrentSlide == 5)<br />
//{<br />
//	strLesson = &#8220;Lesson 2&#8243;;<br />
//}<br />
//	}</p>
<p>strLesson = &#8220;Tutorial Introduction&#8221;;<br />
//strLesson = myRoot.container.myLoader_ldr.content.cpSkinLoader_mc.rdinfoCurrentSlide + &#8221; Number of slides: &#8221; +<br />
//					myRoot.container.myLoader_ldr.content.cpSkinLoader_mc.rdinfoFrameCount;<br />
myRoot_mc.txtSlide.text = strLesson;<br />
myRoot_mc.sample_text.text = &#8220;Slide Count&#8221;;</p>
<p>btn_pause.onRelease = function(){<br />
	sample_text.text = myRoot_mc.myLoader_ldr.cpSkinLoader_mc.rdinfoFrameCount;<br />
	 myRoot_mc.myLoader_ldr.cpSkinLoader_mc.rdcmndPause = 1;</p>
<p>}</p>
<p>// dynamic text component on stage<br />
txtSlide.text = strLesson;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/comment-page-1/#comment-453</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 29 Aug 2008 01:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://elearninglive.com/wordpress/?p=22#comment-453</guid>
		<description>Seth,

I did a quick test and it&#039;s working fine for me. Check out my example here:

http://elearninglive.com/temp/twoTextFieldCPTemp/Untitled-1.swf

If you go to this directory you can get my .fla (sorry, I forgot to save the .cp files but I did nothing unusual to them other than add a text field):

http://elearninglive.com/temp/twoTextFieldCPTemp/

mark</description>
		<content:encoded><![CDATA[<p>Seth,</p>
<p>I did a quick test and it&#8217;s working fine for me. Check out my example here:</p>
<p><a href="http://elearninglive.com/temp/twoTextFieldCPTemp/Untitled-1.swf" rel="nofollow">http://elearninglive.com/temp/twoTextFieldCPTemp/Untitled-1.swf</a></p>
<p>If you go to this directory you can get my .fla (sorry, I forgot to save the .cp files but I did nothing unusual to them other than add a text field):</p>
<p><a href="http://elearninglive.com/temp/twoTextFieldCPTemp/" rel="nofollow">http://elearninglive.com/temp/twoTextFieldCPTemp/</a></p>
<p>mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/comment-page-1/#comment-438</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Wed, 27 Aug 2008 17:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://elearninglive.com/wordpress/?p=22#comment-438</guid>
		<description>Not to add more issues, but I have a Flash movie that loads a series of Captivates into a movieclip.  A new captivate is loaded everytime you click Next.  For some reason, the Captivate text-entry only works for the first Captivate loaded.  It doesn&#039;t work on Captivates swfs loaded after the first captivate is loaded.  Anyone have any ideas?  My head is killing me?</description>
		<content:encoded><![CDATA[<p>Not to add more issues, but I have a Flash movie that loads a series of Captivates into a movieclip.  A new captivate is loaded everytime you click Next.  For some reason, the Captivate text-entry only works for the first Captivate loaded.  It doesn&#8217;t work on Captivates swfs loaded after the first captivate is loaded.  Anyone have any ideas?  My head is killing me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/comment-page-1/#comment-368</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 15 Aug 2008 12:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://elearninglive.com/wordpress/?p=22#comment-368</guid>
		<description>Brent,

Email me some more details and I&#039;ll try to help. I&#039;ve not run into the problem you describe before so my guess is it is something environmental. Can you zip up and email me (or better yet if its large then put on a server and let me download it) so I can take a look.

mark</description>
		<content:encoded><![CDATA[<p>Brent,</p>
<p>Email me some more details and I&#8217;ll try to help. I&#8217;ve not run into the problem you describe before so my guess is it is something environmental. Can you zip up and email me (or better yet if its large then put on a server and let me download it) so I can take a look.</p>
<p>mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent H</title>
		<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/comment-page-1/#comment-362</link>
		<dc:creator>Brent H</dc:creator>
		<pubDate>Thu, 14 Aug 2008 22:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://elearninglive.com/wordpress/?p=22#comment-362</guid>
		<description>Since you do not have a contact section I will hope you get this.  I am working on a project that uses its own &quot;navigation “skin”&quot; like you said you use but I am having a problem with mine.   For some reason in IE7 things work fine with a clear cache but as soon as the page is refreshed the captivate swf no longer displays. The weird part is that It is loading, it just remains invisible. I&#039;ve tried setting _visible to true and _alpha to 100 but that all doesn&#039;t work.  I&#039;m just curious if there is maybe a function I must call inside the captivate movieclip.  If you have run into anything similar or have any ideas it would be appreciated.</description>
		<content:encoded><![CDATA[<p>Since you do not have a contact section I will hope you get this.  I am working on a project that uses its own &#8220;navigation “skin”&#8221; like you said you use but I am having a problem with mine.   For some reason in IE7 things work fine with a clear cache but as soon as the page is refreshed the captivate swf no longer displays. The weird part is that It is loading, it just remains invisible. I&#8217;ve tried setting _visible to true and _alpha to 100 but that all doesn&#8217;t work.  I&#8217;m just curious if there is maybe a function I must call inside the captivate movieclip.  If you have run into anything similar or have any ideas it would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joss</title>
		<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/comment-page-1/#comment-254</link>
		<dc:creator>joss</dc:creator>
		<pubDate>Wed, 23 Jul 2008 11:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://elearninglive.com/wordpress/?p=22#comment-254</guid>
		<description>I am trying to get captivate files to pause.
captivate files are made in cs3. we are controlling them from a flash wrapper (set to as2.0 so it will work with captivate)

the captivate files have a skin file. so far following the instructions I can get the captivate file to pause, as long as I use a button in the flash wrapper.
however, as we already have a controller in the captivate skin, which we want to keep so that we can rewind, there isn&#039;t really any point having a button in the flash wrapper.

however, can&#039;t just set the wrapper to pause the capitavte swf unless the pause is in something e.g. a button. I presume this is beacuse without a button you may be trying to pause before the loader has actually finished loading.

so...is there a way to get the flash piece to pause the captivate piece as soon as it loads without a button. I notice the loader has a .complete parameter but I suppose what i&#039;m looking for is something more like onLoad()

otherwise I suppose we may ahve to move all the control into flash but would prefer not to do this.

cheers
joss</description>
		<content:encoded><![CDATA[<p>I am trying to get captivate files to pause.<br />
captivate files are made in cs3. we are controlling them from a flash wrapper (set to as2.0 so it will work with captivate)</p>
<p>the captivate files have a skin file. so far following the instructions I can get the captivate file to pause, as long as I use a button in the flash wrapper.<br />
however, as we already have a controller in the captivate skin, which we want to keep so that we can rewind, there isn&#8217;t really any point having a button in the flash wrapper.</p>
<p>however, can&#8217;t just set the wrapper to pause the capitavte swf unless the pause is in something e.g. a button. I presume this is beacuse without a button you may be trying to pause before the loader has actually finished loading.</p>
<p>so&#8230;is there a way to get the flash piece to pause the captivate piece as soon as it loads without a button. I notice the loader has a .complete parameter but I suppose what i&#8217;m looking for is something more like onLoad()</p>
<p>otherwise I suppose we may ahve to move all the control into flash but would prefer not to do this.</p>
<p>cheers<br />
joss</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/comment-page-1/#comment-89</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 23 Jan 2008 00:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://elearninglive.com/wordpress/?p=22#comment-89</guid>
		<description>I&#039;m not totally following you here. You mention buttons in the Captivate - are they flash swf buttons that were imported in?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not totally following you here. You mention buttons in the Captivate &#8211; are they flash swf buttons that were imported in?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://elearninglive.com/wordpress/2007/07/yet-another-note-on-controlling-captivate-via-the-generated-skin-swf/comment-page-1/#comment-87</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Tue, 22 Jan 2008 23:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://elearninglive.com/wordpress/?p=22#comment-87</guid>
		<description>Hello Mark and others,

One more question in terms of communicating from a flash wrapper to a captivate swf (3.0).  I have got the &quot;code swf&quot; concept working.  but not without some confusion.  It seems that I am only able to refer to the captivate swf (cpSkinLoader_mc. ect) from within an on(press) or on(release) etc function.  the code swf passes my variable to the main timeline ok.  In my case I have buttons in the Captivate swf, that can take one back to the beginning, and rerun the tutorial.  No I guess when the button in Captivate is clicked, and the tutorial does in fact, restart, it bypasses the code swf that is on that slide, so whatever my data was for the previous code swf, stays the same.  I guess I am looking for that button click to pass a value back to the flash wrapper.  I guess I need to do something else here.  I am not explaining this very well, sorry for that.
I will take a look at the example on the blog where some one has placed a code swf that allows returning to the start.

I appologize for this confusing post, I am confused my self!

eholz1</description>
		<content:encoded><![CDATA[<p>Hello Mark and others,</p>
<p>One more question in terms of communicating from a flash wrapper to a captivate swf (3.0).  I have got the &#8220;code swf&#8221; concept working.  but not without some confusion.  It seems that I am only able to refer to the captivate swf (cpSkinLoader_mc. ect) from within an on(press) or on(release) etc function.  the code swf passes my variable to the main timeline ok.  In my case I have buttons in the Captivate swf, that can take one back to the beginning, and rerun the tutorial.  No I guess when the button in Captivate is clicked, and the tutorial does in fact, restart, it bypasses the code swf that is on that slide, so whatever my data was for the previous code swf, stays the same.  I guess I am looking for that button click to pass a value back to the flash wrapper.  I guess I need to do something else here.  I am not explaining this very well, sorry for that.<br />
I will take a look at the example on the blog where some one has placed a code swf that allows returning to the start.</p>
<p>I appologize for this confusing post, I am confused my self!</p>
<p>eholz1</p>
]]></content:encoded>
	</item>
</channel>
</rss>
