<?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>EduTechnorama &#187; Coding</title>
	<atom:link href="http://www.edutechie.ws/category/Coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edutechie.ws</link>
	<description>Educational Experiences and Experiments of a Computer Scientist/Educational Psychologist/Technologist</description>
	<lastBuildDate>Tue, 08 Dec 2009 20:14:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>New Screen Developer Workflows</title>
		<link>http://www.edutechie.ws/2008/11/17/new-screen-developer-workflows/</link>
		<comments>http://www.edutechie.ws/2008/11/17/new-screen-developer-workflows/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 17:51:45 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Ed Tech]]></category>
		<category><![CDATA[Screen Design]]></category>

		<guid isPermaLink="false">http://www.edutechie.ws/?p=104</guid>
		<description><![CDATA[&#160; This week I&#8217;ve been attending the Adobe MAX conference. This is the second one I&#8217;ve been to and I&#8217;ve really enjoyed myself. I&#8217;ve always lamented with my classmates, colleagues, and professors that when it comes to teaching and learning, the tools will change and evolve, but the theories behind learning with the assistance of [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>This week I&#8217;ve been attending the Adobe MAX conference. This is the second one I&#8217;ve been to and I&#8217;ve really enjoyed myself. I&#8217;ve always lamented with my classmates, colleagues, and professors that when it comes to teaching and learning, the tools will change and evolve, but the theories behind learning with the assistance of technology will be relatively stable. Having said that, I really like how Adobe has handled and carried themselves as they&#8217;ve had the responsibility of ensuring the opportunity for usesrs of the web to have good experiences. Good technology companies find ways to define and proliferate their mission and even though Adobe has a notorious reputation for creating really bloated software, for the most part they&#8217;ve handled their recent success since the acquiring of Macromedia who in my opinion had the previous responsibility for success in evolving user experience on the web.<span id="more-104"></span>Someday, it may be someone else. But in the meantime, Adobe really has a handle on getting creative people to help engage people into using the Internet web browser as a medium for communicating lots of things. My subject of course is helping people who use the web how to learn most effectively.</p>
<p>Recently they&#8217;ve introduced a project workflow as a result of a subsequent product initiative previously code-named Thermo into what is now known as <a target="_blank" href="http://labs.adobe.com/technologies/flashcatalyst/">Flash Catalyst</a>. What this does is incorporate designers at more levels to have a hand in how users of the web interact with screen design. I&#8217;ll elucidate:</p>
<p>Print design for the most part has a number of tools used to get educational materials in the hands of potential educators and learners. Adobe&#8217;s Illustrator and InDesign products in no doubt are the birthing area of lots of textbooks and promotional materials that typically are for PRINT.</p>
<p>Print design has several caveats that don&#8217;t necessarily translate into screen design. A lot of it has to do with layout and selection of fonts.</p>
<p>Adobe&#8217;s Flash Catalyst product allows for someone to take a design from someone skiled in print work and then hand it off to a web developer for production and deployment on the web using Flash as the medium. I&#8217;m looking forward to the types of designs that will result from this. Having said that, I wish to bring to mind that just taking an existing print design and pushing it onto the web has its issues, but with innovation comes revolutionary re-education initiatives. Print designers now can be trained in methods proven to work for SCREENS that typically you wouldn&#8217;t have had before.</p>
<p>It will be interesting to see how this affects the work/projects I do for my institution and for other potential clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edutechie.ws/2008/11/17/new-screen-developer-workflows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing Some Code</title>
		<link>http://www.edutechie.ws/2007/09/18/testing-some-code/</link>
		<comments>http://www.edutechie.ws/2007/09/18/testing-some-code/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 19:25:05 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.edutechie.ws/2007/09/18/testing-some-code/</guid>
		<description><![CDATA[I'll be posting some code examples here eventually. One of the things I would like to focus this blog into becoming is a resource where people from academic communities and other web developer communities can come to learn from my successes and mistakes at the same time. I'm always looking for ways to improve and [...]]]></description>
			<content:encoded><![CDATA[<p>I'll be posting some code examples here eventually. One of the things I would like to focus this blog into becoming is a resource where people from academic communities and other web developer communities can come to learn from my successes and mistakes at the same time. I'm always looking for ways to improve and show people the ways I got what I needed to get done in hopes they can repeat the process and not have to be frustrated like I have been.</p>
<p>So here's a short snippet of code for MXML using the WordPress plugin  <a href="http://blog.igeek.info/still-fresh/category/wp-plugins/igsyntax-hiliter/" target="_blank" title="iG:Syntax Hilighter">iG:Syntax Hiliter:</a></p>
<div class="igBar"><span id="lxml-2"><a href="#" onclick="javascript:showCodeTxt('xml-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-2">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Application</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp;xmlns:<span style="color: #000066;">mx</span>=<span style="color: #ff0000;">"http://www.adobe.com/2006/mxml"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">layout</span>=<span style="color: #ff0000;">"absolute"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span> <img src='http://www.edutechie.ws/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> anel <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"140"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"100"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">width</span>=<span style="color: #ff0000;">"250"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"200"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">layout</span>=<span style="color: #ff0000;">"absolute"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000066;">title</span>=<span style="color: #ff0000;">"Educational Example"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span> <img src='http://www.edutechie.ws/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> anel<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span>:Application<span style="font-weight: bold; color: black;">&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Note: The plugin doesn't support MXML syntax directly (for Flex and AIR apps), but MXML's closest ancestor according to the plugin docs is XML. Maybe someday I'll see about trying to get it to work and look more integrated into the blog page design (which I also hope to enhance/change sometime)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edutechie.ws/2007/09/18/testing-some-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What I&#8217;m Working On</title>
		<link>http://www.edutechie.ws/2007/08/28/what-im-working-on/</link>
		<comments>http://www.edutechie.ws/2007/08/28/what-im-working-on/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 19:15:57 +0000</pubDate>
		<dc:creator>Jeffrey</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Breeze]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.edutechie.ws/?p=10</guid>
		<description><![CDATA[Right now at my internship at HOV I'm furthering my knowledge and application on how to direct learners who are inside a Breeze/Connect presenter module to not be able to skip past a slide of animation. So far the best way I've been able to figure out how to do this is to disable the [...]]]></description>
			<content:encoded><![CDATA[<p>Right now at my internship at HOV I'm furthering my knowledge and application on how to direct learners who are inside a Breeze/Connect presenter module to not be able to skip past a slide of animation. So far the best way I've been able to figure out how to do this is to disable the "next slide button". I've been having this conversation with a user on the Adobe forums that has gone like this:</p>
<p><span id="more-10"></span></p>
<blockquote><p>Date Posted:</p>
<p>08/17/2007 09:55:03 AM</p>
<p>Posted By: asm0d 							(Member)</p>
<p>If you're familiar with Flash and Actionscript, you can use a Flash module to modify the player (which is just another Flash module itself). Try including this Actionscript on a button (or something else the user would have to click) that you drop in at the start of your PPT presentation:</p>
<p>_root.m_controlBar.m_playBtn._visible = false;</p>
<p>This will disable the play button for the duration, but is sort of a "hack" and totally unsupported by MacroDobe. Like always, make sure Flash is set to publish to Flash Player 6, Actionscript 1 before embedding it in a Breeze presentation.</p>
<p> <img src='http://www.edutechie.ws/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>By the way, if you change it to:</p>
<p>_root.m_controlBar.m_playBtn._onRelease();</p>
<p>it simulates pressing the play button - you can use this to programmatically control the Breeze player.</p>
<p>The other controls are:<br />
m_volumeBtn<br />
m_attachmentsBtn<br />
m_slideBackBtn<br />
m_slideNextBtn<br />
m_playBtn<br />
m_viewChangeBtn<br />
m_scrubBar</p>
<p>v/r</p>
<p>Marc B<br />
<strong>Edited:</strong> 08/28/2007 <strong>at</strong> 07:28:50 AM <strong>by</strong> asm0d</p>
<hr />Date Posted:</p>
<p>08/23/2007 10:00:38 AM</p>
<p>Posted By: journeydude 							(Member)</p>
<p>This looks very promising, however it's <strong>not</strong> working for me under the following conditions:</p>
<ul>Using Adobe Presenter 6.1 Plugin for MS PowerPoint 2003</ul>
<ul>Created a one-frame Flash movie using Macromedia Flash 8 with the script on the first frame (as described above)</ul>
<ul>Created a two-slide PowerPoint, no audio, and first slide has the SWF file embedded using the 'Adobe Presenter' Menu Item -&gt; 'Insert Flash' feature.</ul>
<ul>Went into the "Adobe Presenter" menu in PowerPoint, under Presentation Settings -&gt; Flash Files Tab: Checked the 'Controlled by presentation playbar' checkbox. Tried this both with and without the checkbox checked.</ul>
<ul>Used the following script on that first frame: _root._m_controlBar.m_slideNextBtn._visible = false;</ul>
<p>We are trying to disable the next button so learners can't skip past slide content. Under what condition(s) have you seen this work? I'm curious if our environments match.<br />
<hr />Date Posted:</p>
<p>08/27/2007 06:54:45 AM</p>
<p>Posted By: asm0d 							(Member)</p>
<p>Hi,</p>
<p>I think the issue you're having is due to the way Flash handles actionscript in loaded movies. The critical difference is that you've put your script on the first frame of a movie, whereas I attached it to a button the users had to click.</p>
<p>Quotes:<br />
"Created a one-frame Flash movie using Macromedia Flash 8 with the script on the first frame..."</p>
<p>"Try including this Actionscript on a button (or something else the user would have to click)"</p>
<p>v/r</p>
<p>Marc B<br />
<hr />Date Posted:</p>
<p>08/27/2007 08:19:21 AM</p>
<p>Posted By: journeydude 							(Member)</p>
<p>Hmm....it's still not working.  Here are the things I've tried according to your answer:</p>
<ul>removed all actionscript from the first frame as you menioned</ul>
<ul>used a button movie clip from the "buttons" common libraries panel</ul>
<ul>clicked on the button and went into the actions panel and put in the following code:</ul>
<ul>
<li>
<ul>on(release) { _root._m_controlBar.m_slideNextBtn._visible = false;}</ul>
</li>
</ul>
<p>It still didn't work so I tried this instead:</p>
<ul>gave the button an instance name '<strong>btnDisable</strong>'</ul>
<ul>put the following actionscript on the first frame:</ul>
<ul>
<li>
<ul>btnDisable.onRelease = function() { _root._m_controlBar.m_slideNextBtn._visible = false;}</ul>
</li>
</ul>
<p>And that didn't work either.<br />
Would it be possible to contact you off list and get an example .fla for a button that you did that works?</p>
<p>Thanks very kindly!<br />
<hr />Date Posted:</p>
<p>08/27/2007 09:28:24 AM</p>
<p>Posted By: asm0d 							(Member)</p>
<p>Hi,</p>
<p>I think the problem is in the name you're using.  The original object name:</p>
<p>"_root.m_controlBar.m_playBtn._onRelease();"</p>
<p>and, in all your posts:</p>
<p>"root._m_controlBar.m_slideNextBtn._visible = false;"<br />
"on(release) { _root._m_controlBar.m_slideNextBtn._visible = false;} "<br />
"btnDisable.onRelease = function() { _root._m_controlBar.m_slideNextBtn._visible = false;}"</p>
<p>...notice the extra underscore you've added to the object name? "_m_controlBar" instead of "m_controlBar"? It may just be a typo here on the board, but if its in your actual code that's your problem.</p>
<p>v/r</p>
<p>Marc B</p>
<hr />Date Posted:</p>
<p>08/27/2007 03:09:58 PM</p>
<p>Posted By: journeydude 							(Member)</p>
<p>Thanks, you were right, the code was mistyped, but even after fixing it to conform to your code it's still not working for some reason. I now have the following conditions:</p>
<p>In my FLA I am set up with one button from the buttons common libraries pane.<br />
Clicked on the button and go into the actions panel. I put in the following code:</p>
<p>on(release) {<br />
_root.m_controlBar.m_playBtn._visible = false;<br />
//I'm testing this on just the main play button for now.<br />
//I'm still interested in doing this to the 'next slide button' for the final fix.<br />
}</p>
<p>The button goes into each of its states, up and down visually, but nothing at all happens to the visibility of the play button on the main presentation in this case. I even tried some other variants to point to the root level: (i.e. _root._root. and _parent.m_controlBar.) to no avail.</p>
<p>I know this is a hack so it's not a guarantee, but again I would be interested in how our environments differ. Again here's what I'm using:</p>
<p>Flash version 8<br />
Adobe Presenter 6.1<br />
MS PowerPoint 2003 (latest service pack)<br />
A one-frame swf file with the code on the button as shown above.</p>
<p>Any additional help or references to this working elsewhere would be appreciated.</p>
<p>Thanks!<br />
<hr />Date Posted:</p>
<p>08/28/2007 07:27:29 AM</p>
<p>Posted By: asm0d 							(Member)</p>
<p>Hi again,</p>
<p>I did some playing around (I have basically the same software versions as you) and I think your problem is in your publishing settings. Flash needs to be set to publish to Flash Player 6, actionscript version 1, to ensure its compatible with Breeze's player. When I set it to Flash Player 7 or 8, the code stopped working, even though it was still valid. I didn't mention it before because it's true for any Flash objects you put in a Breeze presentation (even simple animations). I'll update the original post with this info as well.</p>
<p>BTW, someone else asked why I used a button, rather than just putting it in the first frame of an embedded flash movie. While that will certainly work (automatically hiding the controlBar or whatever when they launch the training) I ran into a weird bug where the Breeze presentation would *sometimes* suck up 100% of the computer cycles, like it was stuck in a loop, slowing everything down.</p>
<p>v/r</p>
<p>Marc B</p>
<p><strong>Edited:</strong> 08/28/2007 <strong>at</strong> 09:14:16 AM <strong>by</strong> asm0d</p>
<hr />Date Posted:</p>
<p>08/28/2007 09:17:27 AM</p>
<p>Posted By: journeydude 							(Member)</p>
<p>That was it! Genius! Thanks very much!</p>
<p>Now a new problem: the fullscreen version of the Breeze/Connect Presenter player (the one where it doesn't show the thumbnails and slide notes, ect.) seems to have a different symbol name for the control bar. In the default version (the one that's on by default), the actionscript exposes the objects in the way you've described. If you choose the fullscreen version of the the player before you publish, the script no longer works. So a couple questions:</p>
<p>How did you figure out the instance actionscript symbol names of these objects in the first place?</p>
<p>Do you know what they are called when the Breeze/Connect player is in fullscreen mode?<br />
<hr />Date Posted:</p>
<p>08/28/2007 09:36:39 AM</p>
<p>Posted By: asm0d 							(Member)</p>
<p>The two control bars are:</p>
<p>m_controlBar (use this when you have the panels open)<br />
m_miniControlBar (use this when full screen)</p>
<p>If you choose to use "enable" (rather than visible) to turn off the default player buttons, keep in mind that it also disables the "onRelease" method we're using to programmatically advance. The workaround is to momentarily enable the bar, advance, then disable the bar again:</p>
<p>first frame code (with a button embedded):</p>
<p>//event handler<br />
my_play_btn.onRelease = function (){<br />
_root.m_controlBar.enabled = true;<br />
_root.m_controlBar.m_playBtn.onRelease();<br />
_root.m_controlBar.enabled = false;<br />
}</p>
<p>//disable playbar on startup:<br />
_root.m_controlBar.enabled = false;</p>
<p>This is more asthetically pleasing than making it invisible as well.  Just remember to insert your "play" button on every page!</p>
<p>You can identify all the properties and methods of an object using the "for - in" loop - just have the output go to a dynamic text field, and you can list everything in the controlBar object.</p>
<p>Another interesting property: _root.m_controlBar.m_currSlide._slideNum will return the current slide number (starting at zero) which is very useful for progress bars and such.</p>
<p>v/r<br />
Marc B</p>
<p>"poolpah... what's that?"</p>
<hr />Date Posted:</p>
<p>08/28/2007 10:49:01 AM</p>
<p>Posted By: journeydude 							(Member)</p>
<p>That's the answer I'm looking for, thanks! You've been very helpful. I also hope this helps the original topic poster too.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.edutechie.ws/2007/08/28/what-im-working-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
