<?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>ae.hugeobject.com &#187; Flash</title>
	<atom:link href="http://ae.hugeobject.com/archive/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://ae.hugeobject.com</link>
	<description>Just another ae weblog</description>
	<lastBuildDate>Wed, 03 Feb 2010 13:59:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ASForms Version 1.2</title>
		<link>http://ae.hugeobject.com/archive/asforms-version-12/</link>
		<comments>http://ae.hugeobject.com/archive/asforms-version-12/#comments</comments>
		<pubDate>Fri, 21 Apr 2006 08:21:23 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/asforms-version-12/</guid>
		<description><![CDATA[
Have uploaded a updated version of ASForms (1.2).


In this version I have added a very simple button FormButton. There is also an example of how the event management works.



// new button class
var formButton:FormButton = new FormButton(base, "formButton", "Submit", depth++);
formButton.setPos(10,600);
formButton.event = "buttonClicked";
formButton.render();

// setup event manager
var em:EventManager = com.hugeobject.eventManager.EventManager.getInstance();
em.listen("buttonClicked", this, sendResults);


Check it out here.

technorati tags: ASForms, Flash

]]></description>
			<content:encoded><![CDATA[<p>
Have uploaded a updated version of ASForms (1.2).
</p>
<p>
In this version I have added a very simple button <strong>FormButton</strong>. There is also an example of how the event management works.</p>
<p><span id="more-30"></span></p>
<pre>
<code class="actionscript">
// new button class
var formButton:FormButton = new FormButton(base, "formButton", "Submit", depth++);
formButton.setPos(10,600);
formButton.event = "buttonClicked";
formButton.render();

// setup event manager
var em:EventManager = com.hugeobject.eventManager.EventManager.getInstance();
em.listen("buttonClicked", this, sendResults);
</code>
</pre>
<p><a href="http://ae.hugeobject.com/code/asforms/" title="ASForms">Check it out here.</a></p>
<p><!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">technorati tags: <a href="http://technorati.com/tag/ASForms" rel="tag">ASForms</a>, <a href="http://technorati.com/tag/Flash" rel="tag">Flash</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/asforms-version-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASForms released unto the unwary masses</title>
		<link>http://ae.hugeobject.com/archive/asforms-released-unto-the-unwary-masses/</link>
		<comments>http://ae.hugeobject.com/archive/asforms-released-unto-the-unwary-masses/#comments</comments>
		<pubDate>Wed, 19 Apr 2006 14:53:49 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/asforms-released-unto-the-unwary-masses/</guid>
		<description><![CDATA[
ASForms is a very lightweight Actionscript component set. They are basically very similar to forms in HTML, but done in flash. (You know, radio buttons, checkboxes &#8211; that kind of thing). This release is fairly stable yet lacks accessibility and the button class which I&#8217;m still tweaking. The code examples give a basic indication of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ae.hugeobject.com/code/asforms/asforms/" title="ASForms"><img  border="0" alt="ASForms" id="image19" title="ASForms" src="http://ae.hugeobject.com/wp-content/uploads/2006/04/ASForms.jpg" /></a></p>
<p>ASForms is a very lightweight Actionscript component set. They are basically very similar to forms in HTML, but done in flash. (You know, radio buttons, checkboxes &#8211; that kind of thing). This release is fairly stable yet lacks accessibility and the button class which I&#8217;m still tweaking. The code examples give a basic indication of how it all works and I&#8217;ll make an effort to fill in some of the commenting holes over the next couple of weeks.
</p>
<p>The code is released under the <del datetime="2006-04-26T01:51:43+00:00">GPL</del> <a href="http://www.opensource.org/licenses/mit-license.php" title="MIT">MIT</a> and was developed with <a href="http://www.mtasc.org">MTASC</a> strict in a <a href="http://osflash.org/AMES/">AMES</a> dev environment. &nbsp;</p>
<p><a href="http://ae.hugeobject.com/code/asforms/" title="ASForms">Check it out here.</a></p>
<p><!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">technorati tags: <a href="http://technorati.com/tag/Flash" rel="tag">Flash</a>, <a href="http://technorati.com/tag/ASForms" rel="tag">ASForms</a>, <a href="http://technorati.com/tag/Components" rel="tag">Components</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/asforms-released-unto-the-unwary-masses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>as2ant</title>
		<link>http://ae.hugeobject.com/archive/as2ant/</link>
		<comments>http://ae.hugeobject.com/archive/as2ant/#comments</comments>
		<pubDate>Wed, 19 Apr 2006 00:47:33 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/as2ant/</guid>
		<description><![CDATA[
Using ANT files is to me one of the attractions of using open source flash. One of the things that I really like is the ability to be able to compile multiple swfs at once.



While working for the CSIRO a couple of years ago, I was developing 7 education type games (with a scientific emphasis). [...]]]></description>
			<content:encoded><![CDATA[<p>
Using ANT files is to me one of the attractions of using open source flash. One of the things that I really like is the ability to be able to compile multiple swfs at once.
</p>
<p><span id="more-26"></span></p>
<p>
While working for the <a href="http://www.csiro.au/" title="CSIRO">CSIRO</a> a couple of years ago, I was developing 7 education type games (with a scientific emphasis). The games engine was constantly being improved and tweaked as the requirements for the games were really tough. Basically the games had to be completely accessible (tabIndex hell), all text had to be read as sound, they contained video and all of this had to load within 7 seconds (well the user wasn&#8217;t allowed to wait longer than 7 seconds initially so everything had to be streamed strategically). I ended up developing an extensive loading manager which was controllable and smart enough to know what to load next based on user interaction.
</p>
<p>
ANYWAY, my point is that the core engine which controlled these 7 games was constantly being improved. They of course all shared the same core class, but due to the nature of the flash IDE every time I made a change in the core code I had to compile every fla again. As you can imagine this became annoying. And worse because of the time pressures and <em>dynamic</em> deadlines it was hard to keep track of what had been recompiled and what hadn&#8217;t.&nbsp;
</p>
<p>
Today with ANT builds this situation can easily be avoided. By using ANT you can have multiple projects compile with the single ANT build. In other words if the CSIRO games above were being developed in a osflash environment, every time there was a change to the core code, I would only need to run the one ant build which would compile all the movies. As you can imagine this saves so much time and mucking about.
</p>
<p>
This drawn out example <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &nbsp; is to bring attention to <a href="http://www.simonwacker.com/" title="Simon Wacker">simon wackers</a> new as2ant release which you can read more about <a href="http://www.simonwacker.com/blog/archives/000101.php">here.</a> And find out how to implement <a href="http://osflash.org/asdt/logging?s=as2ant" title="as2ant">here.</a> Basically as2ant is a very smart and easy way to use ANT files to build flash movies. The latest release even allows you to include swfmill details within the one ANT build. Previously you had to include a separate swfmill xml for each movie.&nbsp; I&#8217;m in the process of updating my old ANT files to use this latest version of as2ant, but as an example heres a ANT file using the previous version of as2ant. Its compiling 3 swfs using swfmill. I&#8217;ve included at the bottom a method for viewing the swfs in either firefox or the flashviewer. Obviously once I convert it to the new version of as2ant I wont need the separate swfmill files.</p>
<pre>
<code class="actionscript">
&lt;project name=&quot;PhotoFade&quot; default=&quot;compile&quot; basedir=&quot;.&quot;&gt;

&lt;!-- Declares references to needed directories. --&gt;
&lt;property name=&quot;src.dir&quot; location=&quot;src&quot;/&gt;
&lt;property name=&quot;build.dir&quot; location=&quot;build&quot;/&gt;
&lt;property name=&quot;logger.dir&quot; location=&quot;C:\Program Files\eclipse\plugins\org.asdt.logger_0.0.8.build5\lib\flash_classes&quot;/&gt;
&lt;property name=&quot;first.swf&quot; value=&quot;HomePage&quot;/&gt;
&lt;property name=&quot;second.swf&quot; value=&quot;SubPage&quot;/&gt;
&lt;property name=&quot;third.swf&quot; value=&quot;Logos&quot;/&gt;

&lt;!-- Define the SWFMILL task --&gt;

&lt;exec executable=&quot;C:\swfmill\swfmill.exe&quot;&gt;
&lt;arg line=&quot;simple swfmill1.xml ${build.dir}\${ant.project.name}${first.swf}.swf&quot;/&gt;
&lt;/exec&gt;
&lt;exec executable=&quot;C:\swfmill\swfmill.exe&quot;&gt;
&lt;arg line=&quot;simple swfmill2.xml ${build.dir}\${ant.project.name}${second.swf}.swf&quot;/&gt;
&lt;/exec&gt;
&lt;exec executable=&quot;C:\swfmill\swfmill.exe&quot;&gt;
&lt;arg line=&quot;simple swfmill3.xml ${build.dir}\${ant.project.name}${third.swf}.swf&quot;/&gt;
&lt;/exec&gt;

&lt;!-- Define the MTASC ant task --&gt;
&lt;taskdef name=&quot;mtasc&quot; classname=&quot;org.as2lib.ant.Mtasc&quot; classpath=&quot;C:\anttasks\src&quot;/&gt;

&lt;!-- Target that uses the MTASC Ant Task. --&gt;
&lt;!-- header=&quot;${width}:${height}:${framerate}:${bgcolor}&quot; --&gt;
&lt;target name=&quot;compile&quot; description=&quot;builds swfs&quot;&gt;
&lt;mtasc src=&quot;${src.dir}/com/hugeobject/PhotoFade/Application${first.swf}.as&quot; classpath=&quot;${src.dir}:${logger.dir}&quot; swf=&quot;${build.dir}\${ant.project.name}${first.swf}.swf&quot; main=&quot;true&quot; trace=&quot;Log.addMessage&quot;/&gt;
&lt;mtasc src=&quot;${src.dir}/com/hugeobject/PhotoFade/Application${second.swf}.as&quot; classpath=&quot;${src.dir}:${logger.dir}&quot; swf=&quot;${build.dir}\${ant.project.name}${second.swf}.swf&quot; main=&quot;true&quot; trace=&quot;Log.addMessage&quot;/&gt;
&lt;mtasc src=&quot;${src.dir}/com/hugeobject/PhotoFade/Application${third.swf}.as&quot; classpath=&quot;${src.dir}:${logger.dir}&quot; swf=&quot;${build.dir}\${ant.project.name}${third.swf}.swf&quot; main=&quot;true&quot; trace=&quot;Log.addMessage&quot;/&gt;
&lt;/target&gt;


&lt;!-- auto show the swf--&gt;
&lt;exec executable=&quot;C:\Program Files\Macromedia\Flash MX 2004\Players\SAFlashPlayer.exe&quot;&gt;
&lt;arg line=&quot;${build.dir}/${ant.project.name}.swf&quot;/&gt;
&lt;/exec&gt;

&lt;!-- show the swf in a html page in firefox --&gt;
&lt;exec executable=&quot;C:\Program Files\Mozilla Firefox\firefox.exe&quot;&gt;
&lt;arg line=&quot;${build.dir}/${ant.project.name}_index.html&quot;/&gt;
&lt;/exec&gt;

&lt;/project&gt;

</code>
</pre>
</p>
<p><!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">technorati tags: <a href="http://technorati.com/tag/as2ant" rel="tag">as2ant</a>, <a href="http://technorati.com/tag/flash" rel="tag">flash</a>, <a href="http://technorati.com/tag/ant" rel="tag">ant</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/as2ant/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Source Flash RIA development &#8211; case study</title>
		<link>http://ae.hugeobject.com/archive/a-practical-example-of-how-os-flash-beats-macromediaadobe-ide/</link>
		<comments>http://ae.hugeobject.com/archive/a-practical-example-of-how-os-flash-beats-macromediaadobe-ide/#comments</comments>
		<pubDate>Wed, 29 Mar 2006 02:57:31 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/a-practical-example-of-how-os-flash-beats-macromediaadobe-ide/</guid>
		<description><![CDATA[
Summary:
After swapping to an open Source flash solution for a RIA, the following advantages were achieved:

saved over 110 working hours in compile time (that&#8217;s crazy stuff!!!)
integrated into the overall dotnet web application a million times better
less bugs, tighter code, better code
better development environment


technorati tags: Flash, FAMES, AMES, Open source


Last year I was working for the [...]]]></description>
			<content:encoded><![CDATA[<p><a title="placeAd.jpg" href="http://flickr.com/photos/61396654@N00/119618221"><img alt="placeAd.jpg" src="http://static.flickr.com/46/119618221_41b77ac285_m.jpg" /></a><br />
Summary:</p>
<p>After swapping to an open Source flash solution for a RIA, the following advantages were achieved:</p>
<ul>
<li>saved over 110 working hours in compile time (that&#8217;s crazy stuff!!!)</li>
<li>integrated into the overall dotnet web application a million times better</li>
<li>less bugs, tighter code, better code</li>
<li>better development environment</li>
</ul>
<p><!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">technorati tags: <a rel="tag" href="http://technorati.com/tag/Flash">Flash</a>, <a rel="tag" href="http://technorati.com/tag/FAMES">FAMES</a>, <a rel="tag" href="http://technorati.com/tag/AMES">AMES</a>, <a rel="tag" href="http://technorati.com/tag/Open%20source">Open source</a></p>
<p><!-- technorati tags end --></p>
<p><span id="more-12"></span></p>
<p>Last year I was working for the <strong>Trading Post</strong> with a group of five flash developers. The <strong>Trading Post</strong> is similar to <strong>ebay</strong> in design but has the bonus of reproducing its ads in print around Australia (The print version is very popular). In other words, when you place an ad on Trading Post you can choose whether it goes online only or online and in the Trading Post print versions.</p>
<p>We were rebuilding a flash application that allowed people to create ads. The flash RIA was called <strong>PlaceAd</strong> and was a small part of the whole Trading Post rebuild. The rest of the website was also being recoded (C# dotnet). The dotnet team were using <a target="_blank" title="NANT" href="http://nant.sourceforge.net/">NANT</a> (a dotnet version of ant) to build their application and because of the nature of the Flash IDE we were providing pre-compiled swfs for the build. This meant that the build never truly represented the latest flash codebase. It also created an annoying task for us in the flash team to keep on top of what swf was in the build process. Basically in a fully automated process, Flash was the only thing not automated.</p>
<p>The Flash team was full of some very competent people including <a target="_blank" title="Dan Webb" href="http://www.danwebb.net/">Dan Webb</a> (that <a target="_blank" title="Suckerfish" href="http://www.htmldog.com/articles/suckerfish/dropdowns/">suckerfish</a> guy), <a target="_blank" title="Futuretrack5" href="http://www.futuretrack5.com">Dave Rosen</a> (that <a target="_blank" title="Xhtmlised" href="http://www.xhtmlised.com/">xhtmlised</a> guy), David Wyss (a very cluey java programmer) and Nivantha (UI king). We started developing the application with the Flash IDE as normal. However, about a month into the project, the lead flash programmer left and I was put in his place.</p>
<p>The first thing I did as lead programmer was provide a use case for swapping to the <a target="_blank" title="FAMES" href="http://www.osflash.org/fames">FAMES</a> open source flash development environment. <em>(Note: Don&#8217;t use FAMES anymore, use <a target="_blank" title="AMES" href="http://www.osflash.org/ames">AMES).</a></em> It took one whole day to convert the code base over into the new environment. However the bulk of this work was fixing bugs which the Flash IDE didn&#8217;t seem to worry about. <a target="_blank" title="MTASC" href="http://www.mtasc.org/">MTASC</a> wasn&#8217;t as forgiving <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I was confident that using FAMES would save us time and that by using MTASC we would get cleaner code however the big selling point was that we could now integrate PlaceAd into the automatic NANT builds. This meant that when the NANT build was run it would grab the latest flash class files and compile them with MTASC as part of the build. It felt a bit like all of a sudden Flash was now a <em>serious</em> development tool. (<a title="Email me" href="mailto:ae@hugeobject.com">Email me</a> for a copy of the NANT files to build swfs.)</p>
<p>So, after convincing management we got the go ahead to install Eclipse and FAMES on the development machines. The other Flash devs were a little wary about such a rash move but when they first compiled the PlaceAd swf in FAMES they were instantly converted. PlaceAd is a big app with lots of classes and business logic. With the Flash IDE it took <strong>approximately 20 seconds to compile</strong> (on beefy machines). With MTASC it took <strong>two seconds</strong>!!!!!!!!!!!!!!!!</p>
<p><strong>What does this convert to?:</strong></p>
<p><strong>Four developers, 90 classes, 26 weeks, five days a week, eight hours a day, five times an hour = PlaceAd is compiled 20,800 times (approximately).</strong></p>
<p><strong>At 20 seconds per compile that equals 115 hours waiting with the Flash IDE.</strong></p>
<p><strong>At 2 seconds per compile that equals 11 hours with FAMES.</strong></p>
<p><strong>104 hours saved (That&#8217;s over two and a half working weeks).</strong></p>
<p>Apart from the <em>gigantic</em> savings in speed, using FAMES provided a better, more stable PlaceAd. MTASC enforces better code logic and is critical of ambiguous code. The logging provided with FAMES is far superior to the Flash IDE. We were able to tag traces as <em>Error,</em> <em>Fatal,</em> <em>Info</em> etc. This makes debugging a huge application with five developers a hell of a lot easier. And of course using Eclipse is far better than using the Flash IDE (but that wouldn&#8217;t be hard). The compare function in Eclipse is so useful when developing in a team environment. We were able to compare a class file against local versions, checked in versions, older versions in SourceSafe to quickly identify what code had changed.</p>
<p>One of the requirements for PlaceAd was to adhere to fairly strict code guidelines. Dave the java guru hacked JavaDoc to make a application that would parse every line of code in every class and made a note if it did not meet coding guidelines. It even provided a ranking system so we could see which class (and class author) was the worst offending. It also checked to see if a function was being used and if it wasn&#8217;t it was commented as such and a report made so we could trim the unused classes where necessary. Of course it also provided a complete overview (in html) of the RIA in AsDoc style. Again &#8211; all of this was WITHIN the development environment, Eclipse.<br />
Although I have moved on from Trading Post (It was a contract job) they are still using OS Flash and have smartly switched to <a target="_blank" title="Subversion" href="http://subversion.tigris.org/">Subversion</a> instead of SourceSafe.  For those Flash developers still toying with the Flash IDE, you really need to consider <em>switching.</em> Its such a superior and professional way to program Flash that once you try it out over an extended period of time you will never go back. Having said that, I would differentiate between Flash programmers and Flash animators at this point. Animators should probably stick with the Flash IDE. To learn more about Open Source Flash check out <a target="_blank" title="Open Source Flash" href="http://osflash.org/">http://osflash.org/</a></p>
<p><strong>Notes:</strong></p>
<p>PlaceAd is alive and functioning. Check it out by going here: <a target="_blank" title="Trading Post" href="http://www.tradingpost.com.au/">http://www.tradingpost.com.au/</a> and clicking on the PlaceAd link. <strong>NOTE</strong>: <em>because of some dodgy javascript code, it seems that the only way to access PlaceAd from firefox is by following this method: (I no longer work at tradingpost and neither myself or the flash team are responsible for such dodginess <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</em></p>
<ol>
<li>Go to  <a target="_blank" title="Trading Post" href="https://www.tradingpost.com.au/MyTradingPost/MyTradingPost.aspx">https://www.tradingpost.com.au/MyTradingPost/MyTradingPost.aspx</a></li>
<li>Click on <strong>PlaceAd </strong></li>
</ol>
<p>I did not have influence over the interface design for PlaceAd. I find that its not intuitive and that a richer user experience could have been included. <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PlaceAd was developed last year. FAMES is no longer the best option for Flash development. Instead I use and encourage other Flash developers to use <a target="_blank" title="AMES" href="http://www.osflash.org/ames/">AMES.</a></p>
<p>One of the biggest headaches with PlaceAd was using the Macromedia components. They are buggy and bloated. There is a <a title="OS Components" href="http://osflash.org/components">list of open source components here</a> and I have recently created some open source components as well which are very lightweight and skinnable <a title="as-forms" href="http://ae.hugeobject.com/archive/as-forms/">(here).</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/a-practical-example-of-how-os-flash-beats-macromediaadobe-ide/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Open Source Flash presentation (files inc)</title>
		<link>http://ae.hugeobject.com/archive/open-source-flash-presentation-files-inc/</link>
		<comments>http://ae.hugeobject.com/archive/open-source-flash-presentation-files-inc/#comments</comments>
		<pubDate>Wed, 29 Mar 2006 03:42:52 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/open-source-flash-presentation-files-inc/</guid>
		<description><![CDATA[Last December I gave a talk at OSDC on how Open Source Flash development is a million times better than using the Macromedia/Adobe IDE. I said I would upload the files etc. So at last (!) here they are:

The presentation swf &#8211; made from OS Flash of course (AMES). You will need to click on [...]]]></description>
			<content:encoded><![CDATA[<p><img align="right" title="OSFlash presentation" id="image15" alt="OSFlash presentation" src="http://ae.hugeobject.com/wp-content/uploads/2006/04/osFlash.gif" />Last December I gave a talk at OSDC on how Open Source Flash development is a million times better than using the Macromedia/Adobe IDE. I said I would upload the files etc. So at last (!) here they are:</p>
<ul>
<li>The <a title="Swf" target="_blank" href="http://ae.hugeobject.com/projects/osflash/build/OSFlash.swf">presentation swf</a> &#8211; made from OS Flash of course (AMES). You will need to click on the swf to make it active, then use left, right arrows to navigate (or spacebar).</li>
<li>The <a title="code" href="http://ae.hugeobject.com/projects/osflash/OSFlash.zip">code</a> that made the swf, raw and loosely commented (I was in a rush back then <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
</ul>
<p style="font-size: 10px; text-align: right">technorati tags: <a rel="tag" href="http://technorati.com/tag/Open%20source">Open source</a>, <a rel="tag" href="http://technorati.com/tag/flash">flash</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/open-source-flash-presentation-files-inc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash components &#8211; As Forms</title>
		<link>http://ae.hugeobject.com/archive/as-forms/</link>
		<comments>http://ae.hugeobject.com/archive/as-forms/#comments</comments>
		<pubDate>Wed, 15 Mar 2006 12:07:20 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/as-forms/</guid>
		<description><![CDATA[Anyone who has done any serious flash development has worked out that the macromedia components are bloated and buggy. There are some really decent open source alternatives out there but in general they didn&#8217;t suit me for a project I was about to start. Check here for an open source component list.
The project was basically [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who has done any serious flash development has worked out that the macromedia components are bloated and buggy. There are some really decent open source alternatives out there but in general they didn&#8217;t suit me for a project I was about to start. <a title="OS Flash components" href="http://osflash.org/components">Check here for an open source component list.</a></p>
<p>The project was basically a online registration form- the app had to capture data, process some of it then post it to a server. For something like this a full blown component framework was overkill. And because of the older userbase the components had to look very similar to existing html components so that there would be no confusion (hopefully <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>My requirements were:</p>
<p>- they had to look like established user interface components (a radio button had to look like a html radio button).</p>
<p>- they had to be very small in size (anything over 40k was way too big)</p>
<p>- they had to be as fast as using a browsers components (that is, they draw with no lag whatsoever)</p>
<p>- they needed to be skinnable (in regards to colours and size mainly)</p>
<p>- they had to respond to events and be easily redrawn</p>
<p>Although all of the open source flash alternatives were of a high quality they just didn&#8217;t quite fit my requirements.</p>
<p>So, I set about creating my own.  Below you will find an example of what I have temporarily called As Forms (until I can think of a snappier name).<br />
<span id="more-8"></span></p>
<p>They are small in size &#8211; the movie below is only 12k.<br />
Its super simple to change the colours, size and fonts. However changing the shape requires getting your hands dirty in the core code. For example if you dont like the arrow in the combobox then you will need to edit the draw code for it.<br />
They are really snappy which I&#8217;m really happy with. The reason I think they are snappy is because of the hard coded shapes. By limiting how much you can change, you gain speed improvements.  They are also quite independent in terms of kb size. For example the movie below with all components in it is 12k, a movie with only the radio buttons is 4k.  With macromedia just the radio buttons comes in at 90k last time I tried <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>These components are designed for people who just want quick and easy components &#8211; rather than the more full blown one. Over the coming week I will tidy up the code and release it under the GPL. They are already being used in production without any issues, but I&#8217;d hate to release something without tidying up my abusive comments in code <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Here is an example of the flash forms. When you click the submit button (which isn&#8217;t apart of AS Forms) it will email me your response</p>
<p>[kml_flashembed movie="/flashForms/FormExamples.swf" height="650" width="333" /]<!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">technorati tags: <a rel="tag" href="http://technorati.com/tag/flash%20components">flash components</a>, <a rel="tag" href="http://technorati.com/tag/open%20source">open source</a>, <a rel="tag" href="http://technorati.com/tag/flash">flash</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/as-forms/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
