<?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; class</title>
	<atom:link href="http://www.blog.noponies.com/category/flash-experiments/class-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>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 LoadMovie Snippet</title>
		<link>http://www.blog.noponies.com/2009/07/actionscript-3-loadmovie-snippet/</link>
		<comments>http://www.blog.noponies.com/2009/07/actionscript-3-loadmovie-snippet/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 15:28:06 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Flash CS3]]></category>
		<category><![CDATA[loadmovie]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=280</guid>
		<description><![CDATA[Over on kirupa, one of the users was complaining about the lack of LoadMovie in AS3.
While not being something that has ever concerned me in the slightest, I thought I&#8217;d whip up a quick AS3 version of the same general idea.
Its pretty simple. A singleton class, with a simple &#8220;loadMovie&#8221; method that accepts the string [...]]]></description>
			<content:encoded><![CDATA[<p>Over on kirupa, one of the users was complaining about the lack of LoadMovie in AS3.</p>
<p>While not being something that has ever concerned me in the slightest, I thought I&#8217;d whip up a quick AS3 version of the same general idea.</p>
<p>Its pretty simple. A singleton class, with a simple &#8220;loadMovie&#8221; method that accepts the string URL of the asset to load, the container to load it into, and an optional Boolean flag for deciding if the containers existing children (if it has any) are removed with each new load.</p>
<p>I doubt this will have much use, but who knows.</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=13" title="Version1 downloaded 716 times" >LoadMovie (716)</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-loadmovie-snippet/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>ActionScript 3 Scrolling Text Class</title>
		<link>http://www.blog.noponies.com/2009/01/actionscript-3-scrolling-text-class/</link>
		<comments>http://www.blog.noponies.com/2009/01/actionscript-3-scrolling-text-class/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 21:35:02 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Donator File]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[blur scroller]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[external text]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[mac mouse wheel]]></category>
		<category><![CDATA[scrolling text]]></category>
		<category><![CDATA[text scroller]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=111</guid>
		<description><![CDATA[The NpTextScroller Class is a ActionScript 3 Implementation of scrolling text. Similar to the NpScrollingPanel Class.
The class supports scrolling via the provided scrollBar, keyboard (UP and DOWN arrows) or via the mouse wheel. I&#8217;ve also included and added in support for the mouse wheel on Macs. That support is courtesy of the great class provided [...]]]></description>
			<content:encoded><![CDATA[<p align="left">The NpTextScroller Class is a ActionScript 3 Implementation of scrolling text. Similar to the NpScrollingPanel Class.</p>
<p align="left">The class supports scrolling via the provided scrollBar, keyboard (UP and DOWN arrows) or via the mouse wheel. I&#8217;ve also included and added in support for the mouse wheel on Macs. That support is courtesy of the great class provided by <a href="http://blog.pixelbreaker.com/flash/as30-mousewheel-on-mac-os-x">pixelbreaker</a>. The class is scrollRect based. I chose a scrollRect for a performance gain it offers when scrolling text. The downside in this implementation is that when you are blur scrolling the text, the top and bottom of the rect tends to look blurred as well. </p>
<p>The Class uses an enterframe for it&#8217;s scrolling, rather than a tween engine. The enterframe events are always removed when scrolling etc stops.</p>
<p>I have not tested this on a PC, so let me know if it has issues. I think Safari might have an issue with it, judging by some of the comments from pixel breakers blog posts.</p>
<p align="left"><strong>Class Features</strong></p>
<ul>
<li> Scroll Y</li>
<li> Either CSS or TextFormat Styles for text</li>
<li> Supports HTML text</li>
<li> Scroll via MouseWheel, Keyboard, Slider Bar</li>
<li> Selectively choose what listeners to add, or remove</li>
<li> Slider Bar is fully configurable</li>
<li> Slider Bar auto hides if there is not enough text to scroll</li>
<li> Use custom asset for Slider Bar Drag Handle</li>
<li> Append text</li>
<li> Replace  text at runtime</li>
<li> Scroll programatically to particular points</li>
<li> Control blurring amounts</li>
<li> Control scroll speed and easing</li>
</ul>
<p align="left"><strong>View Example</strong><br />
Here is an example. It&#8217;s using external text, with the left hand text block controlled via a TextFormat Object and an embedded font. The right is controlled via an external CSS StyleSheet, using Arial. Clicking the &#8220;load new text&#8221; button swaps the right hand block of text to a TextFormat Object.; <a href="http://www.noponies.com/dev/as3_textscroller/" target="_blank">http://www.noponies.com/dev/as3_textscroller/</a></p>
<p align="left"><strong>Source Files</strong><br />
Donator only file!
</p>
<p align="left"><strong>Dependencies</strong><br />
The .fla&#8217;s use the Memory and Framerate monitoring component from Grant Skinner, which you can get here: <a href="http://www.gskinner.com/blog/archives/2008/04/simple_componen.html">http://www.gskinner.com/blog/archives/2008/04/simple_componen.html</a>, But, simply delete this out, for a production use.<br />
Mac MouseWheel Scrolling  <a href="http://blog.pixelbreaker.com/flash/as30-mousewheel-on-mac-os-x">pixelbreaker</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.noponies.com/2009/01/actionscript-3-scrolling-text-class/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>ActionScript 3 Content Scroller Class</title>
		<link>http://www.blog.noponies.com/2009/01/actionscript-3-content-scroller-class/</link>
		<comments>http://www.blog.noponies.com/2009/01/actionscript-3-content-scroller-class/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 22:42:43 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[panning]]></category>
		<category><![CDATA[Scrolling]]></category>
		<category><![CDATA[Sliding Images]]></category>
		<category><![CDATA[thumbnails]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=178</guid>
		<description><![CDATA[The NpScrollingPanel is a ActionScript 3 Implementation of a scrolling panel. Pretty common place stuff. This is a reworking of an older version of the same file I posted a little while ago. Since then I&#8217;ve removed the scrollRect version, but may re do it at some stage, if time permits. Internally the class now [...]]]></description>
			<content:encoded><![CDATA[<p align="left">The NpScrollingPanel is a ActionScript 3 Implementation of a scrolling panel. Pretty common place stuff. This is a reworking of an older version of the same file I posted a little while ago. Since then I&#8217;ve removed the scrollRect version, but may re do it at some stage, if time permits. Internally the class now uses the Adobe Tween engine to scroll all content.</p>
<p align="left">The NpScrollingPanel Class is designed to create a scrolling pane of content. The Class itself does not handle any loading in of content. You must provide the class with DisplayObjects for it to scroll. I wanted it to be completely content independent.</p>
<p align="left">Let me know if there are bugs etc..</p>
<p align="left"><strong>Class Features</strong></p>
<ul>
<li> Scroll x and y</li>
<li> Fixed or stage width / height scrolling area</li>
<li> Create columns / rows of scrolling content</li>
<li> Scroll via mouse movement, panel edges, or via external sources</li>
<li> Control colour and alpha of scroller background</li>
<li> Toggle button mode for content</li>
<li> Scrolls any DisplayObject</li>
<li> Adjust content item padding on the fly</li>
<li> Remove content items on the fly</li>
<li> Use lots of cpu with a blur scroll mode <img src='http://www.blog.noponies.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li> Simple internal easing engine</li>
<li> Control scroll speed and easing</li>
<li> Enable / Disable scrolling</li>
<li> Target individual content items</li>
<li> Enable Reflections on content</li>
<li> Drag N Drop content items, to change their order in the panel</li>
<li>Flexible event system to track clicks etc on content</li>
</ul>
<p align="left"><strong>View Example</strong><br />
Here is an example. It&#8217;s using external XML content and the vertical scroller is pulling in two bitmaps from the library; <a href="http://www.noponies.com/dev/as3_scrollingpanel/" target="_blank">http://www.noponies.com/dev/as3_scrollingpanel/</a>. Performance of the blurred and reflected content is pretty bad <img src='http://www.blog.noponies.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I&#8217;ve been playing around with this class for a job, where I&#8217;ve built a basic CMS, that needed the ability to reorder the content. So, I&#8217;ve added in the ability to drag n drop the content items, changing their order, plus a whole lot of other bug fixes. The new version is not online yet, but will be by the end of the week. The online demo allows for dragging and dropping, its pretty beta!</p>
<p align="left"><strong>Updates</strong><br />
Jan 03 2009: Small fix for a bug pointed out by <a href="http://evolve.reintroducing.com/">Matt</a>.</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=5" title="Version 1.0 downloaded 1942 times" >Scrolling Panel Source Files (1942) - 352.72 KB</a><br />
Here are the beta files, that allow for dragging content items. Be aware, that quite abit of the api has changed.<br />
<a class="downloadlink" href="http://www.blog.noponies.com/wp-content/plugins/download-monitor/download.php?id=11" title="Version 1.2 downloaded 538 times" >Scrolling Panel Source Files (Beta) (538) - 351.77 KB</a><br />
Let me know how these new files work out.<br />
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 />
The class uses the <a href="http://www.adobe.com/devnet/flash/articles/reflect_class_as3.html">http://www.adobe.com/devnet/flash/articles/reflect_class_as3.html</a> class to enable reflections on content.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.noponies.com/2009/01/actionscript-3-content-scroller-class/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>ActionScript 3 Flexible Layout Class</title>
		<link>http://www.blog.noponies.com/2008/08/actionscript-3-flex-layout-class/</link>
		<comments>http://www.blog.noponies.com/2008/08/actionscript-3-flex-layout-class/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 22:06:59 +0000</pubDate>
		<dc:creator>Dale</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Aligning & resizing layout]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[flex layout manager]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[stage resize]]></category>
		<category><![CDATA[tween]]></category>

		<guid isPermaLink="false">http://www.blog.noponies.com/?p=109</guid>
		<description><![CDATA[ActionScript 3 NpFlexLayout Class
The NpFlexLayout Class is designed to simplify aligning DisplayObjects to stage dimensions and responding to changes in stage dimensions at run time by a user or between different users.
This supersedes a simpler implementation of this approach, called &#8220;ActionScript 3 Liquid Layout Manager&#8221;, which I&#8217;ll leave on the site.
As opposed to the LayoutManager [...]]]></description>
			<content:encoded><![CDATA[<p align="left">ActionScript 3 NpFlexLayout Class</p>
<p align="left">The NpFlexLayout Class is designed to simplify aligning DisplayObjects to stage dimensions and responding to changes in stage dimensions at run time by a user or between different users.</p>
<p align="left">This supersedes a simpler implementation of this approach, called &#8220;ActionScript 3 Liquid Layout Manager&#8221;, which I&#8217;ll leave on the site.</p>
<p align="left">As opposed to the LayoutManager class, the NpFlexLayout class is an actual layout manager, taking care of instantiating, destroying and passing on requests to instances of an internal class called NpFLexLayoutItem which wraps each displayObject passed to the NpFlexLayout Class.</p>
<p align="left"><strong>Class Features</strong></p>
<ul>
<li> Position objects (x,y) on the stage as a proportion of the stages dimensions</li>
<li> offSet each displayObject (x,y) from where it would be by an absolute pixel value</li>
<li> set objects to stretch to fit either stage width / height or a proportion of stage dimensions</li>
<li> per object minX &#038; minY settings where reflowing, resizing will cease</li>
<li> use either the clips registration point, or its visual center (width/height) </li>
<li> pause, resume displayObjects responding to resize events</li>
<li>update individual  class properties at runtime</li>
<li>tween objects properties at runtime (uses internal simple tween method)</li>
<li>set tween easing</li>
<li>add, remove displayObjects from class</li>
</ul>
<p align="left"><strong>View Example</strong><br />
Here is an example; <a href="http://www.noponies.com/dev/as3_flexlayout/" target="_blank">http://www.noponies.com/dev/as3_flexlayout/</a></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=2" title="Version 1.0 downloaded 1224 times" >Flex Layout Files (1224) - 127.6 KB</a><br />
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 />
None.</p>
<p align="left"><strong>Version 2 Beta</strong><br />
Ok, here is a beta of version 2 of this class. Have a play and let me know of any issues.</p>
<p>I&#8217;ve updated the beta with an constrain resize property. Let me know how it works out in testing etc</p>
<p><a href="http://www.blog.noponies.com/wp-content/uploads/NpFlexLayout-v2-Beta.zip">http://www.blog.noponies.com/wp-content/uploads/NpFlexLayout-v2-Beta.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.noponies.com/2008/08/actionscript-3-flex-layout-class/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
	</channel>
</rss>
