<?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</title>
 <link>http://www.connectedpixel.com/blog/taxonomy/term/20/all</link>
 <description></description>
 <language>en</language>
<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>Mon, 21 Jul 2008 15:07:46 -0700</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>Fri, 11 Jul 2008 12:23:45 -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>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>Thu, 10 Jul 2008 14:54:07 -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>Flash Forms in PHP with AFLAX</title>
 <link>http://www.connectedpixel.com/blog/tools/aflax</link>
 <description>&lt;p&gt;Paul Colton has ported my Flash 8 &lt;a href=&quot;http://www.aflax.org/examples/wood/wood.html&quot; target=&quot;newwin&quot;&gt;wood texture&lt;/a&gt; code to &lt;a href=&quot;http://www.aflax.org&quot; target=&quot;newwin&quot;&gt;AFLAX&lt;/a&gt;.  It&#039;s amazing that it works so well.  He must have figured out some sneaky, under-the-hood code  to make it work (sneaky in a good way).  Still blows my mind.&lt;/p&gt;
&lt;p&gt;In addition to creating typical Flash movies, here&#039;s another possible use for AFLAX: Flash Forms for PHP (or ASP.NET for that matter).&lt;/p&gt;
&lt;p&gt;Until recently, I had no idea what Flash Forms were.  But a couple nights ago, I attended an &lt;a href=&quot;http://www.mmsug.org/?q=node/249&quot; target=&quot;newwin&quot;&gt;mmsug&lt;/a&gt; meeting where Derek Versteegen demonstrated some work he&#039;s done with Flash Forms and how they work.  &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/11">JavaScript</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/7">Tools</category>
 <pubDate>Wed, 02 Jul 2008 15:09:51 -0700</pubDate>
</item>
<item>
 <title>Flash8 Perlin Wood Texture</title>
 <link>http://www.connectedpixel.com/blog/texture/wood</link>
 <description>&lt;p&gt;The Flash 8 documentation for perlinNoise() has this intriguing statement:&lt;/p&gt;  
&lt;blockquote style=&quot;font-style: normal&quot;&gt;&lt;p&gt;
You can use Perlin noise functions to simulate natural phenomena and landscapes, such as wood grain, clouds, and mountain ranges.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;OK. That sounds like fun.  But how is this done?  It&#039;s not immediately obvious, at least not to me.  So I googled .&lt;/p&gt;  
&lt;p&gt;
According to these links (&lt;a href=&quot;http://freespace.virgin.net/hugo.elias/models/m_perlin.htm&quot; target=&quot;newwin&quot; &gt;here&lt;/a&gt; and &lt;a href=&quot;http://www.soe.ucsc.edu/classes/cmps260/Spring02/submit/weishen/html/&quot; target=&quot;newwin&quot;&gt;here&lt;/a&gt;), the formula for wood is:&lt;/p&gt;
&lt;code class=&quot;mathEq&quot; &gt;g = perlin(x,y) * 20;&lt;br /&gt;
grain = g - int(g);&lt;/code&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/8">Tutorials</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Fri, 11 Apr 2008 18:47:10 -0700</pubDate>
</item>
<item>
 <title>&quot;Ultimate Aqua Button&quot; in Flash8</title>
 <link>http://www.connectedpixel.com/blog/flash/graphics/aquabutton1</link>
 <description>&lt;p&gt;Since OSX first appeared, I&#039;ve been in love with the aqua button look.  I still love it.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.communitymx.com/&quot; target=&quot;newwin&quot;&gt;CommunityMX&lt;/a&gt; has a great tutorial by &lt;a href=&quot;http://www.communitymx.com/author.cfm?cid=2008&quot; target=&quot;newwin&quot;&gt;Brian Edgin&lt;/a&gt; on &lt;a href=&quot;http://www.communitymx.com/content/article.cfm?cid=4CB81&quot; target=&quot;newwin&quot;&gt;creating an aqua button with Fireworks&lt;/a&gt;.  It looks like a real piece of glass. I&#039;ve seen a few &lt;a href=&quot;http://www.vectorkid.com/tutorials.html&quot; target=&quot;newwin&quot;&gt;Flash-only aqua buttons&lt;/a&gt;.  They&#039;re very cool, but they&#039;re not as nice as the Fireworks version. Flash 7 was not capable of that degree of realism.&lt;/p&gt;
&lt;p&gt;But now we have blends and filters in Flash 8.  We can make an all-vector aqua button with the same quality as the Fireworks version.&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>
 <pubDate>Fri, 11 Apr 2008 18:48:05 -0700</pubDate>
</item>
<item>
 <title>Flash Below the Browser Fold Gotchas</title>
 <link>http://www.connectedpixel.com/blog/flash/gotcha/belowfold</link>
 <description>&lt;p&gt;If your browser-embedded flash movie is not scrolled into view when it initializes, you can run into some weird, browser-dependent problems.&lt;/p&gt;
&lt;p&gt;Here&#039;s what I&#039;ve found:&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>Fri, 11 Apr 2008 18:49:38 -0700</pubDate>
</item>
<item>
 <title>Spirographs in Flash</title>
 <link>http://www.connectedpixel.com/blog/flashexp/graph/lissajou/1</link>
 <description>&lt;p&gt;Do you remember playing with a Spirograph when you were a kid?  Did you ever go to one of those rock-music laser shows at the planetarium?  (I think they went out of style in the mid 80&#039;s.)  Those complicated-looking patterns can be described mathematically as parametric equations where x and y are sinusoidal functions of a parameter t.&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/17">Math</category>
 <category domain="http://www.connectedpixel.com/blog/taxonomy/term/21">ActionScript</category>
 <pubDate>Fri, 11 Apr 2008 18:49:58 -0700</pubDate>
</item>
</channel>
</rss>
