<?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>webdevils.com &#187; Example Files</title>
	<atom:link href="http://www.webdevils.com/category/example-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevils.com</link>
	<description>Web New Media notes and ramblings</description>
	<lastBuildDate>Tue, 31 Jan 2012 04:58:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>ScrollBox</title>
		<link>http://www.webdevils.com/2010/05/06/scrollbox/</link>
		<comments>http://www.webdevils.com/2010/05/06/scrollbox/#comments</comments>
		<pubDate>Thu, 06 May 2010 06:28:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[ScrollBox]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=349</guid>
		<description><![CDATA[The ScrollBox class creates a container with horizontal and vertical scrollbars. The ScrollBox can contain any DisplayObject and creates it&#8217;s own mask. Create an instance of ScrollBox by passing a DisplayObject to scroll and the width and height of the visible area. var scroll_box = new ScrollBox( displayObject, 300, 400 ); http://webdevils.googlecode.com/files/ScrollBox.zip http://webdevils.googlecode.com/files/com.zip]]></description>
			<content:encoded><![CDATA[<p>The ScrollBox class creates a container with horizontal and vertical scrollbars. The ScrollBox can contain any DisplayObject and creates it&#8217;s own mask. Create an instance of ScrollBox by passing a DisplayObject to scroll and the width and height of the visible area.</p>
<p>var scroll_box = new ScrollBox( displayObject, 300, 400 );</p>
<p><a href="http://webdevils.googlecode.com/files/ScrollBox.zip">http://webdevils.googlecode.com/files/ScrollBox.zip</a></p>
<p><a href="http://webdevils.googlecode.com/files/com.zip">http://webdevils.googlecode.com/files/com.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2010/05/06/scrollbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ProgressBar Examples</title>
		<link>http://www.webdevils.com/2010/05/01/progressbar-examples/</link>
		<comments>http://www.webdevils.com/2010/05/01/progressbar-examples/#comments</comments>
		<pubDate>Sat, 01 May 2010 06:07:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[ProgressBar]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=343</guid>
		<description><![CDATA[Just posted a set of classes that create various different types of progress bars. These classes will work with any class that dispatches the following events: Event.OPEN Event.COMPLETE ProgressEvent.PROGRESS This includes the Load_Content class. Download the Example files here. You&#8217;ll need to download the latest version of the class library. All of the progress bars [...]]]></description>
			<content:encoded><![CDATA[<p>Just posted a set of classes that create various different types of progress bars. These classes will work with any class that dispatches the following events:</p>
<ul>
<li>Event.OPEN</li>
<li>Event.COMPLETE</li>
<li>ProgressEvent.PROGRESS</li>
</ul>
<p>This includes the Load_Content class. Download the Example files <a href="http://webdevils.googlecode.com/files/ProgressBarExamples.zip">here</a>.</p>
<p>You&#8217;ll need to download the latest version of the class library. All of the progress bars are packaged in com.webdevils.display.progressbars. Get the class library <a href="http://webdevils.googlecode.com/files/com.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2010/05/01/progressbar-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImageStreak Class for AS3</title>
		<link>http://www.webdevils.com/2009/11/04/imagestreak-class-for-as3/</link>
		<comments>http://www.webdevils.com/2009/11/04/imagestreak-class-for-as3/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 22:32:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=119</guid>
		<description><![CDATA[Here&#8217;s a new version of the ImageStreak Class written for AS3. http://webdevils.googlecode.com/files/ImageStreak.zip This class loads an image file. Creates a new Bitmap and BitmapData objects. Then it procedes to draw the image one pixel column at a time drawing the current pixel across the image. After it&#8217;s finished with the first column it moves on [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a new version of the ImageStreak Class written for AS3.</p>
<p><a href="http://webdevils.googlecode.com/files/ImageStreak.zip">http://webdevils.googlecode.com/files/ImageStreak.zip</a></p>
<p>This class loads an image file. Creates a new Bitmap and BitmapData objects. Then it procedes to draw the image one pixel column at a time drawing the current pixel across the image. After it&#8217;s finished with the first column it moves on to the next. Until the entire image is drawn.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2009/11/04/imagestreak-class-for-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SoundObject</title>
		<link>http://www.webdevils.com/2009/10/05/soundobject/</link>
		<comments>http://www.webdevils.com/2009/10/05/soundobject/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 04:40:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=161</guid>
		<description><![CDATA[Here&#8217;s a sound utility class to make playing sound in Flash a little easier. The example files show some basic features and usage of the class. http://code.google.com/p/webdevils/downloads/list The SoundObject Class is basically a wrapper for the Sound and SoundChannel classes. These can be a little tricky or confusing to work with in their raw forms. [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a sound utility class to make playing sound in Flash a little easier. The example files show some basic features and usage of the class.</p>
<p><a href="http://code.google.com/p/webdevils/downloads/list" target="_blank">http://code.google.com/p/webdevils/downloads/list</a></p>
<p>The SoundObject Class is basically a wrapper for the Sound and SoundChannel classes. These can be a little tricky or confusing to work with in their raw forms. The SoundObject Class strives to provide all of the expected functionality in an intuitive package.</p>
<p>Usage is simple, make an instance of the Class pass along the URL to an mp3 file. Call the play method to play() the sound, stop() the sound or pause() to pause the sound. Much simpler than using Sound and SoundChannel.</p>
<p>This has a few other methods and could use a few more. This could definitely see an update in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2009/10/05/soundobject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sample Project with Gallery</title>
		<link>http://www.webdevils.com/2009/01/23/sample-project-with-gallery/</link>
		<comments>http://www.webdevils.com/2009/01/23/sample-project-with-gallery/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 06:00:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=131</guid>
		<description><![CDATA[Here is a sample project that makes use of the Load_Content, Button_Group and ImageLoader classes. sample_project_with_gallery I posted some videos describing the process here:http://vimeo.com/user312541/videos I&#8217;m looking for a better service. One that doesn&#8217;t resize the images. I would like to keep them at 800&#215;600. If anyone has any suggestions please post a commont.]]></description>
			<content:encoded><![CDATA[<p>Here is a sample project that makes use of the Load_Content, Button_Group and ImageLoader classes.</p>
<p><a href="http://www.webdevils.com/wp-content/uploads/2009/01/sample_project_with_gallery.zip">sample_project_with_gallery</a></p>
<p>I posted some videos describing the process here:<a href="http://vimeo.com/user312541/videos" target="_blank">http://vimeo.com/user312541/videos</a></p>
<p>I&#8217;m looking for a better service. One that doesn&#8217;t resize the images. I would like to keep them at 800&#215;600. If anyone has any suggestions please post a commont.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2009/01/23/sample-project-with-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SimpleScrollText</title>
		<link>http://www.webdevils.com/2008/11/06/simplescrolltext/</link>
		<comments>http://www.webdevils.com/2008/11/06/simplescrolltext/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 06:38:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=94</guid>
		<description><![CDATA[Here&#8217;s a class that creates a Scrollbar and TextField, that requires no AS at all. The example inlcudes all of the Classes in a package. The classes include, SimpleScrollBar, SimpleScrollText and ScrollBarEvent. These classes look for MovieClips with the names up_mc, down_mc, drag_mc, track_mc and scroll_txt. You can leave up_mc and down_mc if you do [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a class that creates a Scrollbar and TextField, that requires no AS at all. The example inlcudes all of the Classes in a package. The classes include, SimpleScrollBar, SimpleScrollText and ScrollBarEvent.</p>
<p>These classes look for MovieClips with the names up_mc, down_mc, drag_mc, track_mc and scroll_txt. You can leave up_mc and down_mc if you do not want these buttons. Or use only the buttons and leave out drag_mc and track_mc.</p>
<p>Assign the SimpleScrollText or SimpleScrollBar class to the Base Class of the MovieClip that contains the Scrollbar elements.</p>
<p><a href="http://www.webdevils.com/wp-content/uploads/2008/11/simplescrolltext.zip">simplescrolltext</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2008/11/06/simplescrolltext/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Manager Class</title>
		<link>http://www.webdevils.com/2007/12/11/content-manager-class/</link>
		<comments>http://www.webdevils.com/2007/12/11/content-manager-class/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 02:16:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=70</guid>
		<description><![CDATA[These are some ideas that I have been working on. The goal was to make a simple system to display images or movie clip symbols on the stage. These use Tween for animation duties so be sure to include the Tweener class in the folder with any project that might use the Content_Manger class. The [...]]]></description>
			<content:encoded><![CDATA[<p>These are some ideas that I have been working on. The goal was to make a simple system to display images or movie clip symbols on the stage. These use Tween for animation duties so be sure to include the Tweener class in the folder with any project that might use the Content_Manger class.</p>
<p>The basic idea is to animate any currently displayed clip off the stage and remove it from the display list. Then add a new clip to the display list and move  this clip in to view.</p>
<p>The first version, Content_Manager, extends the MovieClip class and so itself must be added to the display list. Content_Manager_1 example files:<a href="http://www.webdevils.com/wp-content/uploads/2007/12/content_manager_1.zip" title="Content_Manager"> Content_Manager</a></p>
<p>The second version, Content_Manager2 takes three parameters when it is instantiated, these are:</p>
<ol>
<li>open_tween:Object</li>
<li>close_tween:Object</li>
<li>start_values:Object</li>
</ol>
<p>These parameters determine the animation object that will be passed to Tweener for clips that are added to a page, open_tween. The animation object passed to Tweener for clips that are removed, close_tween. And an object containing the starting properties for clips that have been added to the stage, start_values.</p>
<p>Start_values set the intial starting properties for a clip, open_tween sets the animation applied to a clip as it moves on to the stage. Close_Tween sets the animation that moves a clip off the stage. Content_Manager_2 Example files:<a href="http://www.webdevils.com/wp-content/uploads/2007/12/content_manager_2.zip" title="Content_Manager2"> Content_Manager2</a></p>
<p>This last version of the content manger, Content_Manager3, adds a new parameter for the host clip. THe host clip is when an instance of Content_Manager3 is created. The host clip determines the MovieClip that Content_Manager3 will be adding, removing and animating clips within. Otherwise it is the same as Content_Manager2.</p>
<p>The example files show several ways in which this class can be used.</p>
<p>Add_Page3.fla, shows serveral different ways that clips can be animated by passing different objects to the Content_Manager3.</p>
<p>Add_Page4, shows how the content manager can be nested. Here the main movie uses content manager to add clips that also contain other instances of the Content_Manager3. Here are the Content_Manager3 example files: <a href="http://www.webdevils.com/wp-content/uploads/2007/12/content_manager_3.zip" title="Content_Manager3">Content_Manager3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2007/12/11/content-manager-class/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tweener Ideas AS3</title>
		<link>http://www.webdevils.com/2007/10/27/tweener-ideas-as3/</link>
		<comments>http://www.webdevils.com/2007/10/27/tweener-ideas-as3/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 16:45:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=66</guid>
		<description><![CDATA[Here are a few examples that illustrate using Tweener with AS3. Tweener is an animation Class that makes it easy to get things moving in Flash. The Tweener class files are included with these examples in the cuarina folder. You can download the latest version and read more about Tweener here. These examples show some [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a few examples that illustrate using Tweener with AS3. Tweener is an animation Class that makes it easy to get things moving in Flash. The Tweener class files are included with these examples in the cuarina folder. You can <a href="http://code.google.com/p/tweener/" target="_blank">download the latest version</a> and <a href="http://hosted.zeh.com.br/tweener/docs/en-us/" target="_blank">read more about Tweener here.</a></p>
<p>These examples show some simple animation ideas using Tweener. Each movie is built using the Document Class. The FLA file contains a movie clip that is animated. In the First movie these clips are on the stage. In the second and third examples these clips are in the library and attached to the stage. For this to work the Linkage option must be set to Export For Actionscript.</p>
<p><a href="http://www.webdevils.com/wp-content/uploads/2007/10/basic_tweener.zip" title="Basic Tweener">Basic Tweener</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2007/10/27/tweener-ideas-as3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Some More AS3 Exmaples, Loader Class</title>
		<link>http://www.webdevils.com/2007/10/27/some-more-as3-exmaples-loader/</link>
		<comments>http://www.webdevils.com/2007/10/27/some-more-as3-exmaples-loader/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 15:39:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=64</guid>
		<description><![CDATA[Here are a few examples that use the Loader class to load other SWFs into a main SWF. Here I planned each of the loaded SWFs around it&#8217;s own Document class. So, the Actionscript that runs each movie is contained in a document class for that SWF. This method seemed to work pretty well. The [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a few examples that use the Loader class to load other SWFs into a main SWF. Here I planned each of the loaded SWFs around it&#8217;s own Document class. So, the Actionscript that runs each movie is contained in a document class for that SWF. This method seemed to work pretty well. The loaded movies in this don&#8217;t really do anything. But, they each contain something happening going on with Actionscript, which is stored in the Document Class for each SWF.</p>
<p><a href="http://www.webdevils.com/wp-content/uploads/2007/10/loading_swfs.zip" title="More AS3 Examples">More AS3 Examples</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2007/10/27/some-more-as3-exmaples-loader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AS3 Version of ScrollBar Class</title>
		<link>http://www.webdevils.com/2007/10/13/as3-version-of-scrollbar-class/</link>
		<comments>http://www.webdevils.com/2007/10/13/as3-version-of-scrollbar-class/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 23:02:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Example Files]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.webdevils.com/?p=60</guid>
		<description><![CDATA[Here&#8217;s an AS3 version of the ScrollBar Class. This uses the same methods and properties as the AS2 version of this class. Make a newinstance of ScrollBar with: new ScrollBar( target_mc, callBack ) The target_mc must have two clips inside named drag_mc and track_mc. The first is the dragger and the second sets the limits [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an AS3 version of the ScrollBar Class. This uses the same methods and properties as the AS2 version of this class.</p>
<p>Make a newinstance of ScrollBar with:</p>
<pre lang="actionscript"> new ScrollBar( target_mc, callBack )</pre>
<p>The target_mc must have two clips inside named <strong>drag_mc</strong> and <strong>track_mc</strong>. The first is the dragger and the second sets the limits for the dragger. You can design these in any way you like as long as they use the instance names</p>
<ul>
<li>drag_mc</li>
<li>track_mc</li>
</ul>
<p>For best results place the registration points of both clips in the upper left corner and align both clips within their parent.</p>
<p>The callback can be any function name that you have defined. The ScrollBar class will send a value from 0 to 1 to the callback function. Think of this as the percentage position of drag_mc from the top of track_mc.</p>
<p>For example if you made a clip with both drag_mc and track_mc you might give that clip the instance name of scroll_mc. To make a new instance of ScrollBar you could use the following:</p>
<pre lang="actionscript">var a_scrollbar:Scrollbar = new Scrollbar( scroll_mc, test );</pre>
<p>When the scrollbar is dragged the function <strong>test</strong> would be called and passed a value between 0 and 1 representing the position of the dragger. You could use this to scroll some text in a dynamic text field or set the volume of a sound object.</p>
<p>Here is a sample function that would scroll a dynamic text field named scroll_txt:</p>
<pre lang="actionscript">function test( n ) {
scroll_txt.scroll = Math.round( ( scroll_txt.maxscroll - 1 ) * n ) + 1;
}</pre>
<p><a title="AS3 Scrollbar class" href="http://www.webdevils.com/wp-content/uploads/2007/10/makescrollbar-class.zip">AS3 Scrollbar class</a></p>
<p>Here’s an example of the scrollbar in action.</p>
<p id="so_targ_Scrollbar_341105644" class="flashmovie">
<p><object id="fm_Scrollbar_341105644" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="314" height="156" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="fm_Scrollbar_341105644" /><param name="src" value="http://www.webdevils.com/examples/Scrollbar/Scrollbar.swf" /><param name="quality" value="high" /><embed id="fm_Scrollbar_341105644" type="application/x-shockwave-flash" width="314" height="156" src="http://www.webdevils.com/examples/Scrollbar/Scrollbar.swf" quality="high" name="fm_Scrollbar_341105644"></embed></object><script type="text/javascript">// <![CDATA[
  	var so_341105644 = new SWFObject("examples/Scrollbar/Scrollbar.swf","fm_Scrollbar_341105644","314","156","6","","","","",""); 	so_341105644.write("so_targ_Scrollbar_341105644");
// ]]&gt;</script><strong>Scrollbar</strong>( <strong>host_mc</strong>:MovieClip, <strong>call_back_func</strong>:Function )Creates a new Instance of Scrollbar. The host_mc clip must contain two clips named drag_mc and track_mc. These clips act as the scrollbar. track_mc sets the limits while drag_mc is the interactive clip.The call back function can be the name of any function you define. It will receive one parameter, a value representing how far the scrollbar is scrolled. The range of the returned value will be from 0.0 to 1.0. With 0.0 being the value returned when the scrollbar is at the top (or left when scrolling horizontally) and 1.0 when the scrollbar is at the bottom (or right). You can use this value to control elements in your movie.</p>
<ul>
<li>host_mc: a movie clip containing the drag_mc and track_mc.</li>
<li>call_back: the name of a function that will be called when the scrollbar is scrolled.</li>
</ul>
<p><strong>scroll_horizontal</strong>( <strong>horizontal_scroll</strong>:Boolean )</p>
<p>This method determines whether the scrollbar scrolls vertical or horizontal. By default the scrollbar scrolls vertically. Calling <strong>scroll_horizontal()</strong> and passing true makes the scrollbar scroll horizontally.</p>
<p><strong>getValue</strong>():Number</p>
<p>The method returns the current value of the scrollbar.</p>
<p><strong>setValue</strong>( <strong>n</strong>:Number )</p>
<p>The method sets the current position of the scrollbar. Pass a value of 0 to 100.</p>
<p>Property <strong>enabled</strong></p>
<p>This property enables and disables the scrollbar.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevils.com/2007/10/13/as3-version-of-scrollbar-class/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

