<?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>*drawlogic &#187; bytearray</title>
	<atom:link href="http://drawlogic.com/tag/bytearray/feed/" rel="self" type="application/rss+xml" />
	<link>http://drawlogic.com</link>
	<description>interactive and game development technologies for the web - flash, flex, unity3d, silverlight, javascript</description>
	<lastBuildDate>Thu, 22 Dec 2011 21:55:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Director 11.5 Released with ByteArray Support</title>
		<link>http://drawlogic.com/2009/03/28/director-115-released-with-bytearray-support/</link>
		<comments>http://drawlogic.com/2009/03/28/director-115-released-with-bytearray-support/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 03:06:34 +0000</pubDate>
		<dc:creator>drawk</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[3D ENGINES]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[DEVELOPMENT]]></category>
		<category><![CDATA[DIRECTOR]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[GAMEDEV]]></category>
		<category><![CDATA[GAMES]]></category>
		<category><![CDATA[MARKET]]></category>
		<category><![CDATA[TECHNOLOGY]]></category>
		<category><![CDATA[unity3d]]></category>
		<category><![CDATA[bytearray]]></category>
		<category><![CDATA[NEWS]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://drawlogic.com/?p=500</guid>
		<description><![CDATA[ Director 11.5 was quietly released last week at GDC with a few nice upgrades. The sound library is updated to Dolby surround 5.1.  Director 11 now supports ByteArray and binary data handling.  It also states support for Flash 9 swfs. Previously Director 11 did not work well/atall with AS3/Flash 9 swfs which made it nearly useless. [...]]]></description>
			<content:encoded><![CDATA[<p> <img class="alignright" title="Director 11.5" src="http://i81.photobucket.com/albums/j223/drawkbox/director.png" alt="" width="206" height="114" /><strong><a href="http://www.adobe.com/products/director/upgrade/" target="_blank">Director 11.5 was quietly released</a> last week at GDC with a few nice upgrades.</strong></p>
<ul>
<li>The sound library is updated to Dolby surround 5.1. </li>
<li>Director 11 now supports ByteArray and binary data handling. </li>
<li>It also states support for Flash 9 swfs.  Previously Director 11 did not work well/atall with AS3/Flash 9 swfs which made it nearly useless.</li>
<li>Streaming support for audio and video with RTMP (red5, flash media server, etc)</li>
<li>Updated video support</li>
<li>Bitmap and audio filters for video</li>
</ul>
<p>I still think Director is on decline unless they open up the development platform, lose Lingo and allow a real IDE to develop with.  So frustrating being restrained to that IDE that is not very flexible and cumbersome to extend and code in when you compare it with cutting edge IDEs like Unity3D or open source flash IDEs like FlashDevelop. It has been completely removed from our workflow for some time due to new Flash 2.5D engines such as papervision 3d, away 3d and sandy or for more immersive hardware rendered 3d, unity3d. </p>
<p> </p>
<table style="text-align: left; " border="0">
<thead class="headerBlock">
<tr>
<th colspan="4" scope="row">Adobe Director version comparison chart</th>
</tr>
<tr>
<th class="ts" scope="col">Product features</th>
<th class="ts" scope="col">Director 11.5</th>
<th class="ts" scope="col">Director 11</th>
<th class="ts" scope="col">Director MX 2004</th>
</tr>
</thead>
<tbody class="stripe">
<tr>
<th scope="row"> Support for 5.1 surround sound</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Real-time audio mixing</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Audio effects and DSP filters</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> H.264 MPEG-4, FLV, and F4V video support</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Streaming support for audio and video with RTMP</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Ability to apply audio filters on a video</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Ability to apply bitmap filters on a video</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Google SketchUp file import</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Enhanced physics engine with support for dynamic concave rigid bodies</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
</tbody>
<tbody class="stripe">
<tr>
<th scope="row"> ByteArray datatype for binary data handling</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Multiple undo/redo for text editors</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Text rendering and performance optimization</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Cross-domain policy support for Adobe Shockwave® Player</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Mac OS X Leopard support</th>
<td class="yes">Yes</td>
<td class="no">No</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Unicode support</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Microsoft DirectX 9 support</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Advanced physics engine with included  NVIDIA®  PhysX™ support</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> JavaScript dictionary</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Code snippets</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Bitmap filters</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
</tbody>
<tbody class="stripe">
<tr>
<th scope="row"> Microsoft® Windows Vista® support</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Support for Intel® based Macs</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<th scope="row"> Cross-platform projector publishing</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
</tr>
<tr>
<th scope="row"> Web publishing with Adobe Shockwave Player</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
</tr>
<tr>
<th scope="row"> Support for more than 40 video, audio, and image file formats, including SWF</th>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
<td class="yes" style="text-align: left; ">Yes</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://drawlogic.com/2009/03/28/director-115-released-with-bytearray-support/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Amazing New Feature for Flash 10 &#8211; FileReference Runtime Access</title>
		<link>http://drawlogic.com/2008/05/17/amazing-new-feature-for-flash-10/</link>
		<comments>http://drawlogic.com/2008/05/17/amazing-new-feature-for-flash-10/#comments</comments>
		<pubDate>Sat, 17 May 2008 19:22:47 +0000</pubDate>
		<dc:creator>drawk</dc:creator>
				<category><![CDATA[ACTIONSCRIPT]]></category>
		<category><![CDATA[ACTIONSCRIPT3]]></category>
		<category><![CDATA[ADOBE]]></category>
		<category><![CDATA[APPLICATIONS]]></category>
		<category><![CDATA[ARCHITECT]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[BENCHMARK]]></category>
		<category><![CDATA[DEVELOPMENT]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[FLEX]]></category>
		<category><![CDATA[GAMEDEV]]></category>
		<category><![CDATA[MARKET]]></category>
		<category><![CDATA[PERFORMANCE]]></category>
		<category><![CDATA[PROGRAMMING]]></category>
		<category><![CDATA[RENDERING]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[TECHNOLOGY]]></category>
		<category><![CDATA[alternativa]]></category>
		<category><![CDATA[bytearray]]></category>
		<category><![CDATA[filereference]]></category>
		<category><![CDATA[flash 10]]></category>
		<category><![CDATA[platform]]></category>

		<guid isPermaLink="false">http://drawk.wordpress.com/?p=205</guid>
		<description><![CDATA[I have been consuming all the great additions to Flash 10 this weekend and one that really jumps out after you get past the visual, text and sound features (which are spectacular btw and most of what the community was asking for). But one feature snuck by, this is the one that ByteArray (Thibault Imbert) [...]]]></description>
			<content:encoded><![CDATA[<p>I have been consuming all the great additions to Flash 10 this weekend and one that really jumps out after you get past the visual, text and sound features (which are spectacular btw and most of what the community was asking for).  But one feature snuck by, this is the one that <a href="http://www.bytearray.org/?p=133" target="_blank">ByteArray (Thibault Imbert) </a>mentions/pointed out for managing files directly within Flash.</p>
<blockquote><p><strong><span style="text-decoration:underline;">File Reference runtime access</span> </strong>— Bring users into the experience by letting them load files into your RIA. <strong>You can work with the content at runtime and even save it back when you are done through the browse dialog box. Files can be accessed as a byteArray or text using a convenient API in ActionScript without round-tripping to the server.</strong> You no longer have to know a server language or have access to a server to load or save files at runtime.</p></blockquote>
<p>This greatly lowers the bar to using Flash as a photo editor, document manager, customized application experiences, marking up content and saving locally, all without the need for server side script.  I am a big fan of server side technologies and develop with them but even for bettering performance this could be huge.</p>
<p>Scenarios where this might be useful is editing applications, note taking (download a book with your notes), editors for docs/games/3d/textures,,, the possibilities are endless really.</p>
<p><strong>Flash 9 just got mainstream and production ready (<a href="http://www.adobe.com/products/player_census/flashplayer/version_penetration.html" target="_blank">flash 9 penetration</a>) at the tail end of last year but there are so many great things in the new version that I hope it comes out very soon. </strong>Flash it turning into quite a platform.</p>
<p><a href="http://blog.alternativaplatform.com/en/2008/05/16/alternativa-3d-flash-player-10-astro/" target="_blank">Alternativa Platform also has updated their engine for Flash 10</a> already (they must have had some inside early accessibility to it) and there are great possibilities here.</p>
<p>It is only beta (Flash 10) but there are great market opportunities to prepare for when this launches.  Keep your eye on where the puck will be, not where it is currently at. I was concerned when Adobe bought Macromedia and the future of Flash but it appears they are taking this bull by the horns.</p>
<p><strong>If you are ready to play with Flash 10 here is <a href="http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x" target="_blank">Flex </a>and <a href="http://www.flashdevelop.org/community/viewtopic.php?t=3039" target="_blank">FlashDevelop</a> updates to help you get started.</strong></p>
<p>Also here is some code posted at ByteArray from Pleh for testing the new FileReference runtime access, usage is extremely simple and rests on this</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> data<span style="color: #339933;">:</span>ByteArray <span style="color: #339933;">=</span> fileRef<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'data'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">/*
  FileReference Load Example By Pleh 17/05/08
*/</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">package</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">import</span> flash.<span style="color: #660066;">display</span>.<span style="color: #660066;">Loader</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">import</span> flash.<span style="color: #660066;">display</span>.<span style="color: #660066;">Sprite</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">import</span> flash.<span style="color: #660066;">events</span>.<span style="color: #660066;">Event</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">import</span> flash.<span style="color: #660066;">events</span>.<span style="color: #660066;">MouseEvent</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">import</span> flash.<span style="color: #660066;">net</span>.<span style="color: #660066;">FileReference</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">import</span> flash.<span style="color: #660066;">net</span>.<span style="color: #660066;">FileFilter</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">import</span> flash.<span style="color: #660066;">utils</span>.<span style="color: #660066;">ByteArray</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #003366; font-weight: bold;">public</span> <span style="color: #003366; font-weight: bold;">class</span> Flash10Test <span style="color: #003366; font-weight: bold;">extends</span> Sprite
	<span style="color: #009900;">&#123;</span>
		<span style="color: #003366; font-weight: bold;">private</span> <span style="color: #003366; font-weight: bold;">var</span> fileRef<span style="color: #339933;">:</span>FileReference<span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #003366; font-weight: bold;">public</span> <span style="color: #003366; font-weight: bold;">function</span> Flash10Test<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			fileRef <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> FileReference<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			fileRef.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#40;</span>Event.<span style="color: #660066;">SELECT</span><span style="color: #339933;">,</span> selectFile<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			fileRef.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#40;</span>Event.<span style="color: #000066;">OPEN</span><span style="color: #339933;">,</span> openFile<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			stage.<span style="color: #660066;">addEventListener</span><span style="color: #009900;">&#40;</span>MouseEvent.<span style="color: #660066;">CLICK</span><span style="color: #339933;">,</span>stageClick<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #003366; font-weight: bold;">private</span> <span style="color: #003366; font-weight: bold;">function</span> selectFile<span style="color: #009900;">&#40;</span>e<span style="color: #339933;">:</span>Event<span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span> <span style="color: #009900;">&#123;</span>
			fileRef<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'load'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #003366; font-weight: bold;">private</span> <span style="color: #003366; font-weight: bold;">function</span> openFile<span style="color: #009900;">&#40;</span>e<span style="color: #339933;">:</span>Event<span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #003366; font-weight: bold;">var</span> data<span style="color: #339933;">:</span>ByteArray <span style="color: #339933;">=</span> fileRef<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'data'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			<span style="color: #003366; font-weight: bold;">var</span> loader<span style="color: #339933;">:</span>Loader <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Loader<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			loader.<span style="color: #660066;">loadBytes</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			addChild<span style="color: #009900;">&#40;</span>loader<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #003366; font-weight: bold;">private</span> <span style="color: #003366; font-weight: bold;">function</span> stageClick<span style="color: #009900;">&#40;</span>e<span style="color: #339933;">:</span>Event<span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#123;</span>
			fileRef.<span style="color: #660066;">browse</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #003366; font-weight: bold;">new</span> FileFilter<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;All Formats (*.jpg,*.gif,*.png,*.swf)&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;*.jpg;*.gif;*.png;*.swf&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;JPEG;jp2_;GIFF;SWFL&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://drawlogic.com/2008/05/17/amazing-new-feature-for-flash-10/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
	</channel>
</rss>

