<?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>deleteaso &#187; ActionScript3</title>
	<atom:link href="http://deleteaso.com/category/actionscript3/feed/" rel="self" type="application/rss+xml" />
	<link>http://deleteaso.com</link>
	<description>When something's not working delete aso files</description>
	<lastBuildDate>Mon, 12 Apr 2010 16:01:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AS3 SVN Library</title>
		<link>http://deleteaso.com/as3-svn-library/</link>
		<comments>http://deleteaso.com/as3-svn-library/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 21:12:58 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[fuelindustries]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://deleteaso.com/?p=225</guid>
		<description><![CDATA[A few months ago I started writing a svn protocol library in as3. It started with an idea for a internal tool that would allow us to select files from our svn code repository and export it and all of it&#8217;s code dependencies. And because I haven&#8217;t done a lot of work with ByteArray, or [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago I started writing a svn protocol library in as3. It started with an idea for a internal tool that would allow us to select files from our svn code repository and export it and all of it&#8217;s code dependencies. And because I haven&#8217;t done a lot of work with ByteArray, or Sockets before I was pretty excited about giving this a shot. My first attempts where really rough and basic and worked for the most part, but were in no shape to be in the form of a nice library. I let it sit for a while as I was busy getting ready for FOTB and Flashpitt. Then one night I started doing some more research about the protocol and found that SVNKit, a Java SVN library, was open source. So I started going through all the source and spent a great deal of time going through how the code was structured. I couldn&#8217;t just do a straight port because of the differences that data gets returned between Java and AS3. Long story short the way they have it set up is you can make the call to the server and on the next line read the input. In AS3 you need to wait for your event to come back, and there is no guarantees that all of it is going to come back in one event either. But I was able to port some important parts like reading and writing the data. I&#8217;ve tried to keep the API&#8217;s similar, but there are instances where they just couldn&#8217;t be or didn&#8217;t make sense to. One of my goals for this project to is to make it as platform independent as possible. And by that I mean I want you to be able to use the library in the web, air, and any other Flash Player 10 player. I&#8217;ve tried to abstract out the parts that deal with writing files to disk so that this could be accomplished. But there may come a point where a feature may need AIR for whatever reason. But I&#8217;ll cross that bridge when I get to it. If that feature isn&#8217;t a super high priority chances are I will leave it out just for that reason.</p>
<p>That all being said I just made a fairly big commit today to the <a href="http://code.google.com/p/fuelas3svn/" target="_blank">google code repository</a>. It isn&#8217;t fully featured yet and only supports the svn:// protocol. Once I get some more of that protocol completed I plan on doing the http:// protocol. In the wiki there is an example AIR app that allows you to display directories in a tree, export files and folders, as well as trace out the log for any item in the repository. </p>
<p>This is still a work in progress and lots to do before it gets to a really stable state. For instance the Error handling is almost non-existent but I have placed a lot of //TODO where the errors need to be thrown. I also only have 1 svn server to test on so I am not sure how running it in other environments will work out. </p>
<p>I have created the library to a point where I can create our internal app, so I am not entirely sure what features I will tackle next. I may try doing commit and add, but those are fairly big. So if you have any requests I am all ears. </p>
]]></content:encoded>
			<wfw:commentRss>http://deleteaso.com/as3-svn-library/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>AS3 FP10 FileReference.save bug</title>
		<link>http://deleteaso.com/as3-fp10-filereferencesave-bug/</link>
		<comments>http://deleteaso.com/as3-fp10-filereferencesave-bug/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 23:14:45 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://deleteaso.com/?p=180</guid>
		<description><![CDATA[While playing with FileReference.save today in Flash Player 10 I found a REALLY REALLY BIG BUG. It seems that if you go to overwrite a file it appends it&#8217;s contents instead of replacing.
1. Copy and paste the code below into a blank fla in CS4.
2. Compile the swf and save a file.
3. Close the swf
4. [...]]]></description>
			<content:encoded><![CDATA[<p>While playing with FileReference.save today in Flash Player 10 I found a REALLY REALLY BIG BUG. It seems that if you go to overwrite a file it appends it&#8217;s contents instead of replacing.</p>
<p>1. Copy and paste the code below into a blank fla in CS4.<br />
2. Compile the swf and save a file.<br />
3. Close the swf<br />
4. repeat step 2<br />
5. Open the test.txt file. </p>
<p>I am on OSX and haven&#8217;t tested on a PC.</p>

<div class="wp_syntax"><div class="code"><pre class="as3" style="font-family:monospace;">var str:String = &quot;12345&quot;;
var ba:ByteArray = new ByteArray();
ba.writeUTFBytes( str );
&nbsp;
var fr:FileReference = new FileReference();
fr.save(ba, &quot;test.txt&quot;);</pre></div></div>

<p>I did a quick search on the Adobe bug base and found some related issues from 2008 but they where for downloading files from the net.</p>
]]></content:encoded>
			<wfw:commentRss>http://deleteaso.com/as3-fp10-filereferencesave-bug/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>gotoAndStop in AS3</title>
		<link>http://deleteaso.com/gotoandstop-in-as3/</link>
		<comments>http://deleteaso.com/gotoandstop-in-as3/#comments</comments>
		<pubDate>Sat, 28 Apr 2007 16:06:52 +0000</pubDate>
		<dc:creator>julian</dc:creator>
				<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://deleteaso.com/gotoandstop-in-as3/</guid>
		<description><![CDATA[I have been busy re-writing our AS2 libraries to AS3 this week and encountered something that will easily trip up most people. And of course I didn&#8217;t see it in any documentation anywhere. Basically the issue is that in AS2 when you navigated to a frame using mc.gotoAndStop() you would have access to all the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been busy re-writing our AS2 libraries to AS3 this week and encountered something that will easily trip up most people. And of course I didn&#8217;t see it in any documentation anywhere. Basically the issue is that in AS2 when you navigated to a frame using mc.gotoAndStop() you would have access to all the elements on that frame. But now in AS3 they aren&#8217;t available right away. I found a great post by Senocular that explains this and shows the solution. <a href="http://www.kirupa.com/forum/showpost.php?p=2113726&amp;postcount=358" target="_blank">Check out the post here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://deleteaso.com/gotoandstop-in-as3/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
