<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="2.0" xml:base="http://www.connectedpixel.com/blog">
<channel>
 <title>connectedpixel.com - Flash Articles</title>
 <link>http://www.connectedpixel.com/blog/taxonomy/vocab/1/0</link>
 <description>Entries related to Macromedia Flash.</description>
 <language>en</language>
<item>
 <title>Preloader strategy examples</title>
 <link>http://www.connectedpixel.com/blog/preloader_user_attentionmanagement</link>
 <description>&lt;p&gt;Here&#039;s a excellent tutorial on preloader animations.  Includes human interface implications.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.connectedpixel.com/blog/preloader_user_attentionmanagement&quot;&gt;Read more&lt;/a&gt;&lt;/p&gt;
</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/6">Performance</category>
 <pubDate>Mon, 31 Mar 2008 11:05:14 -0700</pubDate>
</item>
<item>
 <title>Big Data Scrolling Flex Charts</title>
 <link>http://www.connectedpixel.com/blog/scrollingcharts</link>
 <description>&lt;p&gt;If your TextArea has a lot of text, you get a scroll bar.    If your datagrid has too many rows or columns, you get scroll bars.  If your Image is too large, you can put it inside a container with scrollbars.  Charts, however, do not have scrollbars.  Charts with too much data look like this:&lt;/p&gt;</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/24">Flex</category>
 <pubDate>Wed, 27 Feb 2008 10:45:10 -0800</pubDate>
</item>
<item>
 <title>Callback filter functions in E4X</title>
 <link>http://www.connectedpixel.com/blog/e4x/callbackfilters</link>
 <description>&lt;p&gt;While porting some xpath-heavy AS2 code to AS3, I ran into problems.  E4X (new and improved xml support in AS3) seems to make xpath obsolete.  However, all the E4X query examples in the docs use hard-coded literals. I can&#039;t use literals because I don&#039;t know at code-time what the queries are going to be. My AS2 code creates xpath paths dynamically from variables.   What is the E4X equivalent?&lt;/p&gt;
&lt;p&gt;
After some initial confusion on my part, I now get it.  In retrospect, what&#039;s below seems obvious -- but that&#039;s the way it always is.&lt;/p&gt;
&lt;h4&gt;
Selecting a variable-named node type&lt;/h4&gt;
&lt;p&gt;
Let&#039;s work with this xml:
&lt;/p&gt;</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/25">AS3</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/24">Flex</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Mon, 02 Apr 2007 07:48:07 -0700</pubDate>
</item>
<item>
 <title>Detecting unwell xml</title>
 <link>http://www.connectedpixel.com/blog/debug/xml/wellformed</link>
 <description>&lt;p&gt;If an XML file is created manually or edited manually, it is easy to misspell a closing tag, misplace a greater than sign or forget a quote mark – it&#039;s easy to create non-well-formed xml.  Flash will not be able to read it and your application will fail.  Furthermore, it might load some of the data and operate in a mysterious, crippled fashion, and the cause of the problem will not be obvious.&lt;/p&gt;
</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/2">Debugging</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Wed, 02 Jul 2008 14:52:24 -0700</pubDate>
</item>
<item>
 <title>More embedded font strangeness – CSS</title>
 <link>http://www.connectedpixel.com/blog/fonts/cssembedding</link>
 <description>&lt;p&gt;I thought I was done with the Flash-embedded-font in my &lt;a href= &quot;http://www.connectedpixel.com/blog/fonts/embedding&quot; target=&quot;_blank&quot;&gt;previous blog entry&lt;/a&gt;, but there is more.   I received an email requesting help with CSS and embedded fonts, and when I looked into it, found some quirks related to the CSS specified font-family and bold/italic text.&lt;/p&gt;
</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/19">Gotchas</category>
 <pubDate>Wed, 03 Jan 2007 19:37:43 -0800</pubDate>
</item>
<item>
 <title>The Unbearable Strangeness of Embedding Fonts</title>
 <link>http://www.connectedpixel.com/blog/fonts/embedding</link>
 <description>&lt;p&gt;The &#039;why&#039; and &#039;how&#039; of embedding fonts is a Flash 101 topic. The main &#039;why&#039; is that the
user can&#039;t see fonts that she doesn&#039;t have. If your swf uses these
fonts, you need to bundle them in the swf (or with the swf). The &#039;how&#039; also seems very simple: in the properties
panel for a given text field, click the &#039;Embed&#039; button and select the
character range you want to embed. Click OK. Done. Move on. &lt;/p&gt;
&lt;p&gt;But it&#039;s really not that simple. Once you start using fonts in a shared library, referring to embedded fonts in a css file, etc. weird problems start popping up. I&#039;ve had embedded text working in some swfs but not others, static fields displaying garbage and bloated swfs.&lt;/p&gt;</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/19">Gotchas</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/4">Graphics</category>
 <pubDate>Wed, 03 Jan 2007 19:19:45 -0800</pubDate>
</item>
<item>
 <title>Preprocessor ASSERTS in ActionScript</title>
 <link>http://www.connectedpixel.com/blog/debug/asserts</link>
 <description>&lt;p&gt;Unlike most other computer languages, when ActionScript code fails, it fails silently.  If my code sends an undefined argument to a function, there is no crash, no alert message, nothing scary.&lt;/p&gt;
&lt;p&gt;Overall, this is a good thing.  If my live swf hits a bug, it might work just fine, no one is the wiser and life goes goes on blissfully unaware.&lt;/p&gt;
&lt;p&gt;This behavior has a downside, however.  The bug that is ignored now might cascade into a serious problem later -- in the next frame or in some code far away from the source of the problem.  And I&#039;m left scratching my head trying to figure out the original source of the problem in my code.  The appearance of the problem and the source of the problem may be far apart.&lt;/p&gt;</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/2">Debugging</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/7">Tools</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Wed, 02 Jul 2008 15:05:38 -0700</pubDate>
</item>
<item>
 <title>Array.sortOn does not work with MovieClips</title>
 <link>http://www.connectedpixel.com/blog/gotcha/sorton</link>
 <description>&lt;p&gt;This problem drove me crazy.  I&#039;d thought I&#039;d get it in the google-verse so anyone else who runs into it can benefit from my pain.&lt;/p&gt;
&lt;p&gt;Array.sortOn() does not seem to work when the array elements are objects derived from MovieClip. The following code demonstrates.&lt;/p&gt;
&lt;p&gt;Simple class.  &quot;zz&quot; property will be used to sort an array of these objects.&lt;/p&gt;</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/19">Gotchas</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Mon, 02 Oct 2006 13:59:49 -0700</pubDate>
</item>
<item>
 <title>Bandwidth Limit/Monitor tool</title>
 <link>http://www.connectedpixel.com/blog/bandwidth/netlimiter</link>
 <description>&lt;p&gt;I was working on a website that needs to adapt to bandwidth. To really test it, I had to run it over the Internet -- the &#039;simulate download&#039; feature didn&#039;t cut it in this case.  And, I don&#039;t have a dial-up modem anymore. Furthermore, the adaptive features needs to work over a variety of bandwidths.&lt;/p&gt;
&lt;p&gt;I found a cheap, very useful tool:  &lt;a href= &quot;http://www.netlimiter.com/&quot; target=&quot;_blank&quot; &gt;Netlimiter 2&lt;/a&gt;.  The pro version is only $30.  There is also a lite version.  With this tool, you can limit and/or monitor the bandwith and bytes downloaded for each application and each ip address.&lt;/p&gt;
</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/7">Tools</category>
 <pubDate>Fri, 11 Apr 2008 18:42:45 -0700</pubDate>
</item>
<item>
 <title>My Carpal-Tunnel Solution</title>
 <link>http://www.connectedpixel.com/blog/ergonomic/standup</link>
 <description>&lt;p&gt;It was about 10 years ago when carpal-tunnel first hit me.  Every time I put my hand on my mouse, I&#039;d get spasms of pain in my various parts of my arm. I tried special ergonomic mice and trackballs, but they didn&#039;t help.   I tried speech recognition software, but it was a joke. Whether I could continue with my profession was becoming an issue.  I even tried moving the mouse with my feet.  Nose mousing was next.&lt;/p&gt;
&lt;p&gt;Then I discovered the &lt;a href= &quot;http://www.wacom.com&quot; target=&quot;_blank&quot; &gt;Wacom tablet&lt;/a&gt;.  For a long time, it was a godsend.  The pain almost went away -- but not forever.&lt;/p&gt;
</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/10">Ergonomics</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/23">Off Topic</category>
 <pubDate>Wed, 14 May 2008 08:44:57 -0700</pubDate>
</item>
<item>
 <title>Face Morph - Part 1, Morphin&#039; George</title>
 <link>http://www.connectedpixel.com/blog/morph/animmorph</link>
 <description>&lt;p&gt;Unlike Grant Skinner&#039;s &lt;a 
href=&quot;http://www.gskinner.com/blog/archives/2005/10/flash_8_gooify.html&quot; target=&quot;_blank&quot; 
&gt;gooify&lt;/a&gt;, which is a free-form distortion, the morph presented here is more constrained.  
It has an editable triangle mesh (which I&#039;m not showing right now).&lt;/p&gt;</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/4">Graphics</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Wed, 07 Jun 2006 08:04:28 -0700</pubDate>
</item>
<item>
 <title>Simulate download: Static vars not re-initialized</title>
 <link>http://www.connectedpixel.com/blog/gotcha/ide/staticinit</link>
 <description>&lt;p&gt;The &#039;Simulate Download&#039; feature in the Flash IDE is very useful.  It can help debug race conditions that are a cause of intermittent problems.  However, it can also lead you astray.&lt;/p&gt;
&lt;p&gt;
Problem: AS2 static variables are NOT reinitialized when you hit control-Enter the 2nd time to go into simulate-download mode.&lt;/p&gt;  
&lt;p&gt;If you&#039;d like to try it, here&#039;s a simple test class:&lt;/p&gt;</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/19">Gotchas</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Fri, 11 Apr 2008 18:44:09 -0700</pubDate>
</item>
<item>
 <title>Flash Perlin Texture Components: Wood and Marble</title>
 <link>http://www.connectedpixel.com/blog/texture/components/woodmarble</link>
 <description>&lt;p&gt;A while back, I wrote about rendering &lt;a href = &quot;/blog/texture/wood&quot; &gt;Wood&lt;/a&gt; and &lt;a href=&quot;/blog/texture/marble&quot; &gt;Marble&lt;/a&gt; using Perlin noise.  But I&#039;ve found that these code bits are a pain to use.  You need to write code just to see them.  You can&#039;t work with them in the Flash IDE; i.e. they are inconvenient.&lt;/p&gt;
&lt;p&gt;Solution: package them in components with live preview.  That way you can see them, adjust their color visually, mask them, drop shadow them, etc.&lt;/p&gt;
</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/4">Graphics</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Fri, 11 Apr 2008 18:44:46 -0700</pubDate>
</item>
<item>
 <title>#include for jsfl</title>
 <link>http://www.connectedpixel.com/blog/jsfl/includeclass</link>
 <description>&lt;p&gt;Unlike ActionScript, JSFL does not have an include directive.   I&#039;ve started writing some useful jsfl classes, but having no include means a lot of copying and pasting and duplicated code.  This is a bad thing.&lt;/p&gt;
</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/20">Flash</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/22">JSFL</category>
 <pubDate>Fri, 11 Apr 2008 18:45:16 -0700</pubDate>
</item>
<item>
 <title>Component Array Parameter Gotcha</title>
 <link>http://www.connectedpixel.com/blog/gotcha/component/arrayparam</link>
 <description>&lt;p&gt;So the other day, I was working on a component that has an inspectable set/get array property.  I could not get it work.  Although the default value for this array was not zero length and the parameter in the dialog box was not zero length, the set function was being called with a zero-length array at initialization.&lt;/p&gt;&lt;p&gt;This was an invalid situation and broke my app.&lt;/p&gt;
&lt;p&gt;Here&#039;s a simplified version of the code:&lt;/p&gt;
</description>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/2">Debugging</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/19">Gotchas</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Fri, 11 Apr 2008 18:45:45 -0700</pubDate>
</item>
</channel>
</rss>
