<?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>Daelgren &#187; Flash</title>
	<atom:link href="http://daelgren.com/blog/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://daelgren.com/blog</link>
	<description>Flash Development</description>
	<lastBuildDate>Fri, 11 Feb 2011 21:35:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Super easy external font loading in AS3 Flash</title>
		<link>http://daelgren.com/blog/2010/04/22/super-easy-external-font-loading-in-as3-flash/</link>
		<comments>http://daelgren.com/blog/2010/04/22/super-easy-external-font-loading-in-as3-flash/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 18:31:28 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://daelgren.com/blog/?p=122</guid>
		<description><![CDATA[Here&#8217;s a super easy way to build out a project with external fonts in separate swfs for flash. I use FlashDevelop and the FlexSDK so most of this is related to that usage, but you can just as easily do &#8230; <a href="http://daelgren.com/blog/2010/04/22/super-easy-external-font-loading-in-as3-flash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a super easy way to build out a project with external fonts in separate swfs for flash.</p>
<p>I use FlashDevelop and the FlexSDK so most of this is related to that usage, but you can just as easily do it with Flash using Library Symbols in lieu of the embed tag for embedding the font.</p>
<p>First, built a font swf:</p>
<p>package<br />
{<br />
 import flash.display.Sprite;<br />
 import flash.text.Font;<br />
 <br />
 /**<br />
  * &#8230;<br />
  * @author Bela Korcsog<br />
  */<br />
 public class MainFont extends Sprite<br />
 {<br />
  <br />
  [Embed(source = "../lib/metaboo.ttf",fontName="MetaRoman",mimeType="application/x-font-truetype")]<br />
  public const FontClass:Class;<br />
  <br />
  public function MainFont():void {<br />
   Font.registerFont(this.FontClass);<br />
  }<br />
 }<br />
}</p>
<p>There&#8217;s lots of functions related to the TTF font embedding ability and you can restrict the Unicode ranges for non-roman characters using this embed:</p>
<p>[Embed(source="../lib/arialuni.ttf", fontFamily="ArialUni", fontStyle = "normal",advancedAntiAliasing="true", mimeType="application/x-font-truetype", unicodeRange = "U+0000-U+2019,U+0002-U+201d,U+0004-U+303f,U+0068-U+312c,U+0108-U+31bf,U+0140-U+9faf,U+21052-U+faff,U+ff01-U+ff60")]</p>
<p>You need to use TTF fonts for this as that&#8217;s the only format that the compiler will recognize. You can use an online tool for converting fonts to the correct format (there&#8217;s a lot of them out there but search for online font conversion tool).</p>
<p>In the parent swf, you&#8217;ll need to reregister the fonts for use in the main application. Although the Font Class is static, the Font symbols are not available outside of the registered ApplicationDomain for the swf requesting the Font, so this process is important to complete for the fonts to be recognized and rendered:</p>
<p>Here&#8217;s a snippet that will register the fonts correctly:</p>
<p>package<br />
{<br />
 import flash.display.Loader;<br />
 import flash.display.MovieClip;<br />
 import flash.text.Font;<br />
 /**<br />
  * &#8230;<br />
  * @author Bela Korcsog<br />
  */<br />
 public class Main extends MovieClip<br />
 {<br />
  public var fontloader:Loader;<br />
   <br />
  public function Main():void<br />
  {<br />
   if (stage) init();<br />
   else addEventListener(Event.ADDED_TO_STAGE, init);<br />
  }<br />
  <br />
  private function init(e:Event = null):void {</p>
<p>   removeEventListener(Event.ADDED_TO_STAGE, init);<br />
   fontloader = new Loader();<br />
   fontloader.contentLoaderInfo.addEventListener(Event.COMPLETE, this.fontsloaded);<br />
   fontloader.load(new URLRequest(&#8220;FONTLOADER.swf&#8221;));<br />
  }<br />
  <br />
  private function fontsloaded(e:Event):void {<br />
   e.currentTarget.loader.removeEventListener(Event.COMPLETE, this.fontsloaded);<br />
   for each (var f:Font in Font.enumerateFonts()) {<br />
    if (e.currentTarget.loader.content.loaderInfo.applicationDomain.hasDefinition(f.fontName))<br />
     Font.registerFont(e.currentTarget.loader.content.loaderInfo.applicationDomain.getDefinition(f.fontName) as Class);<br />
   }<br />
  }<br />
 }<br />
}</p>
<p>Next you need to create some text fields to present the font values and use &#8216;embedFonts = true&#8217; on the text field.</p>
<p>et voila.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2010/04/22/super-easy-external-font-loading-in-as3-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Apple investigations</title>
		<link>http://daelgren.com/blog/2010/02/03/more-apple-investigations/</link>
		<comments>http://daelgren.com/blog/2010/02/03/more-apple-investigations/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 18:41:09 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=112</guid>
		<description><![CDATA[HTML Canvas is Apples proposed replacement to Flash / Silverlight. Interesting. http://www.8bitrocket.com/newsdisplay.aspx?newspage=36134 More Flash hater points of interest: http://www.flashmagazine.com/community/detail/everyone_to_their_bases_-_flash_is_under_attack/ Why Microsoft will NEVER support the HTML 5 video and audio tag as they are currently defined (one word &#8212; PATENTS): &#8230; <a href="http://daelgren.com/blog/2010/02/03/more-apple-investigations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>HTML Canvas is Apples proposed replacement to Flash / Silverlight. Interesting.</p>
<p>http://www.8bitrocket.com/newsdisplay.aspx?newspage=36134</p>
<p>More Flash hater points of interest:</p>
<p>http://www.flashmagazine.com/community/detail/everyone_to_their_bases_-_flash_is_under_attack/</p>
<p>Why Microsoft will NEVER support the HTML 5 video and audio tag as they are currently defined (one word &#8212; PATENTS):</p>
<p><span><a href="http://www.internetnews.com/dev-news/article.php/3828901">http://www.internetnews.com/dev-news/article.php/3828901</a></span></p>
<p>Some more details about HTML 5</p>
<p><a href="http://www.webmonkey.com/blog/W3C_Drops_Audio_and_Video_Codec_Requirements_From_HTML_5">http://www.webmonkey.com/blog/W3C_Drops_Audio_and_Video_Codec_Requirements_From_HTML_5</a></p>
<p>A quote that concerns me the most:</p>
<p>&#8220;Now that the web has been elevated to a more powerful computing platform by HTML5, Berners-Lee says it has also given rise to complicated security issues.</p>
<p>“You got a piece of code from site A, and you’re person B running a browser you got from company C, and that code wants to access data stored with company E for the purposes of printing it on a printer owned by company D — How do you build that so that it’s not susceptible to all kinds of nasty attacks?” </p>
<p><a href="http://www.webmonkey.com/blog/Tim_Berners-Lee_Sees_Promise__Challenges_in_HTML5">http://www.webmonkey.com/blog/Tim_Berners-Lee_Sees_Promise__Challenges_in_HTML5</a></p>
<p>At least Adobe would release new versions of the Flash player when security issues were identified in record time &#8212; explain to me how the HTML 5 spec will change to adapt to issues of security if it&#8217;s taken them 6 years so far and they still can&#8217;t solidify the spec.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2010/02/03/more-apple-investigations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple hates Flash?</title>
		<link>http://daelgren.com/blog/2010/02/03/apple-hates-flash/</link>
		<comments>http://daelgren.com/blog/2010/02/03/apple-hates-flash/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 18:27:44 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=108</guid>
		<description><![CDATA[In all the hub-bub about the iPad (needlessly btw &#8212; it&#8217;s a hobbled consumer toy and nothing more) Apple has been proposing that the Flash Player is the biggest cause of crashes on the Mac. Recently I&#8217;ve been seeing remote &#8230; <a href="http://daelgren.com/blog/2010/02/03/apple-hates-flash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In all the hub-bub about the iPad (needlessly btw &#8212; it&#8217;s a hobbled consumer toy and nothing more) Apple has been proposing that the Flash Player is the biggest cause of crashes on the Mac.</p>
<p>Recently I&#8217;ve been seeing remote data requests randomly dropping when requested from Flash Player based swf content. I&#8217;m sure that Adobe could enlighten me about why these requests would fail but in general if you request an image or some other element, in Apple&#8217;s operating system you may receive the &#8216;response&#8217; that an image has been received prior to the image actually being delivered as data. This would cause any flash movie coded to load data to fail if the Event request returns COMPLETE but the actual data is null until a period of time has passed (I&#8217;ve seen 206&#8242;s and 200&#8242;s returning data AFTER the request has completed). In fact if you code poorly in Flash (handling the Event.COMPLETE and ignoring the content that is returned &#8212; just adding the Loader class to the display list using addChild and when the actual data is received the loader will display the data) then you won&#8217;t see the issue &#8212; but during this weird issue you may see the beachball of death on the Mac if the swf has been coded with the reasonable expectation that the returned data will not be null. If a Flash Player can cause stability issues this is not a problem of a plug in for the browser but it indicates an inherent issue with the operating system that doesn&#8217;t do proper process blocking and multitasking. The flash player is a simple dll process and if you have such a poorly built operating system that a dll can crash it then you&#8217;ve got real problems and are masking them by blaming folks for coding to your specs and expecting that you&#8217;ll get a good experience.</p>
<p>In a regular browser experience this isn&#8217;t an issue since the request isn&#8217;t as intelligent as a request from a Flash Player based request. There&#8217;s no validation generally to whether the image has been received and data loaded into the img src of an html page since that doesn&#8217;t really factor into the equation.</p>
<p>What does this mean? Well, this has been a progressive experience issue, that Apple has modified over a period of time rather than immediately.</p>
<p>Is this on purpose? I have no clue, but it does appear to target experiences such as those of Flash and Silverlight as opposed to the browser img loading experience. It just seems odd that they would announce that the Flash Player is the biggest issue for stability after introducing these kinds of changes and recording these issues. I wonder if they would go back in time to an earlier version of the flash player prior to introduction of Mac OS 10.4 and show us the results of the Flash Player experience prior to introduction of the Apple experience of the iPhone where they first targeted the Flash Player as an item that would be considered an experience issue.</p>
<p>I&#8217;m just posting my observation since I use both Mac and PC operating systems and have switched to the PC from the mac cause at least the PC doesn&#8217;t have these issues that the Mac is experiencing.</p>
<p>Funny, two years ago I would have said the opposite.</p>
<p>I&#8217;ve got an example of a link that works great on a PC, but fails on a Mac and it appears that randomly the slate image will return a null value:</p>
<p><a href="http://www.amazon.com/gp/feature.html?ie=UTF8&amp;docId=1000410491&amp;tag=googhydr-20&amp;hvadid=4644437547&amp;ref=pd_sl_76g5frn7c1_b">http://www.amazon.com/gp/feature.html?ie=UTF8&amp;docId=1000410491&amp;tag=googhydr-20&amp;hvadid=4644437547&amp;ref=pd_sl_76g5frn7c1_b</a></p>
<p>Check it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2010/02/03/apple-hates-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 Netstream Video stops during seek</title>
		<link>http://daelgren.com/blog/2009/09/23/as3-netstream-video-stops-during-seek/</link>
		<comments>http://daelgren.com/blog/2009/09/23/as3-netstream-video-stops-during-seek/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 15:29:07 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=93</guid>
		<description><![CDATA[I&#8217;ve noted this in other areas but there is a serious bug in the netstream class or i&#8217;m not doing it right. Here&#8217;s the deal &#8212; during the seek of a low keyframe video asset the netstream may end up &#8230; <a href="http://daelgren.com/blog/2009/09/23/as3-netstream-video-stops-during-seek/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve noted this in other areas but there is a serious bug in the netstream class or i&#8217;m not doing it right.</p>
<p>Here&#8217;s the deal &#8212; during the seek of a low keyframe video asset the netstream may end up sending a stop even if you try to seek to a point in the video after the last keyframe. It&#8217;s pretty consistent and very irritating.</p>
<p>During seek events this event is fired:</p>
<ul>
<li>NetStream.Seek.Notify</li>
</ul>
<p>And at some point during interaction with the video player the netstream will fire a series of Flush and possibly a Full event.<br />
At this point, if you seek to a point past the last keyframe you&#8217;ll generate a:</p>
<ul>
<li>NetStream.Play.Stop</li>
</ul>
<p>and end your interaction arbitrarily.<br />
<span id="more-93"></span><br />
The solution is to limit your seek values to a point prior to the second last keyframe, which you can get from the metadata on load of the video asset:</p>
<p>Here&#8217;s a sample of a metadatahandler:<br />
<code><br />
public function onMetaData(info:Object):void {</p>
<p>for (var prop:String in info) {<br />
if (typeof(info[prop]) == "object") {<br />
var ii:Number = info[prop].length-1;<br />
if (ii == 0) {<br />
// it's an object as opposed to the array of other values in the metadata and a candidate for our keyframe object in the metadata.<br />
var propy:String;<br />
for (propy in info[prop]) {<br />
// keyframes is the object, and times is the array of keyframe times<br />
if (prop == "keyframes" &amp;&amp; propy == "times") {<br />
lastkeyframe = info[prop][propy][info[prop][propy].length - 3];<br />
}<br />
}<br />
}<br />
} else {</p>
<p>if (isNaN(lastkeyframe)) {</p>
<p>lastkeyframe = info['lastkeyframetimestamp'];</p>
<p><span> </span>}</p>
<p><span style="white-space:pre"> </span>}<br />
}<br />
</code><br />
I&#8217;m assuming that you&#8217;re using some kind of encoder that adds the correct metadata values (Buraks FLVMDI is a good alternative). Sadly, if you can&#8217;t get the keyframes you&#8217;ll end up hacking in a negative value to the injected metadata value of &#8216;lastkeyframetimestamp&#8217; which doesn&#8217;t solve the problem.</p>
<p>Very irritating!</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2009/09/23/as3-netstream-video-stops-during-seek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling a JSON service function from Flash AS3</title>
		<link>http://daelgren.com/blog/2009/07/24/calling-a-json-service-function-from-flash-as3/</link>
		<comments>http://daelgren.com/blog/2009/07/24/calling-a-json-service-function-from-flash-as3/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 05:20:19 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=75</guid>
		<description><![CDATA[Here’s a quick way to call a JSON request without loading a bunch of Classes and wrangling Adobe’s methods: I’ve used a simple serializer from Designvox which was ported from the Vegas framework at osflash.org. It suits my sensibilities and &#8230; <a href="http://daelgren.com/blog/2009/07/24/calling-a-json-service-function-from-flash-as3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here’s a quick way to call a JSON request without loading a bunch of Classes and wrangling Adobe’s methods:</p>
<p><span id="more-75"></span></p>
<p>I’ve used a simple serializer from Designvox which was ported from the Vegas framework at osflash.org. It suits my sensibilities and keeps my code down to a minimum.</p>
<blockquote><p>var uvars:URLVariables = new URLVariables();<br />
(add values using format uvars[name of var] or uvars.(name of var) = …)</p>
<p>var ureq:URLRequest = new URLRequest();<br />
ureq.url = (JSON service gateway url)<br />
ureq.method = URLRequestMethod.POST;<br />
ureq.data = JSON.serialize(uvars);<br />
ureq.contentType = &#8220;application/json&#8221;;</p>
<p>var uload:URLLoader = new URLLoader();<br />
uload.addEventListener(Event.COMPLETE, this.complete);<br />
uload.load(ureq);</p>
<p>private function complete(e:Event):void {<br />
trace(e.currentTarget.data);</p>
<p>var do:Object = JSON.deserialize(e.currentTarget.data);<br />
}</p></blockquote>
<p>This is it. JSON serialized strings are stored in the ‘data’ of the URLRequest and when you complete the load you can use JSON.deserialize(e.data) to create a data object to interpret in your code.</p>
<p>Attached is the JSON class from designvox:</p>
<p><a href="http://www.daelgren.com/blog/wp-content/uploads/2009/07/json.as">Download the JSON class from this link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2009/07/24/calling-a-json-service-function-from-flash-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 2 mac / pc and errant empty navigate/getURL requests</title>
		<link>http://daelgren.com/blog/2008/12/03/firefox-2-mac-pc-and-errant-empty-navigategeturl-requests/</link>
		<comments>http://daelgren.com/blog/2008/12/03/firefox-2-mac-pc-and-errant-empty-navigategeturl-requests/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 15:53:02 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=73</guid>
		<description><![CDATA[I had a bug that was nagging me for a while, mainly because it only shows up on Mac and XP machines (neither of which i use for development) and i thought i&#8217;d share it here since it&#8217;ll show up &#8230; <a href="http://daelgren.com/blog/2008/12/03/firefox-2-mac-pc-and-errant-empty-navigategeturl-requests/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had a bug that was nagging me for a while, mainly because it only shows up on Mac and XP machines (neither of which i use for development) and i thought i&#8217;d share it here since it&#8217;ll show up again for someone somewhere.</p>
<p><span id="more-73"></span></p>
<p>Here&#8217;s the senario:</p>
<p>You&#8217;ve coded up an image request/mp3/url to some data of some kind. Server developers are working and in general make lots of edits to your xml data. Sometimes they assume that entering nothing into a url location is a valid way of stopping a url request, but in general i would remove the node altogether rather than enter nulls into valid data areas, since i believe you shouldn&#8217;t ship data that is unnessesary to the ui (to optimize the xml data in this case, since it can grow quite large).</p>
<p>For example:<br />
&lt;url&gt;&lt;/url&gt;</p>
<p>Now, in most browsers this is just fine, but Firefox 2 is special in that it considers an empty html request as valid and attempts to load the root of the current site instead of ignoring the empty request. This will cause further execution of any request to halt and stop the site.</p>
<p>In general, i hate to validate data &#8212; data should be prevalidated before it gets sent to the UI (preferably in the initial data entry action) and you should assume in programming a UI that all data is prevalidated, otherwise you end up in spagetti code situations where you are validating data on a per item case, and can build up a huge unnessary mess of code validating each individual field.</p>
<p>A simple rule for server developers: don&#8217;t send to the UI what the UI doesn&#8217;t need, prevalidate data entry and ensure the database isn&#8217;t muddy. Normalization usually will handle this for you but I&#8217;ve seen many SQL db&#8217;s that are just straight tables so I know it&#8217;s unrealistic to expect in all cases.</p>
<p>So, when this kind of thing comes up, check for empty values in url requests.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2008/12/03/firefox-2-mac-pc-and-errant-empty-navigategeturl-requests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dataservices &#8212; What to chose when running a client/server application and flash?</title>
		<link>http://daelgren.com/blog/2008/12/02/dataservices-what-to-chose-when-running-a-clientserver-application-and-flash/</link>
		<comments>http://daelgren.com/blog/2008/12/02/dataservices-what-to-chose-when-running-a-clientserver-application-and-flash/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 11:40:15 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=70</guid>
		<description><![CDATA[I was looking for data on which backend implementation of data services was the best to use in flash, and everyone is talking REST these days and just straight xml data. But there&#8217;s still much to be desired in using &#8230; <a href="http://daelgren.com/blog/2008/12/02/dataservices-what-to-chose-when-running-a-clientserver-application-and-flash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was looking for data on which backend implementation of data services was the best to use in flash, and everyone is talking REST these days and just straight xml data.</p>
<p>But there&#8217;s still much to be desired in using a more optimized pipeline, especially when dealing with large amount of data or many concurrent connections or heavy bandwidth utilization. Does the service really scale? Is REST really battle tested? Doesn&#8217;t KISS still apply when it comes to online applications that really need to be responsive to the user of the system? I deal with architects with many odd and varied bias&#8217;, but in general if you can show them real world tests they&#8217;ll come around generally.</p>
<p>I came across an excellent example of many great tests being run realtime at James Ward&#8217;s site:</p>
<div class="mceTemp">
<dl id="attachment_71" class="wp-caption alignnone" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://daelgren.com/blog/wp-content/uploads/2008/12/dataservicesflash.jpg"><img class="size-medium wp-image-71" title="http://www.jamesward.com/census/" src="http://www.daelgren.com/blog/wp-content/uploads/2008/12/dataservicesflash-300x180.jpg" alt="Example of many of the popular data services available today to flash developers" width="300" height="180" /></a></dt>
<dd class="wp-caption-dd">Example of many of the popular data services available today to flash developers</dd>
</dl>
<p>Try it yourself <a href="http://www.jamesward.com/census/">here</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2008/12/02/dataservices-what-to-chose-when-running-a-clientserver-application-and-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Daelgren presentation engine</title>
		<link>http://daelgren.com/blog/2008/10/02/daelgren-presentation-engine/</link>
		<comments>http://daelgren.com/blog/2008/10/02/daelgren-presentation-engine/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 17:02:52 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=61</guid>
		<description><![CDATA[As i&#8217;ve been hinting at for months i&#8217;ve been working on a presentation system for flash. I&#8217;m very close to rolling my first project using the system and having extrapolated what is part of the framework from what is custom &#8230; <a href="http://daelgren.com/blog/2008/10/02/daelgren-presentation-engine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As i&#8217;ve been hinting at for months i&#8217;ve been working on a presentation system for flash. I&#8217;m very close to rolling my first project using the system and having extrapolated what is part of the framework from what is custom development for the project in question is very close to complete you should expect that i&#8217;ll have more details related to the effort posted soon.</p>
<p>In the meantime, here&#8217;s a short overview of what is included in the system:</p>
<ul>
<li>External Font and Styling</li>
<li>Page description templating</li>
<li>Navigation and deeplinking support (using swfaddress, swfobject and swffit)</li>
<li>Animation attributes (using Tweener)</li>
<li>TextField support</li>
<li>Loader Extensions</li>
<li>Sound Extensions</li>
<li>Broadcaster implementation</li>
<li>Preloading and asset management</li>
<li>IPreloader, IComponent, DComponent and additional support classes for building custom controls for use in the presentation system</li>
<li>Focus on separation of UI and content for easy modification without recompilation of the source (for enhanced stability and reductions of QA cycles required to build a AS3 based Flash site)</li>
</ul>
<p>This project is at a production ready state, but at this point i would consider the engine at a version 1 RC state. I expect that over the next few months there will be enhancements that will substantially change the core functionality but not the defined templating format or external asset managment requirements.</p>
<p>Keep an eye on this site for more information soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2008/10/02/daelgren-presentation-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic Masks and Flash player 9 / 10</title>
		<link>http://daelgren.com/blog/2008/09/23/dynamic-masks-and-flash-player-9-10/</link>
		<comments>http://daelgren.com/blog/2008/09/23/dynamic-masks-and-flash-player-9-10/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 14:24:15 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=57</guid>
		<description><![CDATA[I came across a very interesting bug that i&#8217;m in the process of working around. Basically, i&#8217;ve created an image gallery with dynamic masks that contain wipes that are transitioned over the individual movieclips. The stack is composed this way: &#8230; <a href="http://daelgren.com/blog/2008/09/23/dynamic-masks-and-flash-player-9-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I came across a very interesting bug that i&#8217;m in the process of working around.</p>
<p>Basically, i&#8217;ve created an image gallery with dynamic masks that contain wipes that are transitioned over the individual movieclips.</p>
<p>The stack is composed this way:</p>
<p>Container MC &gt;</p>
<p>    Image MC &gt;</p>
<p>        Loader MC for Loader content</p>
<p>        Mask Sprite (attaches to Loader MC)</p>
<p>        Mask MC is used to transition the effect.</p>
<p>In Flash 9 on PC, there&#8217;s no problem and all the wipes execute correctly.</p>
<p>In Flash 9 on Mac, the wipes do not function after the first wipe completes.</p>
<p>In Flash 10 on both platforms, the wipes function as they do on Flash 9 for Mac &#8212; which is to say they do not work correctly.</p>
<p>I&#8217;m working on a solution for this project which will be a workaround for Flash 9 Mac (and i&#8217;m assuming Flash 10), but I don&#8217;t like the alternative solution since it&#8217;s not as elegant as just doing it all in code and creating masks dynamically.</p>
<p>Needless to say, test on both platforms, and in the newest player when developing, since they don&#8217;t all behave the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2008/09/23/dynamic-masks-and-flash-player-9-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Crossdomain changes in Flash 10 affect S3 users</title>
		<link>http://daelgren.com/blog/2008/09/23/crossdomain-changes-in-flash-10-affect-s3-users/</link>
		<comments>http://daelgren.com/blog/2008/09/23/crossdomain-changes-in-flash-10-affect-s3-users/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 14:17:04 +0000</pubDate>
		<dc:creator>Bela Korcsog</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.daelgren.com/blog/?p=54</guid>
		<description><![CDATA[There&#8217;s been a few posts recently regarding crossdomain policy changes in Flash 10 affecting S3 users: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&#38;catid=675&#38;threadid=1367135&#38;enterthread=y A little more detail regarding the changes to the top level crossdomain allowing site administrators to control sub directory located crossdomains. http://neurofuzzy.net/2008/08/27/flash-player-10-will-not-work-with-amazon-s3/ Essentially, &#8230; <a href="http://daelgren.com/blog/2008/09/23/crossdomain-changes-in-flash-10-affect-s3-users/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s been a few posts recently regarding crossdomain policy changes in Flash 10 affecting S3 users:</p>
<p><a href="http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&amp;catid=675&amp;threadid=1367135&amp;enterthread=y">http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&amp;catid=675&amp;threadid=1367135&amp;enterthread=y</a></p>
<p>A little more detail regarding the changes to the top level crossdomain allowing site administrators to control sub directory located crossdomains.</p>
<p><a href="http://neurofuzzy.net/2008/08/27/flash-player-10-will-not-work-with-amazon-s3/">http://neurofuzzy.net/2008/08/27/flash-player-10-will-not-work-with-amazon-s3/</a></p>
<p>Essentially, using S3&#8242;s subdomain feature instead of bucket location (sub directory) allows you to properly control access to your data. There shouldn&#8217;t be any issues with this solution but it&#8217;s good to be aware of these changes.</p>
<p>Some more info for possible redirection of your domain to another site such as the subdomain on s3:</p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"><a href="http://www.carltonbale.com/2007/09/how-to-alias-a-domain-name-or-sub-domain-to-amazon-s3/">http://www.carltonbale.com/2007/09/how-to-alias-a-domain-name-or-sub-domain-to-amazon-s3/</a></span></p>
<p><span style="font-size: 10pt; color: navy; font-family: Arial;"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://daelgren.com/blog/2008/09/23/crossdomain-changes-in-flash-10-affect-s3-users/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

