<?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>JabbyPanda’s travel to RIA world &#187; Adobe Flash</title>
	<atom:link href="http://www.jabbypanda.com/blog/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jabbypanda.com/blog</link>
	<description>it's RIA, not Rio</description>
	<lastBuildDate>Sun, 18 Sep 2011 22:53:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>When  2 &#8211; 1 = 2 when doing math operations with dates in ActionScript</title>
		<link>http://www.jabbypanda.com/blog/2011/09/when-2-1-when-doing-math-operations-with-dates-in-actionscript/</link>
		<comments>http://www.jabbypanda.com/blog/2011/09/when-2-1-when-doing-math-operations-with-dates-in-actionscript/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 14:07:04 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe Flash]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=290</guid>
		<description><![CDATA[&#160;&#160;&#160;Let’s say we have the following simple use-case: we have to create a calendar with Month view. The Month view can start on any day, it can be 1st of March, it can be 15th of March, it can be even 31th of March. &#160;&#160;&#160;So, assume that our current date range starts with 31th of [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;Let’s say we have the following simple use-case: we have to create a calendar with Month view. The Month view can start on any day, it can be 1st of March, it can be 15th of March, it can be even 31th of March.</p>
<p>&nbsp;&nbsp;&nbsp;So, assume that our current date range starts with 31th of March.  And now, what if we want to scroll the date back one month? Hah,easy, you would jump immediately with straightforward solution, just subtract  1 month from current Date.</p>
<p>&nbsp;&nbsp;&nbsp;Writing a few lines of code, doing some traces….</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> startDate : <span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span> <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2011</span>, <span style="color: #cc66cc;">2</span>, <span style="color: #cc66cc;">31</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> newDate : <span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span> <span style="color: #66cc66;">&#40;</span>startDate.<span style="color: #0066CC;">time</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//displays Thu Mar 31 2011</span>
&nbsp;
<span style="color: #0066CC;">trace</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;startDate=&quot;</span>, startDate.<span style="color: #006600;">toDateString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; 
newDate.<span style="color: #006600;">month</span>--;		
&nbsp;
<span style="color: #0066CC;">trace</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;newDate=&quot;</span>, newDate.<span style="color: #006600;">toDateString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//displays Thu Mar 3 2011</span></pre></div></div>

<p>..and wait a minute, how it is possible that 2 – 1 = 2 for new month value?</p>
<p>&nbsp;&nbsp;&nbsp;Well, the issue is that Flash Player behind the scene is fixing invalid resulting date for February month. We could not have February date with 31 days,  so somebody has to do something about it, right? </p>
<p>&nbsp;&nbsp;&nbsp;To sum up we should remember about this feature of Flash Player when dealing with invalid dates and the correct operation for subtracting 1 month from existing date can be the following:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> startDate : <span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span> <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2011</span>, <span style="color: #cc66cc;">2</span>, <span style="color: #cc66cc;">31</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> initNewDate : <span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span>startDate.<span style="color: #0066CC;">time</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #000000; font-weight: bold;">var</span> newDate : <span style="color: #0066CC;">Date</span>;
&nbsp;
initNewDate.<span style="color: #006600;">month</span>--;				
newDate = handleShorterMonths<span style="color: #66cc66;">&#40;</span>startDate, initNewDate, <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">trace</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;newDate=&quot;</span>, newDate.<span style="color: #006600;">toDateString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">//displays Mon Feb 28 2011</span>
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> handleShorterMonths<span style="color: #66cc66;">&#40;</span>startDate : <span style="color: #0066CC;">Date</span>, dateToCheck :<span style="color: #0066CC;">Date</span>, monthIndex : <span style="color: #0066CC;">int</span><span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">Date</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">var</span> correctDate : <span style="color: #0066CC;">Date</span> = dateToCheck;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>dateToCheck.<span style="color: #0066CC;">date</span> <span style="color: #66cc66;">&lt;</span> startDate.<span style="color: #0066CC;">date</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
        correctDate.<span style="color: #0066CC;">date</span> = startDate.<span style="color: #0066CC;">date</span> - dateToCheck.<span style="color: #0066CC;">date</span>;	
	correctDate.<span style="color: #006600;">month</span> = monthIndex;
   <span style="color: #66cc66;">&#125;</span>
   <span style="color: #b1b100;">return</span> correctDate; 
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Interactive sample with view source enabled that illustrates the issue: </p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Test_Dates_2082197614"
			class="flashmovie"
			width="700"
			height="200">
	<param name="movie" value="http://www.jabbypanda.com/labs/dateMath/Test_Dates.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.jabbypanda.com/labs/dateMath/Test_Dates.swf"
			name="fm_Test_Dates_2082197614"
			width="700"
			height="200">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Alternatively, if you do not like to do Date Math operations by yourself, you can always rely on <a href="http://www.as3commons.org/as3-commons-lang/asdoc/org/as3commons/lang/DateUtils.html">As3Commons  DateUtils.as</a> class. </p>
<p>This utility class has a very well written API to do various Math operations with Dates -  you add days, months, years, etc. to existing date with an ease.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2011/09/when-2-1-when-doing-math-operations-with-dates-in-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google offers Flash 8 based version of Google Talk</title>
		<link>http://www.jabbypanda.com/blog/2007/04/google-offers-flash-8-based-version-of-google-talk/</link>
		<comments>http://www.jabbypanda.com/blog/2007/04/google-offers-flash-8-based-version-of-google-talk/#comments</comments>
		<pubDate>Thu, 05 Apr 2007 12:14:09 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=22</guid>
		<description><![CDATA[In May 2006 Google had acquired small Gtalkr company that had it own IM client that was able to connect to Google Talk network. And results of this Google acquisition from 2006 are clearly visible today in 2007. And now, Ladies and gentlemen, please welcome, an official online version of Google Talk client from Google, [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.techcrunch.com/2006/05/14/gtalkr-shuts-down/">May 2006</a> Google had acquired small Gtalkr company that had it own IM client that was able to connect to Google Talk network.<br />
And results of this Google acquisition from 2006 are clearly visible today in 2007.</p>
<p>And now, Ladies and gentlemen,  please <strong>welcome</strong>, an official online version of Google Talk client from Google, released in 2007, done in <strong>Macromedia Flash 8</strong>.</p>
<p>To experience flash version of online Gtalk client, please visit the page <a href="http://www.google.com/talk/">http://www.google.com/talk/</a> and press button "Launch Google Talk".</p>
<p><img src="http://www.google.com/talk/images/gadget_roster.gif" alt="google talk" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2007/04/google-offers-flash-8-based-version-of-google-talk/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flash 9 == Flash CS3 and Adobe CS3 package is going to be ANNOUNCED later at this month</title>
		<link>http://www.jabbypanda.com/blog/2007/03/flash-9-flash-cs3-and-adobe-cs3-package-is-going-to-be-released-later-at-this-month/</link>
		<comments>http://www.jabbypanda.com/blog/2007/03/flash-9-flash-cs3-and-adobe-cs3-package-is-going-to-be-released-later-at-this-month/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 09:39:28 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=21</guid>
		<description><![CDATA[Accordingly to Macword.co.uk Adobe CS3 will be announced at 27th of March, 2007 at a special event in New York. Although I do not have a precise information what is inside Adobe CS3 box, but the forthcoming renaming of Flash 9 to Flash CS3 gives me some hints that Flash 9 CAN be a part [...]]]></description>
			<content:encoded><![CDATA[<p>Accordingly to <a href="http://www.macworld.co.uk/procreative/news/index.cfm?newsid=17399">Macword.co.uk</a> Adobe CS3 will be announced at 27th of March, 2007 at a special event in New York.</p>
<p>Although I do not have a precise information what is inside <a href="http://www.whatisinthebox.co.uk/">Adobe CS3 box</a>, but the forthcoming <a href="http://thanksmister.com/?p=48">renaming</a> of Flash 9 to Flash CS3 gives me some hints that Flash 9 CAN be a part of Adobe CS3 package.</p>
<p>What do you think? </p>
<p>UPDATE: This is only an announcement date, the software is going to be actually <a href="http://blogs.adobe.com/creativesolutionspr/">shipped </a> later in the spring'07.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2007/03/flash-9-flash-cs3-and-adobe-cs3-package-is-going-to-be-released-later-at-this-month/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Handling button events in Flash 8 by event capturing has some caveats</title>
		<link>http://www.jabbypanda.com/blog/2006/12/handling-button-events-in-flash-8-by-event-capturing-is-not-cool/</link>
		<comments>http://www.jabbypanda.com/blog/2006/12/handling-button-events-in-flash-8-by-event-capturing-is-not-cool/#comments</comments>
		<pubDate>Thu, 14 Dec 2006 15:59:00 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=17</guid>
		<description><![CDATA[The situation is as follows: I have an extenal asset in SWF format with some "onPress" button event handlers specified. I load this external asset via MovieClipLoader class into the SWF container and all those "onPress" button event handlers became unresponsive because of the SWF container itself has specified event handlers for another! button events [...]]]></description>
			<content:encoded><![CDATA[<p>The situation is as follows:</p>
<p>I have an extenal asset in SWF format with some "<em>onPress</em>" button event handlers specified.</p>
<p>I load this external asset via MovieClipLoader class into the SWF container and all those "<em>onPress</em>" button event handlers became unresponsive because of the SWF container itself has specified event handlers for <strong>another! </strong> button events - "<em>onRollOver</em>" and "<em>onRollOut</em>".</p>
<p>Code for embedding external SWF asset follows:</p>
<pre style='color:#000000;background:#ffffff;'>var myMCL <span style='color:#808030; '>=</span> <span style='color:#800000; font-weight:bold; '>new</span> MovieClipLoader<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span><span style='color:#696969; '>//create an instance of MovieClipLoader</span>
myMCL<span style='color:#808030; '>.</span>loadClip<span style='color:#808030; '>(</span><span style='color:#800000; '>"</span><span style='color:#0000e6; '>externalAsset.swf</span><span style='color:#800000; '>"</span><span style='color:#808030; '>,</span> <span style='color:#800000; '>"</span><span style='color:#0000e6; '>_root.image1_mc</span><span style='color:#800000; '>"</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
myMCL<span style='color:#808030; '>.</span>onLoadComplete <span style='color:#808030; '>=</span> function <span style='color:#808030; '>(</span>targetMC<span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
          image_mc<span style='color:#808030; '>.</span>onRollOver <span style='color:#808030; '>=</span> function<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
              trace <span style='color:#808030; '>(</span>"onRollOver button handler works great<span style='color:#808030; '>,</span>
              but my onPress button <span style='color:#800000; font-weight:bold; '>event</span> handlers are lost"<span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
 <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>
</pre>
<p>The article written by <a href="http://www.senocular.com/flash/tutorials/buttoncapturing/">Trevor McCauley</a> gave me an good insight to create an solution for this type of the problem, but I do not like the fact by itself that such a problem occurred =)</p>
<p>My solution is to substitute <em>onRollOver </em>event handler with <em>onMouseMove </em>event handler ( which is not a <strong>button </strong>event):</p>
<pre style='color:#000000;background:#ffffff;'><span style='color:#800000; font-weight:bold; '>this</span><span style='color:#808030; '>.</span>onMouseMove <span style='color:#808030; '>=</span> onCustomMouseMove<span style='color:#800080; '>;</span>
function onCustomMouseMove<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
 <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>bgd_mc<span style='color:#808030; '>.</span>hitTest<span style='color:#808030; '>(</span>_root<span style='color:#808030; '>.</span>_xmouse<span style='color:#808030; '>,</span> _root<span style='color:#808030; '>.</span>_ymouse<span style='color:#808030; '>,</span> <span style='color:#800000; font-weight:bold; '>true</span><span style='color:#808030; '>)</span><span style='color:#808030; '>)</span>  <span style='color:#800080; '>{</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>image1_mc<span style='color:#808030; '>.</span>_xscale <span style='color:#808030; '>&lt;</span> MAX_SCALE &amp;&amp; bgd_mc<span style='color:#808030; '>.</span>_width <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> <span style='color:#008c00; '>215</span> &amp;&amp;
<span style='color:#808030; '>!</span>myTween1<span style='color:#808030; '>.</span>isPlaying<span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
   growImage<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
 <span style='color:#800080; '>}</span> <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800080; '>{</span>
  <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>image1_mc<span style='color:#808030; '>.</span>_xscale <span style='color:#808030; '>></span> MIN_SCALE &amp;&amp; bgd_mc<span style='color:#808030; '>.</span>_width <span style='color:#808030; '>=</span><span style='color:#808030; '>=</span> MAX_WIDTH &amp;&amp; <span style='color:#808030; '>!</span>myTween1<span style='color:#808030; '>.</span>isPlaying<span style='color:#808030; '>)</span> <span style='color:#800080; '>{</span>
   shrinkImage<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
  <span style='color:#800080; '>}</span>
 <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2006/12/handling-button-events-in-flash-8-by-event-capturing-is-not-cool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mp3 player was released into production this week at Djuicefuns</title>
		<link>http://www.jabbypanda.com/blog/2006/11/mp3-player-was-released-into-production-this-week-at-djuicefuns/</link>
		<comments>http://www.jabbypanda.com/blog/2006/11/mp3-player-was-released-into-production-this-week-at-djuicefuns/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 12:36:00 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=15</guid>
		<description><![CDATA[Recently, I had programmed a pretty solid mp3 player in AS2, Flash 8. The resulted size of the SWF is 24kb, mainly because of the embedded PNG background bitmap. I relied on External Interface to communicate with JavaScript routines and it works flawlessly for me. SWFObject was used to embed the SWF into the HTML [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I had programmed a pretty solid mp3 player in AS2, Flash 8. The resulted size of the SWF is 24kb, mainly because of the embedded PNG background bitmap. I relied on <a href="http://www.google.com/url?sa=t&#038;ct=res&#038;cd=1&#038;url=http%3A%2F%2Flivedocs.macromedia.com%2Fflash%2F8%2Fmain%2F00002200.html&#038;ei=OZZlRazVM5X0nQO-0OGrDA&#038;usg=__IQEAZdIywAHcYgEJLFshJMiYGJI=&#038;sig2=Nr3wGiEXrsbVfEhHLiMx3w">External Interface </a>to communicate with JavaScript routines and it works flawlessly for me. <a href="http://www.google.com/url?sa=t&#038;ct=res&#038;cd=1&#038;url=http%3A%2F%2Fblog.deconcept.com%2Fswfobject%2F&#038;ei=XpZlRZy6MpycnQPr282pDA&#038;usg=__t6RnAU-8AvwnfeJw-7DnyLfcQcU=&#038;sig2=TM2hSwygETgy6AO8PXu1Hw">SWFObject</a> was used to embed the SWF into the HTML page<br />
It feels really nice to release the product that will be used by 1000+ of people.</p>
<p><a href="http://www.djuicefuns.com">http://www.djuicefuns.com</a></p>
<p>The web-site language is Russian, it is social network with a focus on mobile users.</p>
<p>The mp3 player in particular allows to set 2 markers for the song to allow the cut of the song selection to become a ringtone at the mobile.</p>
<p><img align="middle" alt="djuicefuns mp3 player " title="djuicefuns mp3 player " src="http://www.jabbypanda.com/blog/wp-content/images/mp3_player.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2006/11/mp3-player-was-released-into-production-this-week-at-djuicefuns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Current Flash Player 8 penetration rate has reached 50%!</title>
		<link>http://www.jabbypanda.com/blog/2006/02/current-flash-player-8-penetration-rate-is-high-almost-50/</link>
		<comments>http://www.jabbypanda.com/blog/2006/02/current-flash-player-8-penetration-rate-is-high-almost-50/#comments</comments>
		<pubDate>Thu, 02 Feb 2006 01:05:59 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog2/?p=11</guid>
		<description><![CDATA[Flash 8 player released : 9/13/05 As of December 2005 Flash 8 player penetration rate had reached 45.2% in USA. Compare it with the speed of spread of previous major Flash player version - Flash player 7. Flash 7 player released.: 8/25/03 As of December 2003 Flash 7 player penetration rate had reached 28.9% in [...]]]></description>
			<content:encoded><![CDATA[<p><u>Flash 8 player released </u>: <a href="http://reviews.cnet.com/Macromedia_Flash_8_Professional/4505-6445_7-31468552.html">9/13/05</a></p>
<p>As of December 2005 Flash 8 player penetration rate <a href="http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html">had reached </a><strong>45.2% in USA</strong>.</p>
<p>Compare it with the speed of spread of previous major Flash player version - <em>Flash player 7.</em></p>
<p><u>Flash 7 player released</u>.: <a href="http://reviews.cnet.com/Macromedia_Flash_MX_2004/4505-6445_7-30521343.html"> 8/25/03 </a></p>
<p>As of December 2003 Flash 7 player penetration rate <a href="http://web.archive.org/web/20040211234604/http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html">had reached </a><strong>28.9% in USA</strong>.</p>
<p style="border:1px; margin:5px">
Bottom line:<br />
( taken from blog of <a href="http://weblogs.macromedia.com/emmy/archives/2006/01/flash_player_de.cfm">Emmy Huang, Product Manager of the Flash Player </a>)<br />
This is 56% faster than Flash Player 6 and Flash Player 7 in the first quarters of those releases.<br />
And, based on the server stats from our hosting company, Akamai, Flash Player 8 has been downloaded over 1.4 billion times since the September launch</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2006/02/current-flash-player-8-penetration-rate-is-high-almost-50/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display special characters in Flash &#8211; use URL Encoding</title>
		<link>http://www.jabbypanda.com/blog/2005/08/display-special-characters-in-flash-use-url-encoding/</link>
		<comments>http://www.jabbypanda.com/blog/2005/08/display-special-characters-in-flash-use-url-encoding/#comments</comments>
		<pubDate>Mon, 15 Aug 2005 18:10:26 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog2/?p=4</guid>
		<description><![CDATA[&#160;&#160;&#160; Recently I had to load the text from external source in Flash and from the design of the application I had to rely on LoadVars command. &#160;&#160;&#160; No wonder, that quite soon I came up with a problem that Flash does not display special characters like "+", "%" or "&#038;" if those characters are [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp; Recently I had to load the text from external source in Flash and from the design of the application I had to rely on LoadVars command.</p>
<p>&nbsp;&nbsp;&nbsp;  No wonder, that quite soon I came up with a problem that Flash does not display special characters like "+", "%" or "&#038;" if those characters are loaded into Flash via LoadVars. After a bit of research, I found out that LoadVars object method "load" operates with  URL encoded strings to allow to include  those special characters into string of text.</p>
<p>&nbsp;&nbsp;&nbsp;  A good reference table with URL Encoding table for special characters can be found here at<br />
Flash TechNote <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14143&#038;sliceId=2"> URL Encoding: Reading special characters from a text file</a>.</p>
<p>The more extensive list of Unicode escape sequence codes in PDF format can be obtained from <a href="http://www.unicode.org/charts/PDF/U0000.pdf">Unicode.org</a>.</p>
<p>Therefore in Flash,</p>
<li>Symbol "%" becomes %25 after URL encoded</li>
<li>Symbol "&#038;" becomes %26 after URL encoded</li>
<li>Symbol "+" becomes %2B after URL encoded</li>
<p>and so on...</p>
<p>In ActionScript  code:</p>
<div style="padding:5px; background:#CCCCCC">
<p>this.createTextField("result_ta",1, 0,0,150,20);<br />
result_ta.embedFonts =false;</p>
<p>var myData_lv = new LoadVars();<br />
myData_lv.load ("myText.txt");<br />
myData_lv.onLoad = function()<br />
{<br />
result_ta.text =  myData_lv.sp1_title_1;<br />
}</p></div>
<p>Content of "myText.txt":</p>
<div style="padding:5px; background:#CCCCCC">
&#038;sp1_title_1=Andrew %26 Stas have gained a 5%25 percentage raise %2b good vacation bonus</div>
<p>&nbsp;&nbsp;&nbsp; As a concluding note, an extensive paragraph on how to work with special characters in Flash 6 and higher is written at PDF file:<a href="http://download.macromedia.com/pub/documentation/en/flash/mx2004/fl_usingas_in_flash.pdf">"Using ActionScript in Flash"</a> (Page 118 "Working with text") </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2005/08/display-special-characters-in-flash-use-url-encoding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

