<?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>Web Design &#038; Web Development Specialists, Extro Interactive, Sydney &#187; as3</title>
	<atom:link href="http://blog.extro.com.au/category/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.extro.com.au</link>
	<description>Web application development, Flash, Actionscript, Flex, Online Marketing, Web 2.0 and other uber-geeky stuff</description>
	<lastBuildDate>Thu, 30 Sep 2010 05:46:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>FlashDevelop team: Keep up the good work</title>
		<link>http://blog.extro.com.au/2010/06/29/flashdevelop-team-keep-up-the-good-work/</link>
		<comments>http://blog.extro.com.au/2010/06/29/flashdevelop-team-keep-up-the-good-work/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 05:54:08 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://blog.extro.com.au/2010/06/29/flashdevelop-team-keep-up-the-good-work/</guid>
		<description><![CDATA[FlashDevelop is an incredible achievement. In my opinion this is far and away the best AS3/Flex development environment around. If you&#8217;re a Flash Developer and you are still compiling your projects from inside the Flash IDE, it&#8217;s time to make the switch! Now with break-point debugging and support for a whole host of other plugins, [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.flashdevelop.org/">FlashDevelop</a> is an incredible achievement. In my opinion this is far and away the best AS3/Flex development environment around.</p>
<p>If you&#8217;re a Flash Developer and you are still compiling your projects from inside the Flash IDE, it&#8217;s time to make the switch!</p>
<p>Now with break-point debugging and support for a whole host of other plugins, you guys have done a fantastic job and really given Adobe a run for their money.</p>
<p>Thanks and Congratulations to Mika and Philippe, the team behind FlashDevelop.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.extro.com.au/2010/06/29/flashdevelop-team-keep-up-the-good-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Will iPad and HTML5 spell the end of Adobe Flash?</title>
		<link>http://blog.extro.com.au/2010/06/29/will-ipad-and-html5-spell-the-end-of-adobe-flash/</link>
		<comments>http://blog.extro.com.au/2010/06/29/will-ipad-and-html5-spell-the-end-of-adobe-flash/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 16:22:06 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://blog.extro.com.au/2010/06/29/will-ipad-and-html5-spell-the-end-of-adobe-flash/</guid>
		<description><![CDATA[Sure, we all love our shiny new iPads, and iPad is certainly the flavour of the month. Unless you&#8217;ve been living under a rock, you would be well aware that iPad does not support Adobe Flash Player. We know that Steve Jobs is pious about open standards, and HTML5 and has said a few nasty [...]]]></description>
			<content:encoded><![CDATA[<p>Sure, we all love our shiny new iPads, and iPad is certainly the flavour of the month. Unless you&#8217;ve been living under a rock, you would be well aware that iPad does not support Adobe Flash Player. We know that Steve Jobs is pious about open standards, and HTML5 and has said a few nasty things about Flash, but don&#8217;t be fooled by this thinly veiled piece of propaganda. This has nothing to do with battery life, processing speed, stability, (or any of those legitimate concerns) it&#8217;s about giving the finger to Adobe while the going is good.</p>
<p><em>(For a quick HTML5 refresher, <a target="_blank" href="http://www.focus.com/images/view/11905/">check out this cute overview</a>)<br />
</em></p>
<p>Don&#8217;t get me wrong, I think HTML5 is a great development for the future of the internet, but it&#8217;s important to realise it&#8217;s promising yet humble place in the technology landscape.</p>
<p>To put HTML5 into perspective, let me try to dispel a few myths…</p>
<p><strong>HTML5 versus Adobe Flash Player Myths</strong></p>
<ul>
<li><strong>Myth #1: </strong><strong>HTML5 offers the same interactivity, creative freedom and power of Flash Player</strong>. HTML5 is at best, a poor cousin to Flash Player for performance and interactivity in any areas outside standard, cookie-cutter, one-size-fits-all purposes like video players, map viewers etc. Sure, by now you have probably watched online video playing nicely in HTML5 players, but how much more does HTML5 offer for creative, unique offerings and experiences? Adobe (actually Macromedia) spent a solid decade optimising and improving flash player and flash authoring. Sure, they only recently implemented a respectable programming language (AS3), built a (reasonably) stable authoring environment, provided command line compilation and other run-of-the-mill features for a programming language, but they got there in the end. The very thought of authoring animations, bitmap effects, and 3D in javascript gives me goosebumps. Not to mention performance. By all accounts, if you try to do anything vaguely graphically intensive in HTML5 you start to run into trouble pretty quickly.</li>
<li><strong>Myth #2: HTML5 is coming soon</strong>. Actually, it may be coming soon to the bleeding edge, but certainly not to the masses. Adobe also spent that decade building saturation for their plugin and the unique payoff for designers and developers is that you know what to expect regardless of operating system. Now, should we really bet the farm on browsers fully, consistently adopting HTML5 standards any time soon? Usually we need to design for the bulk of users, not just the bleeding edge. You should expect to write off a good chunk of your users if you rely on HTML5 as your only delivery platform within the next year or two. On a side note, I dread a future where we need to code HTML5 browser hacks the same way we need to code CSS browser hacks today. Not only should we consider end users, we also need to consider the time required for a strong Developer and Designer community to grow for HTML5. And even before then, we need the time to develop decent HTML5 development tools to rival Flash Professional. That&#8217;s a long road.</li>
<li><strong>Myth #3: HTML5 is so much better because it&#8217;s free and open</strong>. Flash Player is much more open than you think. Did you know that you can download &#8220;Flash Develop&#8221; (<a target="_blank" title="Flash Develop, Open Source Actionscript IDE" href="http://www.flashdevelop.org">www.flashdevelop.org</a>, a fantastic free, open source ActionScript IDE) and the free Flex3SDK (<a target="_blank" title="Download Flex3SDK" href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK">http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK</a>) and compile Adobe Flash projects without even needing to purchase any software at all? As Adobe continues to feel the heat, we might expect this trend towards openness to continue.</li>
</ul>
<p><strong>Adobe is a big, big company with lots and lots of Money<br />
</strong>Do you really think Adobe will go down without a fight? After investing literally billions building browser saturation, building a global developer base, out-innovating wannabe competitors such Silverlight, cementing their place as THE dominant rich media advertising platform, I suspect they will find some creative ways of staying at the top of the pile.</p>
<p><strong>The End Game<br />
</strong>With Android devices running Flash just fine, pretty soon iPad owners will start to feel like they&#8217;re missing out without flash support. With one cheeky OS update, it&#8217;s within Apple&#8217;s power to grant them the gift of flash.</p>
<p>Assuming Apple does not rule the free world any time soon, don&#8217;t write off any hope of Flash support for iPad just yet&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.extro.com.au/2010/06/29/will-ipad-and-html5-spell-the-end-of-adobe-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding fonts for AS3 in Flash CS3 IDE &#8211; Back to Basics</title>
		<link>http://blog.extro.com.au/2009/10/28/embedding-fonts-for-as3-in-flash-cs3-ide-back-to-basics/</link>
		<comments>http://blog.extro.com.au/2009/10/28/embedding-fonts-for-as3-in-flash-cs3-ide-back-to-basics/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 03:54:26 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[adobe]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[fonts]]></category>

		<guid isPermaLink="false">http://blog.extro.com.au/2009/10/28/embedding-fonts-for-as3-in-flash-cs3-ide-back-to-basics/</guid>
		<description><![CDATA[I realise that there are lots of fancy ways to embed fonts these days for Flex, AS3, SWC files, etc. But if it all gets a little confusing, you might consider a very simple alternative when working from the Flash IDE. (This works in Flash CS3 but presumably works the same way in CS4). Using [...]]]></description>
			<content:encoded><![CDATA[<p>I realise that there are lots of fancy ways to embed fonts these days for Flex, AS3, SWC files, etc. But if it all gets a little confusing, you might consider a very simple alternative when working from the Flash IDE. (This works in Flash CS3 but presumably works the same way in CS4).</p>
<p>Using this technique, you can use the font anywhere in your project, including inside other swc components. As for limitations: As I said, this is the &#8220;Easy&#8221; way to embed fonts, not necessarily the best way for all circumstances. e.g. If you are using many fonts or fonts with very large character sets this will result in very slow compile times and large file sizes. But in the majority of cases, this is a nice light, flexible, simple way to embed your fonts. Click here to <a href="http://blog.extro.com.au/wp-content/uploads/2009/10/embed-fonts-for-as3-flash-cs3-idefla.zip">download the sample fla for embedding fonts for AS3 in Flash CS3 IDE</a>.</p>
<ol>
<li>In the libary options, choose &#8220;New Font&#8221;</li>
<li>Choose the font you want to use from the dropdown and set the name of the font to be exactly the same as the dropdown value (making these identical just makes things easier). For this example we will use &#8220;Arial&#8221;</li>
<li>Set linkage options: Embed for actionscript = true, Export in first frame = true, Class = Arial, Base Class = flash.text.Font. This ensures the font gets compiled into your swf.</li>
<li>Create text field and text format as follows (obviously this is just an example, there&#8217;s more than one way to skin a cat)var textField:TextField = new TextField();<br />
var format:TextFormat = new TextFormat();format.font = &#8216;Arial&#8217;;<br />
format.color = 0xEDEDED;<br />
format.size = 60;<br />
format.align = &#8216;center&#8217;;textField.defaultTextFormat = format;<br />
textField.alpha = 0.8;<br />
textField.selectable = false;<br />
textField.embedFonts = true;<br />
textField.text = &#8216;Hello World&#8217;;</li>
</ol>
<p><strong>Font resources online:</strong></p>
<p><a target="_top" href="http://www.dpbolvw.net/click-3695403-9700915"> <img height="60" width="468" border="0" alt="Find Font by Sight" src="http://www.lduhtrp.net/image-3695403-9700915" /></a></p>
<p><a target="_top" href="http://www.jdoqocy.com/click-3695403-5529314"> <img height="60" width="468" border="0" alt="www.ITCFonts.com" src="http://www.lduhtrp.net/image-3695403-5529314" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.extro.com.au/2009/10/28/embedding-fonts-for-as3-in-flash-cs3-ide-back-to-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash IDE loves Flex 3 SDK with SWC compiled components</title>
		<link>http://blog.extro.com.au/2009/08/18/flash-ide-loves-flex-3-sdk-with-swc-compiled-components/</link>
		<comments>http://blog.extro.com.au/2009/08/18/flash-ide-loves-flex-3-sdk-with-swc-compiled-components/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 18:41:49 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://blog.extro.com.au/2009/08/18/flash-ide-loves-flex-3-sdk-with-swc-compiled-components/</guid>
		<description><![CDATA[Our flash development team have just setup a fantastic workflow for flash/flex/actionscript projects which I thought I would share. Flash Designers use Flash CS4 IDE The flash designers work with Flash CS3/CS4 in a fairly typical way, publishing from the Flash IDE. The IDE makes it very convenient for working with graphical assets, something which [...]]]></description>
			<content:encoded><![CDATA[<p>Our flash development team have just setup a fantastic workflow for flash/flex/actionscript projects which I thought I would share.</p>
<p><strong>Flash Designers use Flash CS4 IDE</strong><br />
The flash designers work with Flash CS3/CS4 in a fairly typical way, publishing from the Flash IDE. The IDE makes it very convenient for working with graphical assets, something which is very tedious in a code-focussed environment.<br />
<strong>Flash Developers use FlashDevelop and Flex3SDK</strong><br />
The flash developers use FlashDevelop exclusively, and they compile their projects using Adobe Flex3SDK. They only publish SWFs for testing purposes, their real goal is to build the more complicated and powerful components that form the building blocks of the application. (These are code-based, non-visual components &#8211; sometimes called base classes or utility classes).</p>
<p>The trick is how all these users can work together.</p>
<p><strong>Create SWC components from AS3 Classes for two way integration</strong><br />
We can export these non-visual components as swc files that can be used in two ways a) Designers can load the swc file into the CS3/CS4 library. From there you can use it just like a normal class, only you don&#8217;t need any of the code on hand, and more importantly, you don&#8217;t need to compile the code each time. This results in lightning fast compile times (a few seconds) and prevents your designers from screwing up your code. In truth, our designers are generally using flash develop a lot of the time anyway, due to nice things like code completion, a code-editing interface that wasn&#8217;t designed by an adobe intern, etc.</p>
<p>Furthermore, it&#8217;s not only the developers who can build and distribute their work as swc files &#8211; the designers can also export their visual, movieclip based classes in swc format. (Library panel >> Right click on library item >> Export to SWC). This is actually the key to closing the loop &#8211; if you want to compile your project from Flex3SDK, you naturally need all your visual components prepared in this way. In truth, we have not found that any of our projects have warranted this step to date &#8211; you seem to end up with a very unworkable library system where everything is so darn hard to edit. Furthermore, there is the added bonus that it keeps your developers honest, since they are forced to build self-contained, easily testable units.</p>
<p><strong>Compiling SWC Components using compc.exe</strong><br />
We use the Flex command line tool (compc.exe) for compiling standard code-based classes into SWC. i.e. Classes that are code based and do not extend from Sprite, Movieclip etc. In this case we&#8217;re packaging up all the classes for Papervision3D into an swc named pv3d.swc.</p>
<p>Gotcha: Note that due to adobe/flex specialness, we needed to create a separate dummy class called PV3D outside the &#8220;include sources&#8221; location to avoid strange compiler errors lik &#8220;The definition is in circular inheritance&#8221; and &#8220;Could not find source for class Papervision3D in namespace&#8230;&#8221; and other fascinating tidbits. It is this dummy class that we tell the compiler is the main class for the component, even thought what we really want is all the other classes packaged up inside.</p>
<p><strong>Compc command line arguments</strong><br />
c:\Flex3SDK\bin\compc -source-path c:\wwwroot\myproject\ -output PV3D.swc -include-sources c:\wwwroot\myproject\org\papervision3d -strict=false -compute-digest=false -namespace http://papervision3d.org c:\wwwroot\myproject\manifest.xml -include-namespaces http://papervision3d.org</p>
<p>Contents of the manifest xml file is as follows:</p>
<p><iframe style="width: 450px; height: 100px" src="http://blog.extro.com.au/wp-content/uploads/2009/08/mainfestxml.html">&amp;amp;amp;amp;amp;amp;amp;amp;nbsp;</iframe>And Voila! You&#8217;ve got an swc file which contains all that papervision goodness. You have two options for using this.</p>
<ul>
<li>Flash IDE folk: Copy the swc into your flash components folder, close and open flash to refresh the components panel, then drag your component on the stage or into your library and hey presto.</li>
<li>FlashDevelop/Flex folk: Put the swc somewhere nice like inside the /lib folder (it doesn&#8217;t actually matter where you put it). From the XYZ panel in FlashDevelop, right click on it and &#8220;add to library&#8221; to ensure that all it&#8217;s classes are available by bundling it up into your output swf. Bonus for FlashDevelop users is the ability to browse all the classes included inside the swc file.</li>
</ul>
<p>I hope that helps a few of you out there trying to find their way in adobe&#8217;s increasingly confusing flash/flex journey.</p>
<p>Lastly, a few helpful references here and there:</p>
<p><strong>SETTING UP FLASH DEVELOPMENT ENVIRONMENT WITH FLASHDEVELOP / FLEX SDK</strong></p>
<ol>
<li>Download latest flash develop (3.0.2) &#8211; requires java 1.6. http://www.flashdevelop.org/community/viewforum.php?f=11</li>
<li>Download latest Open Source Flex3SDK (v3.3) and extract into c:\Flex3SDK http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk</li>
<li>Configure Flash Develop to use Flex3SDK. Tools => Program Settings => AS3Context, set Flex SDK location to c:\Flex3SDK. Ensure you right click on any swc files that you want to include and choose &#8220;Add to Library&#8221;</li>
</ol>
<p>Special thanks to Tim Walling for getting us started: http://www.timwalling.com/2007/10/22/compiling-flash-cs3-compatible-swcs-with-flex/</p>
<p>Official Flex documentation here for compc.exe (beware, it&#8217;s typically clunky) http://livedocs.adobe.com/flex/3/build_deploy_flex3.pdf</p>
<p>Apparently there&#8217;s an Export SWC plugin for Flash develop floating around, but I think that once you&#8217;ve got the hang of it, it&#8217;s probably easier to just use the command line version, outlined above. http://www.flashdevelop.org/community/viewtopic.php?t=2987&#038;start=0</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.extro.com.au/2009/08/18/flash-ide-loves-flex-3-sdk-with-swc-compiled-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

