<?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>noponies &#187; ActionScript 3</title>
	<atom:link href="http://www.blog.noponies.com/category/flash-experiments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.noponies.com</link>
	<description>I want a pony for xmas! Flash, ActionScript, Drawing, Code, Illustration from New Zealand.</description>
	<lastBuildDate>Mon, 12 Jul 2010 10:37:48 +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>Simple Flash to browser console logging</title>
		<link>http://www.blog.noponies.com/2010/07/simple-flash-to-browser-console-logging/</link>
		<comments>http://www.blog.noponies.com/2010/07/simple-flash-to-browser-console-logging/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 10:37:48 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=358</guid>
		<description><![CDATA[If you are like me, you like to be able to trace out commands etc from Flash into your browser container. I generally use FlashTracer on Firefox or a more full featured debugger.
However, sometimes I simply want to trace elements into the console of either Safari or Firefox. This is as simple as using ExternalInterface [...]]]></description>
			<content:encoded><![CDATA[<p>If you are like me, you like to be able to trace out commands etc from Flash into your browser container. I generally use FlashTracer on Firefox or a more full featured debugger.</p>
<p>However, sometimes I simply want to trace elements into the console of either Safari or Firefox. This is as simple as using ExternalInterface and a small javascript method that takes a single parameter and writes it to the browsers console, via console.log(). Which can then be inspected via Safari&#8217;s debug panel or within Firebug on Firefox. And yes, I realise I could use Flashbug or something similar, but to be honest, I hardly ever use Firefox, hence the desire for something that works in Safari.</p>
<p>Simple example file is attached.</p>
<p><strong>Source files</strong><br />
<a class="downloadlink" href="http://www.blog.noponies.com/wp-content/plugins/download-monitor/download.php?id=20" title="Version1 downloaded 98 times" >Simple Flash logging (98)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.noponies.com/2010/07/simple-flash-to-browser-console-logging/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FlashPress 0.6 Released</title>
		<link>http://www.blog.noponies.com/2010/06/flashpress-0-6-released/</link>
		<comments>http://www.blog.noponies.com/2010/06/flashpress-0-6-released/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 19:25:25 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[AMFPHP]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Zend AMF]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=348</guid>
		<description><![CDATA[OK, I finally had some time to tidy this up a little.
So, here it is, FlashPress 0.6.
Supports both ZendAMF and AMFPHP. Supports Wordpress 3.0.
This version of FlashPress uses the Wordpress API rather than directly working on the wordpress database. It also includes write support for some methods. This is experimental and you should test this [...]]]></description>
			<content:encoded><![CDATA[<p>OK, I finally had some time to tidy this up a little.</p>
<p>So, here it is, FlashPress 0.6.</p>
<p>Supports both ZendAMF and AMFPHP. Supports Wordpress 3.0.</p>
<p>This version of FlashPress uses the Wordpress API rather than directly working on the wordpress database. It also includes write support for some methods. This is experimental and you should test this fully before deploying it. There is also an experimental search method, that will probably change internally as I get my head around the SQL required.</p>
<p>This is a beta, so let me know how you get on with it, and post any bugs etc so I can look into them.</p>
<p>The example file is minimal, with just a listing of the various method calls and their parameters. As I get time (unlikely) I’ll add to the examples. I’ll add the method lists to this post as I get some more time.</p>
<p><strong>Note:</strong> I&#8217;ve tested this release against Wordpress 3.0, and it seems to be working fine. Let me know if you enounter any issues.</p>
<p><strong>Source Files</strong><br />
<a class="downloadlink" href="http://www.blog.noponies.com/wp-content/plugins/download-monitor/download.php?id=16" title="Version0.6 downloaded 173 times" >Flash Press 0.6 (173)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.noponies.com/2010/06/flashpress-0-6-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Actionscript 3 watermark image class</title>
		<link>http://www.blog.noponies.com/2010/03/actionscript-3-watermark-image-class/</link>
		<comments>http://www.blog.noponies.com/2010/03/actionscript-3-watermark-image-class/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 19:30:58 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[watermark]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=350</guid>
		<description><![CDATA[A recent project needed a watermark added to any images that could be downloaded off the site. Originally we used a PHP solution, which worked fine. But I wanted to do it inside of Flash and use the save methods in FP10.
So, I wrote this simple little class to adding a water mark to a [...]]]></description>
			<content:encoded><![CDATA[<p>A recent project needed a watermark added to any images that could be downloaded off the site. Originally we used a PHP solution, which worked fine. But I wanted to do it inside of Flash and use the save methods in FP10.</p>
<p>So, I wrote this simple little class to adding a water mark to a display object, and the returning that display object as bitmapdata for say, passing to Adobe’s jpg encoder.</p>
<p>Maybe someone will have some use for it?</p>
<p><strong>Source Files</strong><br />
Here is the relevant source file; <a class="downloadlink" href="http://www.blog.noponies.com/wp-content/plugins/download-monitor/download.php?id=18" title="Version1 downloaded 331 times" >Watermark class (331)</a></p>
<p>By downloading, you agree to the terms of use, outlined here: <a href="http://www.blog.noponies.com/terms-and-conditions">http://www.blog.noponies.com/terms-and-conditions</a></p>
<p><strong>Dependencies</strong><br />
Zero</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.noponies.com/2010/03/actionscript-3-watermark-image-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Actionscript 3 RSS Reader Demo</title>
		<link>http://www.blog.noponies.com/2009/07/actionscript-3-rss-reader-demo/</link>
		<comments>http://www.blog.noponies.com/2009/07/actionscript-3-rss-reader-demo/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 14:37:11 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[rss reader]]></category>
		<category><![CDATA[Scrolling Content]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=313</guid>
		<description><![CDATA[I made this as a simple test for RSS parsing for a job a little while back, and it never was used for anything, so I&#8217;ll post it here as it may be of use to someone.
Its a simple RSS parser that uses the RSS and Atom libraries http://code.google.com/p/as3syndicationlib/ to handle parsing its RSS feeds. [...]]]></description>
			<content:encoded><![CDATA[<p>I made this as a simple test for RSS parsing for a job a little while back, and it never was used for anything, so I&#8217;ll post it here as it may be of use to someone.</p>
<p>Its a simple RSS parser that uses the RSS and Atom libraries <a href="http://code.google.com/p/as3syndicationlib/">http://code.google.com/p/as3syndicationlib/</a> to handle parsing its RSS feeds. Although parsing RSS is trivial, I wanted to use a provided Adobe library for the hell of it.</p>
<p>The file is not overly documented and uses my scrolling panel and scrollbar classes to handle scrolling the RSS items.</p>
<p>An example is below.<br />

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="400" height="500">
      <param name="movie" value="http://www.blog.noponies.com/wp-content/uploads/rss.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://www.blog.noponies.com/wp-content/uploads/rss.swf" width="400" height="500">
      <!--<![endif]-->
        <p>The Flash plugin is required to view this object.</p>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
</p>
<p align="left"><strong>Source Files</strong><br />
Here is the relevant source file; <a class="downloadlink" href="http://www.blog.noponies.com/wp-content/plugins/download-monitor/download.php?id=15" title="Version1 downloaded 357 times" >Rss Reader Demo (357)</a></p>
<p>By downloading, you agree to the terms of use, outlined here: <a href="http://www.blog.noponies.com/terms-and-conditions">http://www.blog.noponies.com/terms-and-conditions</a></p>
<p align="left"><strong>Dependencies</strong><br />
Zero</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.noponies.com/2009/07/actionscript-3-rss-reader-demo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using Asdoc under OSX</title>
		<link>http://www.blog.noponies.com/2009/07/using-asdoc-under-osx/</link>
		<comments>http://www.blog.noponies.com/2009/07/using-asdoc-under-osx/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 14:38:33 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[asdoc]]></category>
		<category><![CDATA[flex 4]]></category>
		<category><![CDATA[using asdoc under osx]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=297</guid>
		<description><![CDATA[At work I&#8217;m without my install of Flex, and its various niceities like ant builds for creating ASDoc documentation for my various classes and work projects.
In the past I&#8217;ve messed around with the commandline controls for creating ASDoc documentation, but without a great deal of success. 
However, at work today, I decided to get it [...]]]></description>
			<content:encoded><![CDATA[<p>At work I&#8217;m without my install of Flex, and its various niceities like ant builds for creating ASDoc documentation for my various classes and work projects.</p>
<p>In the past I&#8217;ve messed around with the commandline controls for creating ASDoc documentation, but without a great deal of success. </p>
<p>However, at work today, I decided to get it working and create some documentation. There are a range of options for creating asdoc documents on the mac, I&#8217;ll list them below.</p>
<p>1 / Command line. Downloading the <a href="http://labs.adobe.com/technologies/flex4sdk/">Flex SDK</a> and kicking it command line style.</p>
<p>2 / Getting a copy of <a href="http://www.adobe.com/products/flex/">Flex</a>, and using <a href="http://blog.bittube.com/2006/08/15/ant-buildxml-for-asdocs-generation/">Ant</a> to build your docs.</p>
<p>3 / Using either the SDK, or Flex but a front end tool like <a href="http://code.google.com/p/dita/">Dita</a> to generate the shell scripts for you, that you then run in terminal to create your docs.</p>
<p>I&#8217;ve used Dita and Flex with an Ant build on my home mac. At work, I use the command line approach.</p>
<p>Heres how I got it to work, using the new Flex 4 SDK beta and the OSX terminal.</p>
<p>a / Make sure you have downloaded the latest <a href="http://labs.adobe.com/technologies/flex4sdk/">Flex SDK</a>. Unzip it and place it somewhere on your hard drive. Mine lives in the &#8220;Developer&#8221; folder of my OSX boot disk.<br />
b / Open up a text editor. I always find it easier to work out my terminal commands in a text editor, and simply paste in what I want into termainl when I&#8217;m ready.<br />
c / Find the path to your bin folder within your Flex SDK folder. The simplest way, is to simply drag n drop the bin folder into an empty terminal window, which will then give you the path to the folder. Or simply, type it out manually. You now need to tell terminal to work from this &#8216;bin&#8217; directory, via the &#8216;cd&#8217; command. The syntax for that is below;</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">cd path-to-you-flex-sdk-bin-folder</pre></div></div>

<p>d / Now you can simply run the various <a href="http://livedocs.adobe.com/flex/gumbo/html/WSd0ded3821e0d52fe1e63e3d11c2f44bc36-7ffa.html">asDoc commands</a> to generate your documentation. The various commands I&#8217;ve used to create the documentation for my NpFSObjectresize class are listed below. Make sure the asdoc commands are all on one long line. For some reason, I had to have the footer and window title before the -doc-sources parameter.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">cd /Developer/SDKs/flex_sdk_4.0.0.7219/bin/
./asdoc -main-title=&quot;NpFSOBjectResize Class&quot; -window-title=&quot;Noponies NpFSOBjectResize Class&quot; -footer=&quot;Copyright <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">'http://www.blog.noponies.com'</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">'Visit Class Author'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Noponies<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> 2009&quot; -doc-sources=/Users/dsattler/Desktop/sample/noponies -output=/Users/dsattler/Desktop/sample/docs</pre></div></div>

<p>As you can see from the example above, I have a folder called &#8217;sample&#8217; on my desktop with my actionscript residing in a folder called &#8216;noponies&#8217;. I&#8217;m simply outputting my docs to a folder called &#8216;docs&#8217; which resides within that &#8217;sample&#8217; folder.</p>
<p>When you are ready, simply paste in your ASDoc commands into terminal, and you should see the asdoc tool run through its various steps. One thing I&#8217;ve noticed is that the Flex 4 ASDoc tool is much more strict about correctly closing html tags etc within your documentation. A missing closing <code>/p</code> caught me out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.noponies.com/2009/07/using-asdoc-under-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
