<?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>In Search of a Good Title &#187; Actionscipt/Flash</title>
	<atom:link href="http://curtis.humphreyonline.us/tag/actionsciptflash/feed" rel="self" type="application/rss+xml" />
	<link>http://curtis.humphreyonline.us</link>
	<description>Curtis M. Humphrey's Website</description>
	<lastBuildDate>Wed, 02 Jun 2010 17:04:44 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>html tags that cannot accept css in Actionscript 3</title>
		<link>http://curtis.humphreyonline.us/code/actionscript/html-tags-that-cannot-accept-css-in-actionscript-3</link>
		<comments>http://curtis.humphreyonline.us/code/actionscript/html-tags-that-cannot-accept-css-in-actionscript-3#comments</comments>
		<pubDate>Wed, 02 Jun 2010 17:04:44 +0000</pubDate>
		<dc:creator>Curtis M. Humphrey</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Actionscipt/Flash]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=266</guid>
		<description><![CDATA[Painful! Painful! It amazes me how little effort is sometimes put into documentation and today I found another example in Actionscript 3.0. (This is another reason I love codeigniter: great user-friendly manual! but that is another story). The actionscript goal was as follows: to change text characteristics by applying css to a textField. I was [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Painful! Painful! It amazes me how little effort is sometimes put into documentation and today I found another example in Actionscript 3.0. (This is another reason I love codeigniter: great user-friendly <a href="http://codeigniter.com/user_guide/">manual</a>! but that is another story). The actionscript goal was as follows: to change text characteristics by applying css to a textField. I was thinking I would use the &#8220;b&#8221; and &#8220;i&#8221; tags (old school bold and italics) as my target tags. The only problem was that when applied nothing happened. Nothing, the &#8220;b&#8221; and &#8220;i&#8221; tags retained their original styling and my css was as if it was not applied. I spent time checking to make sure I applied it, time checking to make sure the tags where really there, and time looking through the manual to discover anything&#8230;</p>
<p>The tests proved that the tags where there and that the css was applied but I was still having the issue. So I just tried other tags and to my slight surprise the other tags worked. It appears that actionscript will not style &#8220;b&#8221; and &#8220;i&#8221; tags but will style &#8220;em&#8221; and &#8220;strong&#8221; tags. It will still interpet the &#8220;b&#8221; and &#8220;i&#8221; tags and apply their default styling it just will not let you overwrite those defaults with css. Sounds like either a bug or an undocumented exclusion&#8230; Either way very annoing and the manual is very unfriendly and slow. In fact online help through their livdocs was faster than through the program&#8230; Great manuals designed to be usable make or break software in the long run and this cannot be a good sign for Adobe. I&#8217;ve been playing/using flash since 2000 and their CS5 manual/help is much worse in terms of usability than their help was in 2000.</p>
<p>If you want to see a demo showing this issue try out the code below:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">...
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> newStyle:StyleSheet = <span style="color: #000000; font-weight: bold;">new</span> StyleSheet<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> styleObj:<span style="color: #0066CC;">Object</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
styleObj.<span style="color: #006600;">fontStyle</span> = <span style="color: #ff0000;">'normal'</span>;
styleObj.<span style="color: #0066CC;">color</span> = <span style="color: #ff0000;">'#660066'</span>;
styleObj.<span style="color: #006600;">display</span> = <span style="color: #ff0000;">'inline'</span>;
&nbsp;
newStyle.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;b&quot;</span>, styleObj<span style="color: #66cc66;">&#41;</span>;
newStyle.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;i&quot;</span>, styleObj<span style="color: #66cc66;">&#41;</span>;
newStyle.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;strong&quot;</span>, styleObj<span style="color: #66cc66;">&#41;</span>;
newStyle.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;em&quot;</span>, styleObj<span style="color: #66cc66;">&#41;</span>;
&nbsp;
text_field.<span style="color: #006600;">styleSheet</span> = newStyle;
text_field.<span style="color: #0066CC;">htmlText</span> = <span style="color: #ff0000;">'&lt;b&gt;Hi&lt;/b&gt; &lt;i&gt;World!&lt;/i&gt; &lt;strong&gt;Hi&lt;/strong&gt; &lt;em&gt;World!&lt;/em&gt;'</span>;
&nbsp;
...</pre></div></div>

<p>The output should look something like this:<br />
<b>Hi</b> <i>World!</i> <strong style="color:#660066">Hi</strong> <em style="color:#660066"; font-style:normal">World!</em></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://curtis.humphreyonline.us/code/actionscript/html-tags-that-cannot-accept-css-in-actionscript-3/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visualization of Multiple Robots During Team Activities</title>
		<link>http://curtis.humphreyonline.us/projects/visualization-of-multiple-robots-during-team-activities</link>
		<comments>http://curtis.humphreyonline.us/projects/visualization-of-multiple-robots-during-team-activities#comments</comments>
		<pubDate>Fri, 05 Jun 2009 20:52:23 +0000</pubDate>
		<dc:creator>Curtis M. Humphrey</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Actionscipt/Flash]]></category>
		<category><![CDATA[Robots]]></category>
		<category><![CDATA[Visualizations]]></category>
		<category><![CDATA[Work done at Vanderbilt]]></category>

		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=143</guid>
		<description><![CDATA[As robotic systems encompass larger numbers of individual robotic agents, interface design must provide better visual representations that account for factors affecting situational awareness. This project investigated different robotic team visualizations that varied in how much information was displayed: only individual robots, individual robots connected via a semitransparent team shape, and a solid team shape. [...]


Related posts:<ol><li><a href='http://curtis.humphreyonline.us/projects/compass-visualizations-for-human-robotic-interaction' rel='bookmark' title='Permanent Link: Compass Visualizations for Human-Robotic Interaction'>Compass Visualizations for Human-Robotic Interaction</a></li>
<li><a href='http://curtis.humphreyonline.us/projects/multiple-robot-interfaces-scalability-and-the-halo-concept' rel='bookmark' title='Permanent Link: Multiple Robot Interfaces Scalability and the Halo Concept'>Multiple Robot Interfaces Scalability and the Halo Concept</a></li>
<li><a href='http://curtis.humphreyonline.us/projects/general-visualization-abstraction-algorithm-for-geographic-map-based-directable-interfaces' rel='bookmark' title='Permanent Link: General Visualization Abstraction Algorithm for Geographic Map-Based Directable Interfaces'>General Visualization Abstraction Algorithm for Geographic Map-Based Directable Interfaces</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_181" class="wp-caption alignright" style="width: 310px"><img class="size-medium wp-image-181" title="Team Visualization Interface" src="http://curtis.humphreyonline.us/wp-content/uploads/team-visualization-interface-300x193.jpg" alt="Team Visualization Interface" width="300" height="193" /><p class="wp-caption-text">Team Visualization Interface</p></div>
<p>As robotic systems encompass larger numbers of individual robotic agents, interface design must provide better visual representations that account for factors affecting situational awareness. This project investigated different robotic team visualizations that varied in how much information was displayed: only individual robots, individual robots connected via a semitransparent team shape, and a solid team shape. The evaluation results revealed that the two visualizations that utilized a team shape were strongly preferred over the visualization that displayed only individual robots.</p>
<h3 style="clear:both">Related Papers:</h3>
<p class="Pubs"><strong>Humphrey, C. M.</strong>, Gordon, S. M., &amp; Adams, J. A. (2006). <em>Visualization of Multiple Robots During Team Activities</em>. In Human Factors and Ergonomics Society Annual Meeting Proceedings (Vol. 50, pp. 651-655).</p>


<p>Related posts:<ol><li><a href='http://curtis.humphreyonline.us/projects/compass-visualizations-for-human-robotic-interaction' rel='bookmark' title='Permanent Link: Compass Visualizations for Human-Robotic Interaction'>Compass Visualizations for Human-Robotic Interaction</a></li>
<li><a href='http://curtis.humphreyonline.us/projects/multiple-robot-interfaces-scalability-and-the-halo-concept' rel='bookmark' title='Permanent Link: Multiple Robot Interfaces Scalability and the Halo Concept'>Multiple Robot Interfaces Scalability and the Halo Concept</a></li>
<li><a href='http://curtis.humphreyonline.us/projects/general-visualization-abstraction-algorithm-for-geographic-map-based-directable-interfaces' rel='bookmark' title='Permanent Link: General Visualization Abstraction Algorithm for Geographic Map-Based Directable Interfaces'>General Visualization Abstraction Algorithm for Geographic Map-Based Directable Interfaces</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://curtis.humphreyonline.us/projects/visualization-of-multiple-robots-during-team-activities/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
