<?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>Yahoo! Flash (R) Blog &#187; Articles</title>
	<atom:link href="http://www.yswfblog.com/blog/index.php/category/articles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yswfblog.com/blog</link>
	<description>News and Articles on Yahoo! Flash Components and Libraries</description>
	<lastBuildDate>Sat, 19 Jun 2010 23:05:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Accessible Components in Flash and Flex (Part 2)</title>
		<link>http://www.yswfblog.com/blog/2009/01/12/creating-accessible-components-in-flash-and-flex-part-2/</link>
		<comments>http://www.yswfblog.com/blog/2009/01/12/creating-accessible-components-in-flash-and-flex-part-2/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 13:54:33 +0000</pubDate>
		<dc:creator>Alaric Cole</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[screen reader]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.yswfblog.com/blog/?p=114</guid>
		<description><![CDATA[In this article, I&#8217;ll go over the steps needed to enable accessibility for a custom component. While it takes a bit of getting used to, I think you&#8217;ll find that enabling accessibility for your components is not only beneficial to the many users who would like to interact with your component, but helps you to [...]]]></description>
			<content:encoded><![CDATA[<p>In this article, I&#8217;ll go over the steps needed to enable accessibility for a custom component. While it takes a bit of getting used to, I think you&#8217;ll find that enabling accessibility for your components is not only beneficial to the many users who would like to interact with your component, but helps you to fine-tune and further enhance your components in general. To enable use with screen readers, follow these three (simple?) steps:</p>
<ol>
<li>Determine object role</li>
<li>Create the Accessibility Implementation class for component</li>
<li>Add accessibility tie-ins to component class<br />
a) Create a placeholder for the static <code>createAccessibilityImplementation()</code> method<br />
b) Override <code>initializeAccessibility()</code> method<br />
c) (Flex only) Add AccessibilityClass metadata</li>
</ol>
<p><span id="more-114"></span></p>
<h3>Determine object role</h3>
<p>In order for the JAWS screen reader to inform the user about a particular component, it needs to know a few things about the component. Most importantly, it needs to know what the type of the component is. It does this using a predefined set of types, called <a href="http://msdn.microsoft.com/en-us/library/ms696152(VS.85).aspx" target="_blank">Object Roles</a> in <a href="http://msdn.microsoft.com/en-us/library/ms697707(VS.85).aspx" target="_blank">MSAA</a> terminology. These object roles are simply numerical values, standing for control types such as push buttons and list boxes. I like to define them as constants in my accessibility implementations, to make them more identifiable. So the first step is determining the type, which also allows you to see if you need to extend a current accessibility implementation, or start from scratch. The second step is to actually create the implementation (*whew*).</p>
<h3>Create the Accessibility Implementation class</h3>
<p>To create an accessibility implementation, you need to extend from a base implementation class. For Flash components this will extend fl.accessibility.AccImpl or the component’s superclass’s implementation. For Flex components this will extend <code>mx.accessibility.AccImpl</code> or the component’s superclass’s implementation. For instance, with Astra Carousel, I extended <code>fl.accessibilitySelectableListAccImpl</code>, the implementation used for SelectableList; for Astra Charts, I created an implementation from scratch, extending <code>fl.accessibility.AccImpl</code>.</p>
<p>Generally, you can pair the superclass of your implementation with the component&#8217;s superclass. And if one&#8217;s not available, start at AccImpl. The main thing to remember is that, for Flash CS3/CS4 components, you need to create the hooks in your implementation that pair it up with its corresponding component. You do this by creating a static variable and a static method:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">private</span> static <span style="color: #6699cc; font-weight: bold;">var</span> accessibilityHooked<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>=hookAccessibility<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #0033ff; font-weight: bold;">private</span> static <span style="color: #339966; font-weight: bold;">function</span> hookAccessibility<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span>
<span style="color: #000000;">&#123;</span>
     YourComponentClass.createAccessibilityImplementation =
          createAccessibilityImplementation;
     <span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #0033ff; font-weight: bold;">true</span>;
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Notice in the hookAccessibility function, that it refers to a static variable of your component&#8217;s class. In order for this to work, you&#8217;ll need to add that static variable to your component&#8217;s class, which we&#8217;ll go over later in this article. Remember that the above code is for Flash CS3/CS4 components only&#8211;Flex will create the necessary hooks itself through the mxmlc compiler.</p>
<p>Once you&#8217;re hooked up, the next task is to actually set the object role you decided on. To do that, you simply set the variable role to that numerical value within the constructor of the implementation class.</p>
<p>Next is the hard part. All implementations will use the following methods to communicate with the screen reader, and you&#8217;ll find you need many of them to make your implementation work. However, you may not need to write custom code for all of them, as you may be able to inherit a perfectly usable method from the superclass:</p>
<p>• accLocation(childID:uint):* &#8211; specifies the bounding box of a child element.<br />
• accSelect(selFlag:uint, childID:uint):void-altering the selection in the component .<br />
• get_accDefaultAction(childID:uint):String-returns the default action of the component or of one of its child elements.<br />
• get_accFocus():uint-returns the unsigned integer ID of the child element, if any, that has child focus within the component.<br />
• get_accName(childID:uint):String-returns the name for the component or for one of its child elements.<br />
• get_accRole(childID:uint):uint-returns the system role for the component or for one of its child elements.<br />
• get_accSelection():Array-returns an array containing the IDs of all child elements that are selected.<br />
• get_accState(childID:uint):uint-returns the current runtime state of the component or of one of its child elements.<br />
• get_accValue(childID:uint):String-returns the runtime value of the component or of one of its child elements.<br />
• getChildIDArray():Array-returns an array containing the unsigned integer IDs of all child elements in the <span>AccessibilityImplementation</span>.<br />
• eventHandler(event:Event):void-Handles events from the master component. This essentially listens for events, and the developer must create a switch statement to call an Accessibility.sendEvent with the appropriate parameters.<br />
• getName(childID:uint):String-returns the name of the accessible component or the name of one of its child elements.<br />
• getState(childID:uint):uint-returns the state of the accessible component.</p>
<p>It’s important to note that there may be a number of other methods that need to be created for such things as telling the screenreader which child items are focused or what items are selected. Read on for some real-world examples of creating these.</p>
<h3>Add accessibility tie-ins to component class</h3>
<p>The last step is telling your component class to use this accessibility implementation. Actually, this is a step you can do on your components before you finalize your implementation class, because it doesn&#8217;t point to the accessibility class by name. Add these few lines of code to your class:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">public</span> static <span style="color: #6699cc; font-weight: bold;">var</span> createAccessibilityImplementation<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Function</span>;
&nbsp;
override <span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> initializeAccessibility<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
     <span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>YourComponentClass.createAccessibilityImplementation<span style="color: #000000; font-weight: bold;">!</span>=<span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span>
          YourComponentClass.createAccessibilityImplementation<span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>This tells UIComponent that there may be an implementation in use, and lets your implementation class mix in with its <code>hookAccessibility()</code> method. If you&#8217;re using Flex, it&#8217;s a good idea to add AccessibilityClass metadata in your component class. For example, with <code>mx.controls.Button</code>, the following metadata is added, pointing to the implementation class:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #000000;">&#91;</span>AccessibilityClass<span style="color: #000000;">&#40;</span>implementation=<span style="color: #990000;">&quot;mx.accessibility.ButtonAccImpl&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span></pre></div></div>

<h3>Examples</h3>
<p>Talking about what you should do is one thing, but giving you a play-by-play of my own development experience should prove more helpful.</p>
<h4>Carousel</h4>
<p>To create an accessibility implementation for Carousel, I determined that, because Carousel extends <span>SelectableList</span>, my accessibility implementation would extend <span>SelectableListAccImpl</span>. This saved some of the grunt work, as a few of the necessary methods were already created for me. Even the role did not need to be set, as there is no specific designation for a carousel in MSAA. Carousel is essentially a list, so I was able to keep its role as <code>ROLE_SYSTEM_LIST</code> (0&#215;00000021 for the numerically-inclined). I did have to override the <code>get_accValue</code> method to return the value of the current item in the Carousel. Also, because a Carousel can be horizontal as well as vertical, I had to override <code>get_accState</code> to return the proper state information whether the Carousel was a vertical or horizontal list.</p>
<h4>Tree</h4>
<p>For Tree, I at first decided to create an accessibility implementation from scratch, probably because I was being stubborn. While Tree extends List, the typical ListAccImple class wasn&#8217;t going to cut it for Tree, which has a very different interaction model. However, I later realized that had to reimplement <code>getChildIDArray</code>, <code>accLocation</code>, and <code>get_accFocus</code>, which were already present and suitable in <span>SelectableListAccImpl</span>. So I decided in the end to extend that. However, there was a lot left to be written for this implementation. Tree, while it inherits from List, has its own designation in MSAA land. It is called, interestingly enough, an Outline control, designated by the constant <code>ROLE_SYSTEM_OUTLINE</code>. So that was the role I gave it. I reworked the <code>get_accValue</code> method to return the value of the current item as well as their location in the tree structure. So when the item is selected, the screen reader will read something like &#8220;Item 4 of 10&#8243;. Other things I had to do with Tree:</p>
<ul>
<li><code>get_accState</code> was overridden to provide additional information about tree items being collapsed or open.</li>
<li><code>get_accDefaultAction</code> had to show additional actions of a node being collapsed or expanded.</li>
<li><code>accDoDefaultAction</code> needed to be reworked in order to open or close the items.</li>
<li><code>getName</code> was overridden to add, like <code>get_accValue</code>, info about the current location of the item in the tree structure.</li>
</ul>
<p>I also found in my development that proper keyboard navigation wasn&#8217;t in place. So I added that in. That&#8217;s the great part about creating these implementations&#8211;it allows you to really test the usability of the component, not to mention helps you to find bugs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yswfblog.com/blog/2009/01/12/creating-accessible-components-in-flash-and-flex-part-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Creating Accessible Components in Flash and Flex</title>
		<link>http://www.yswfblog.com/blog/2008/12/05/creating-accessible-components-in-flash-and-flex/</link>
		<comments>http://www.yswfblog.com/blog/2008/12/05/creating-accessible-components-in-flash-and-flex/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 13:00:57 +0000</pubDate>
		<dc:creator>Alaric Cole</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.yswfblog.com/blog/2008/12/05/creating-accessible-components-in-flash-and-flex/</guid>
		<description><![CDATA[It&#8217;s been in the works for a while, but I finally had the chance to focus on making ASTRA components more accessible. Accessibility is not something many developers look at, but it&#8217;s slowly gaining ground. For many developers, even figuring out how to enable the built-in accessibility of Flash components is a job. But when [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been in the works for a while, but I finally had the chance to focus on making ASTRA components more accessible. Accessibility is not something many developers look at, but it&#8217;s slowly gaining ground. For many developers, even figuring out how to enable the built-in accessibility of Flash components is a job. But when you create custom components, implementing accessibility is another job entirely. Accessibility doesn&#8217;t come for free.</p>
<table border="0" cellspacing="5" cellpadding="10" width="200" align="right">
<tbody>
<tr>
<td bgcolor="#75a3d1"><span>This set of articles will be geared towards component developers who want to ensure compatibility with screen readers. However, any developer will find this information useful, especially those want to learn how accessibility works in Flash.</span></td>
</tr>
</tbody>
</table>
<p>To begin my assessment of ASTRA components, I first had to learn to use a screen reader. I installed a trial of <a href="http://www.freedomscientific.com/fs_products/software_jaws.asp">JAWS for Windows</a>, which is the de facto screen reader technology, especially in regards to Flash. It&#8217;s important to note that although I develop on a Mac, I have to use Windows for accessibility testing. This is because Flash accessibility is based on <a href="http://msdn.microsoft.com/en-us/library/ms697707.aspx">Microsoft&#8217;s Active Accessibility</a> standards, and only work on Windows machines. It can be argued that real accessibility is quite limited on the Mac, so this is more of an OS X limitation than a limitation of Flash. I also installed the <a href="http://www.adobe.com/macromedia/accessibility/features/flex/readme.html">Flex scripts</a> add-ons, which are touted to provide more fine-grained info for the screen reader when using accessible Flex components.</p>
<p>Using  a screen reader, I quickly discovered, is a more involved process than it might seem. Your natural tendencies and habits have to be thrown out the window. For example, opening a browser window with an embedded swf, my first inclination was to use the mouse to navigate to a text input control and start typing. That didn&#8217;t work as planned. For one, a typical user of a screen reader is not going to be grabbing the mouse first thing, but using keyboard navigation to interact with an application, so I&#8217;d already cheated. Along with this, because of the way JAWS works, navigating to an input field won&#8217;t necessarily allow you to begin editing text&#8211;you must enter into &#8220;forms mode&#8221; in order to even start typing.</p>
<p>Once I got the basics of using JAWS down, I started to test our components. My original assumption was that the components would &#8220;mostly work&#8221; because many of them are based on lower-level components which have accessibility implementations built.</p>
<p>I was &#8220;mostly wrong.&#8221; A component is not the sum of its parts, in regards to a screen reader. For a component to be successfully understood by the user, it needs its own accessibility implementation built from scratch.</p>
<p>In the <a href="http://www.yswfblog.com/blog/2009/01/12/creating-accessible-components-in-flash-and-flex-part-2/">next article</a> I&#8217;ll discuss what steps I took to create those implementations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yswfblog.com/blog/2008/12/05/creating-accessible-components-in-flash-and-flex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yahoo! Open Strategy (Y!OS) for the Rest of Us</title>
		<link>http://www.yswfblog.com/blog/2008/10/29/yahoo-open-strategy-yos-for-the-rest-of-us/</link>
		<comments>http://www.yswfblog.com/blog/2008/10/29/yahoo-open-strategy-yos-for-the-rest-of-us/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 23:44:07 +0000</pubDate>
		<dc:creator>Alaric Cole</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Web APIs]]></category>

		<guid isPermaLink="false">http://www.yswfblog.com/blog/2008/10/29/yahoo-open-strategy-yos-for-the-rest-of-us/</guid>
		<description><![CDATA[In the last article, I hinted at Yahoo!&#8217;s Open Strategy, and mentioned that there were a few tools available for Flash and Flex developers: http://developer.yahoo.com/flash/yos. We&#8217;ve polished it up and it&#8217;s ready for release. So head on over and start developing!
To read more about Y!OS, check this out.
]]></description>
			<content:encoded><![CDATA[<p>In the last article, I hinted at <a href="http://developer.yahoo.com/yos/intro/">Yahoo!&#8217;s Open Strategy</a>, and mentioned that there were a few tools available for Flash and Flex developers: <a href="http://developer.yahoo.com/flash/yos">http://developer.yahoo.com/flash/yos</a>. We&#8217;ve polished it up and it&#8217;s ready for release. So head on over and start developing!</p>
<p>To read more about Y!OS, check <a href="http://developer.yahoo.com/yos/intro/" target="_blank">this</a> out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yswfblog.com/blog/2008/10/29/yahoo-open-strategy-yos-for-the-rest-of-us/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>With a Little App from my Friends</title>
		<link>http://www.yswfblog.com/blog/2008/09/23/with-a-little-app-from-my-friends/</link>
		<comments>http://www.yswfblog.com/blog/2008/09/23/with-a-little-app-from-my-friends/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 12:59:56 +0000</pubDate>
		<dc:creator>Alaric Cole</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Web APIs]]></category>

		<guid isPermaLink="false">http://www.yswfblog.com/blog/2008/09/23/with-a-little-app-from-my-friends/</guid>
		<description><![CDATA[
No doubt you&#8217;ve heard a little something about Yahoo!&#8217;s new open strategy. If you attended Open Hack Day, you would&#8217;ve even been able to use the new Social APIs, which allow you to build powerful social applications on our Yahoo! Applications Platform (YAP).
Not to let down the Flash folks, we&#8217;ve created some nice AS3 APIs [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img src="http://www.yswfblog.com/blog/wp-content/uploads/2008/10/app_example.png" alt="app_example.png" /></p>
<p>No doubt you&#8217;ve heard a little something about Yahoo!&#8217;s new <a href="http://developer.yahoo.net/blog/archives/2008/04/introducing_the_1.html">open strategy</a><a href="http://developer.yahoo.com/searchmonkey/"></a>. If you attended <a href="http://www.yswfblog.com/blog/2008/09/10/good-will-hacking/">Open Hack Day</a>, you would&#8217;ve even been able to use the new Social APIs, which allow you to build powerful social applications on our Yahoo! Applications Platform (YAP).</p>
<p>Not to let down the Flash folks, we&#8217;ve created some nice AS3 APIs that let you easily integrate social data and create a Flash or Flex application easily in YAP. There&#8217;s even a great Yahoo! theme for Flex applications, to give you a standard look and feel right from the start.</p>
<p>If you&#8217;re itching to see what this is all about, it&#8217;s currently available <strike>as a preview release</strike> at <a href="http://developer.yahoo.com/flash/yos">http://developer.yahoo.com/flash/yos</a>. <strike>While you won&#8217;t be able to actually use the services (sorry, coming soon),</strike> you can get a head start on learning the system and even begin developing your apps, as the code and documentation are all there for the taking. There&#8217;s even lots of source code for example applications, so you can be one step ahead of your friends.[Edit: it's now released!]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yswfblog.com/blog/2008/09/23/with-a-little-app-from-my-friends/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Accessible = true;Flash and Flex Accessibility Docs</title>
		<link>http://www.yswfblog.com/blog/2008/07/22/accessible-trueflash-and-flex-accessibility-docs/</link>
		<comments>http://www.yswfblog.com/blog/2008/07/22/accessible-trueflash-and-flex-accessibility-docs/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 17:47:57 +0000</pubDate>
		<dc:creator>Alaric Cole</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.yswfblog.com/blog/2008/07/22/accessible-trueflash-and-flex-accessibility-docs/</guid>
		<description><![CDATA[Adobe just released a draft of some new documentation for accessibility in Flash and Flex. While this doesn&#8217;t mean that the way accessibility is used has changed, it does show that they&#8217;re being more open in its usage. This is big news for component developers like ourselves. Basically, it means that there is now an [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe just released a draft of some new <a href="http://blogs.adobe.com/accessibility/2008/07/draft_documentation_for_flash.html">documentation for accessibility</a> in Flash and Flex. While this doesn&#8217;t mean that the way accessibility is used has changed, it does show that they&#8217;re being more open in its usage. This is big news for component developers like ourselves. Basically, it means that there is now an official recommendation and best practice for implementing accessibility in custom components.</p>
<h3>Summary of What&#8217;s Changed:</h3>
<ul>
<li><code>AccessibilityImplementation</code> is documented for the first time</li>
<li>The <code>Accessibility</code> class is more fully documented</li>
<li>Everything under the <code>mx.accessibility.*</code> package is documented</li>
<li>Examples for accessibility implementations are now available</li>
</ul>
<p>The main class to look at for Flash development is <code>flash.accessibility.AccessibilityImplementation.</code></p>
<p>For Flex, the main point of reference would be <code>mx.accessibility.AccImpl</code> (which, in turn, uses <code>AccessibilityImplementation</code>). Flex component developers can look at the documentation or source code for the accessibility implementations of the standard Flex components, which all extend this <code>AccImpl</code> class. (For instance, <code>mx.controls.Button</code> uses a class called <code>mx.accessibility.ButtonAccImpl</code>, while <code>mx.containers.Panel</code> uses <code>mx.accessibility.PanelAccImpl</code> to enable its accessibility.)</p>
<p>If you&#8217;ve been browsing the source code for Flex components, you may already be familiar with these classes. You may have also noticed the lack of documentation in the source code. That should change in an upcoming release. As for now, you can stay ahead of the curve by checking out this draft.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yswfblog.com/blog/2008/07/22/accessible-trueflash-and-flex-accessibility-docs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ASTRA Aquarium: A Fun and Instructive Example Application</title>
		<link>http://www.yswfblog.com/blog/2007/11/26/astra-aquarium-a-fun-and-instructive-example-application/</link>
		<comments>http://www.yswfblog.com/blog/2007/11/26/astra-aquarium-a-fun-and-instructive-example-application/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 19:51:21 +0000</pubDate>
		<dc:creator>Michael Hoch</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.yswfblog.com/blog/2007/11/26/astra-aquarium-a-fun-and-instructive-example-application/</guid>
		<description><![CDATA[ We just completed the ASTRA Aquarium, a new example that uses all ASTRA 1.0 components (Tree, Menu, TabBar, AutoComplete, and Charts) in one fun application.
Aquarium shows how to integrate these components in a real application and how to customize them for special use. Definite highlights are the custom skins for TabBar and Tree, a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://developer.yahoo.com/flash"><img src="http://www.yswfblog.com/blog/wp-content/uploads/2007/11/aquarium-reflection.jpg" alt="Aquarium screenshot" align="right" border="0" hspace="10" /></a> We just completed the <strong>ASTRA Aquarium</strong>, a new example that uses all <a href="http://developer.yahoo.com/flash/astra-flash/">ASTRA 1.0 components</a> (Tree, Menu, TabBar, AutoComplete, and Charts) in one fun application.</p>
<p>Aquarium shows how to integrate these components in a real application and how to customize them for special use. Definite highlights are the <strong>custom skins</strong> for TabBar and Tree, a <strong>custom CellRenderer</strong> for Tree featuring <strong>interaction </strong>and <strong>animation</strong>, and the <strong>integration</strong> of AutoComplete with Tree via ActionScript. Oh, and yes, we also put in the Charts component to display current statistics. Check out the details at <a href="http://developer.yahoo.com/flash">developer.yahoo.com/flash</a> (&#8221;Featured App&#8221; box on the top right), and we hope you&#8217;ll have fun with it!</p>
<p><img src="http://www.yswfblog.com/blog/wp-content/uploads/2007/11/clownfish.jpg" alt="Clownfish" height="42" width="64" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yswfblog.com/blog/2007/11/26/astra-aquarium-a-fun-and-instructive-example-application/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Yahoo! Pipes + Flash: Smokin&#8217; Good</title>
		<link>http://www.yswfblog.com/blog/2007/09/19/yahoo-pipes-flash-smokin-good/</link>
		<comments>http://www.yswfblog.com/blog/2007/09/19/yahoo-pipes-flash-smokin-good/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 13:30:25 +0000</pubDate>
		<dc:creator>Alaric Cole</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.yswfblog.com/blog/2007/09/19/yahoo-pipes-flash-smokin-good/</guid>
		<description><![CDATA[You&#8217;ve probably heard the buzz about Yahoo! Pipes, a powerful and easy tool for mashing up data from across the Internet. But did you know that Pipes is one of Yahoo!&#8217;s Flash-friendly properties? Our buddies at Pipes have generously deployed an open crossdomain policy file, giving all Flash and Flex developers access to the raw [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably heard the buzz about <a target="_blank" href="http://pipes.yahoo.com" title="Pipes">Yahoo! Pipes</a>, a powerful and easy tool for mashing up data from across the Internet. But did you know that Pipes is one of Yahoo!&#8217;s Flash-friendly properties? Our buddies at Pipes have generously deployed an open crossdomain policy file, giving all Flash and Flex developers access to the raw Pipes output. Just like with Flickr (see <a href="http://www.yswfblog.com/blog/2007/08/29/flickr-now-even-more-flash-friendly/">Allen&#8217;s post</a>), there are no security worries, no roadblocks, and no limits to what you can do with the Pipes data. Pipes can even be your proxy for grabbing data from places that aren&#8217;t themselves accessible using Flash (although some sources may prevent Pipes from accessing their data—you&#8217;ll want to make sure a particular data source works with Pipes before using it.)</p>
<p>If you haven&#8217;t tried Pipes, definitely check it out. It has an intuitive visual interface that allows you to import and manipulate data from across the web, with zero coding skills necessary! Want to mash up all your favorite RSS feeds into a single super-feed? How about checking Flickr images against recent news articles? Whatever you create, you can export to your preferred format, ready to view in a reader or, as shown below, in your own interface built with Flash or Flex.</p>
<p>Once you create a pipe or try one of the many already available, you are just a couple of steps away from using that data in Flash. In the example below, we are using a simple pipe that aggregates some news feeds. First, let&#8217;s <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=fELaGmGz2xGtBTC3qe5lkA&amp;textinput1=Yahoo" title="Aggregated News Alerts">run the pipe</a> and choose <strong>More Options &gt; Get as RSS</strong>.</p>
<p><img src="http://www.yswfblog.com/blog/wp-content/uploads/2007/09/pipes-screenshot.gif" alt="pipes-screenshot.gif" /></p>
<p><a href="http://www.yswfblog.com/blog/wp-content/uploads/2007/09/get_as_rss.gif" title="Pipes Instructions"></a></p>
<p>Notice that the URL you get is of the form <strong>http://pipes.yahoo.com/pipes/pipe.run?somepipe&amp;_render=rss.</strong> That&#8217;s <em>almost </em>the URL you&#8217;ll use to retrieve the XML data, but not quite. For security purposes, most of Yahoo! APIs use <strong>*.yahooapis.com</strong> as the API entrypoint. So once you replace <strong>pipes.yahoo.com</strong> with <strong>pipes.yahooapis.com</strong> in that URL, you&#8217;re in business (note that there&#8217;s no crossdomain on pipes.yahoo.com, but there is one on pipes.yahooapis.com—that&#8217;s what&#8217;s working the magic.) Now, if your pipe has any parameters you need to include, just build out the URL as needed and send it along.</p>
<p>Here&#8217;s a really simple example in Flex that uses the <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=fELaGmGz2xGtBTC3qe5lkA">pipe described above</a>.<br />
<script type="text/javascript" src="http://www.yswfblog.com/swfobject.js"></script></p>
<p id="flashcontent2">Please <a href="http://www.adobe.com/products/flashplayer/">install Flash 9</a> to see this example.</p>
<p><script type="text/javascript">                              var so = new SWFObject("http://www.yswfblog.com/blog/wp-content/uploads/2007/09/17/pipes_in_flex/YahooBlogs.swf", "mymovie", "530", "200", "8", "#FFFFFF");      so.write("flashcontent2"); </script></p>
<p>Check out the source <a href="http://www.yswfblog.com/blog/wp-content/uploads/2007/09/17/pipes_in_flex/srcview/" title="Flex Pipes Example">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yswfblog.com/blog/2007/09/19/yahoo-pipes-flash-smokin-good/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Developing with the Display List in ActionScript 3</title>
		<link>http://www.yswfblog.com/blog/2007/09/06/developing-with-the-display-list-in-actionscript-3/</link>
		<comments>http://www.yswfblog.com/blog/2007/09/06/developing-with-the-display-list-in-actionscript-3/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 18:43:44 +0000</pubDate>
		<dc:creator>Josh Tynjala</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.yswfblog.com/blog/2007/09/06/developing-with-the-display-list-in-actionscript-3/</guid>
		<description><![CDATA[If you&#8217;re migrating from AS2 to AS3, or you&#8217;re just getting started with Flash development, you may be interested in an article I wrote for the Yahoo! Flash Developer Center entitled Developing with the Display List in ActionScript 3. It focuses on the basics of display list manipulation, important changes you may encounter if you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re migrating from AS2 to AS3, or you&#8217;re just getting started with Flash development, you may be interested in an article I wrote for the <a href="http://developer.yahoo.com/flash/">Yahoo! Flash Developer Center</a> entitled <a href="http://developer.yahoo.com/flash/articles/display-list.html">Developing with the Display List in ActionScript 3</a>. It focuses on the basics of display list manipulation, important changes you may encounter if you&#8217;re migrating from ActionScript 2, and best practices for communicating between MovieClips and other DisplayObjects.</p>
<p>As many new developers moving to ActionScript 3 discover, the new language is stricter and many of the shortcuts one may have taken in the past with AS2 will have certain roadblocks that must be crossed in AS3. The article tries to outline the best ways to understand the changes, work around them as needed, and most importantly, how to develop applications and websites in AS3 so that you don&#8217;t need to use these workarounds. I included several source code examples, including the progression of a simple application as I try to update it with best practices.</p>
<p>If you&#8217;re looking to write more flexible and maintainable AS3 code, or you&#8217;d like to help a fellow developer who is struggling with the changes from AS2 to AS3, I hope <a href="http://developer.yahoo.com/flash/articles/display-list.html">the article</a> will be helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yswfblog.com/blog/2007/09/06/developing-with-the-display-list-in-actionscript-3/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
