

<?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>P   A   T   T   E   R   N   T   E   S   T &#187; ACTIONSCRIPT 3</title>
	<atom:link href="http://www.patterntest.com/tag/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.patterntest.com</link>
	<description>I N T E R A C T I V E D E S I G N</description>
	<lastBuildDate>Wed, 24 Mar 2010 01:29:15 +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>PATTERN DESIGNER</title>
		<link>http://www.patterntest.com/classes-projects/pattern-designer/</link>
		<comments>http://www.patterntest.com/classes-projects/pattern-designer/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 23:02:02 +0000</pubDate>
		<dc:creator>PATTERNTEST</dc:creator>
				<category><![CDATA[CLASSES-PROJECTS]]></category>
		<category><![CDATA[ACTIONSCRIPT 3]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.patterntest.com/?p=520</guid>
		<description><![CDATA[

WHAT CAN PATTERN DESIGNER DO ?

what can PATTERN DESIGNER do?
MAKE : Construct intricate pattern designs in seconds. Use the library of stored images or Import your own images or swfs. Save your settings and Patterns to a personal gallery or download them as a PNG or JPG at any time.
DEVELOP :  Add your custom [...]]]></description>
			<content:encoded><![CDATA[<div class="photogroup">
<img title="PATTERN DESIGNER3" src="http://www.patterntest.com/main-content/test_images/patterndesignerscreenshot_c.jpg" alt="PATTERN DESIGNER 3" width="562" height="175" /></p>
<div class="postDetailsLink">WHAT CAN PATTERN DESIGNER DO ?</div>
<div class="postDetails">
<p>what can PATTERN DESIGNER do?</p>
<p>MAKE : Construct intricate pattern designs in seconds. Use the library of stored images or Import your own images or swfs. Save your settings and Patterns to a personal gallery or download them as a PNG or JPG at any time.</p>
<p>DEVELOP :  Add your custom animations to a cue, preview them and have PATTERN DESIGNER create instant AS3 code of your saved animations.</p>
<p>FUN : Check out what others have done and share your own saved Patterns in the gallery section. Mash up your own photos or SWFs into new forms.</p>
</div>
<div class="postLink"><a href="http://www.patterntest.com/patterndesigner/" target="_blank"> LAUNCH SITE    → <em> requires flash player 10 or greater</em> </a></div>
</div>
<p><span id="more-520"></span></p>
<p><strong>THE GALLERY …</strong><br />
Once you sign in as a member you can add patterns to your gallery. Once you make them in the \”CREATE\” section they will be added to your gallery as recent images, from there you can add them to your saved patterns. You will also have a unique URL that will take you directly to your personal gallery. The URL is simply http://www.patterntest.com/patterndesigner/#/gallery?  + your user name. You can keep a maximum of 25 images in your gallery.</p>
<p><strong>UPLOAD IMAGES OR SWFS …</strong><br />
Whole new possibilities can become available by importing your own images for use in Pattern Designer. Open up the \’MAIN NAVIGATION\” window &#8211; then \”UPLOAD IMAGE\”. From there you can browse your computer for images you wish to import. Your custom image will appear in your current pattern and also be included in the combo box whenever you want to use it again.</p>
<p><strong>RESTRICTIONS …</strong><br />
Rather than restricting it what it can do, I’ve allowed Pattern Designer the ability to create the biggest and most detailed images possible, pushing what an online design tool can accomplish. Because of this fact and depending on the power of your computer, Pattern designer can conk out. Things that may push it to hard include adding too many images, making patterns too complex, sizing images to big, or using excessive complex color.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patterntest.com/classes-projects/pattern-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UPLOAD + DOWNLOAD + POST + ENCODE + SAVE USING AS3 AND PHP</title>
		<link>http://www.patterntest.com/classes-projects/filez-demo/</link>
		<comments>http://www.patterntest.com/classes-projects/filez-demo/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 06:39:33 +0000</pubDate>
		<dc:creator>PATTERNTEST</dc:creator>
				<category><![CDATA[CLASSES-PROJECTS]]></category>
		<category><![CDATA[ACTIONSCRIPT 3]]></category>
		<category><![CDATA[FLASH]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.patterntest.com/?p=270</guid>
		<description><![CDATA[





This series of classes easily manage the uploading, downloading, encoding and saving of files into and out of Flash to the server.

DOWNLOAD FILEZ CLASSES WITH EXAMPES  →  zip  
DOWNLOAD FILEZ CLASSES  →  zip  

The Filez set is basically broken  into a series of 5 classes &#8230;
 Filez_Uploader along with [...]]]></description>
			<content:encoded><![CDATA[<div class="imglink">
<p><a rel="shadowbox;height=550;width=450" href="http://www.patterntest.com/filez_demo/Filez_multiple_Demo/swf/filez_instance.swf"><img title=" TRY IT OUT (REQUIRES FLASH 10 + )" src="http://www.patterntest.com/filez_demo/alt_image/filez_demo2.jpg" alt="" /></a></p>
</div>
<div class="iphoneReplacementLink">
<p><img title="filez demo" src="http://www.patterntest.com/filez_demo/alt_image/filez_demo2.jpg" alt="filez demo" /></p>
</div>
<h4><span style="color: #666666;">This series of classes easily manage the uploading, downloading, encoding and saving of files into and out of Flash to the server.<br />
</span></h4>
<div class="postLink"><a href="http://www.patterntest.com/filez_demo/filez_classes_with_examples.zip">DOWNLOAD FILEZ CLASSES WITH EXAMPES  → <em> zip </em> </a></div>
<div class="postLink"><a href="http://www.patterntest.com/filez_demo/filez_classes.zip">DOWNLOAD FILEZ CLASSES  → <em> zip </em> </a></div>
<p><span id="more-270"></span><br />
The Filez set is basically broken  into a series of 5 classes &#8230;</p>
<p><strong> </strong><span style="color: #808080;"><strong>Filez_Uploader</strong></span> along with the accompanying PHP file  uploads files or images with some added features, among them the ability to  set a  maximum file size,  set a maximum number of files in the directory, and the option to overwrite another file or not.</p>
<p><span style="color: #808080;"><strong>Filez_Encoder</strong></span> encodes either a .JPG or .PNG image. It actually uses two separate types of custom encoders  based upon ADOBE&#8217;s JPGEncoder &amp; PNGEncoder. The JPG encoder comes courtesy of  <a title="http://blog.inspirit.ru" href="http://blog.inspirit.ru" target="_blank">Eugene Zatepyakin</a>. I made a few mods to the PNGEncoder to return a progress event.</p>
<p><span style="color: #808080;"><strong>Filez_Snapshot</strong></span> ( for Flash 10+ ) uses the FileReference method to save directly without needing any server side technology, so if you just need the ability to save directly from flash you could just use  Filez_Encoder and  Filez_Snapshot.</p>
<p><span style="color: #808080;"><strong>Filez_PostByteArray</strong></span> posts ByteArrays to a server. It uses <a title="http://www.zahlin.com/upload_project/dev/src/file/UploadPostHelper.as" href="http://www.zahlin.com/upload_project/dev/src/file/UploadPostHelper.as" target="_blank">Jonathan Marston&#8217;s</a> UploadPostHelper. Unfortunately it doesn&#8217;t support a progress event on upload though it should work more than fine for <span style="color: #808080;">small to medium files.</span></p>
<p><span style="color: #808080;"><strong>Filez_Downloader</strong></span> downloads a file from a passed URL.</p>
<p>A few things you might notice about the classes &#8230; I&#8217;ve opted to use callbacks as opposed to custom events since they seem more reliable and can easily pass arguments back with them.</p>
<p>Here&#8217;s a stripped down sample usage of the FilezEncoder class &#8230;</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:450px;"><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">// &nbsp; - import class ...</span><br />
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">patterntest</span>.<span style="color: #006600;">filez</span>.<span style="color: #66cc66;">*</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// &nbsp; &nbsp;create instance ...</span><br />
<span style="color: #000000; font-weight: bold;">var</span> filezEncoder:Filez_Encoder = <span style="color: #000000; font-weight: bold;">new</span> Filez_Encoder<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// &nbsp; &nbsp;call Filez_Encoder ...</span><br />
filezEncoder.<span style="color: #006600;">go</span><span style="color: #66cc66;">&#40;</span>clip,onProgress,onCompleteCallBack,alertCallBack,<span style="color: #66cc66;">&#123;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;<br />
<br />
<span style="color: #808080; font-style: italic;">// &nbsp; &nbsp;callbacks ...</span><br />
<span style="color: #000000; font-weight: bold;">function</span> onProgress<span style="color: #66cc66;">&#40;</span>_percent:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
txtArea.<span style="color: #0066CC;">text</span> = <span style="color: #0066CC;">int</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_percent<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">*</span><span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> +<span style="color: #ff0000;">&quot; %&quot;</span>;<br />
<span style="color: #66cc66;">&#125;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">function</span> onCompleteCallBack<span style="color: #66cc66;">&#40;</span>_byteArray:ByteArray<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
txtArea.<span style="color: #0066CC;">text</span> = _byteArray.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#125;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">function</span> alertCallBack<span style="color: #66cc66;">&#40;</span>_alert:<span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
txtArea.<span style="color: #006600;">appendText</span><span style="color: #66cc66;">&#40;</span>_alert<span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#125;</span><br />
<br />
<span style="color: #808080; font-style: italic;">// begin encoding ...</span><br />
imageEncoder.<span style="color: #006600;">beginEncode</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.patterntest.com/classes-projects/filez-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CUSTOM KNOB CLASS</title>
		<link>http://www.patterntest.com/classes-projects/knobs/</link>
		<comments>http://www.patterntest.com/classes-projects/knobs/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 04:47:45 +0000</pubDate>
		<dc:creator>PATTERNTEST</dc:creator>
				<category><![CDATA[CLASSES-PROJECTS]]></category>
		<category><![CDATA[ACTIONSCRIPT 3]]></category>
		<category><![CDATA[FLASH]]></category>

		<guid isPermaLink="false">http://www.patterntest.com/?p=388</guid>
		<description><![CDATA[





]]></description>
			<content:encoded><![CDATA[<div class="imglink">
<p><a href="http://www.patterntest.com/knobzDemo/knobzTestingGround.swf" rel="shadowbox;height=800;width=550" title="KNOB CLASS DEMO" ><img src="http://www.patterntest.com/knobzDemo/knobz.jpg"  title =" SEE IT IN ACTION ( REQUIRES FLASH ) ... "  /></a></p>
</div>
<div class="iphoneReplacementLink">
<p><img title="knobzDemo" src="http://www.patterntest.com/knobzDemo/knobz.jpg" alt="knobzDemo" /></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.patterntest.com/classes-projects/knobs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

