<?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 Style Press, Best Practices from all the Web, Build Better Websites &#187; Basics</title>
	<atom:link href="http://www.webstylepress.com/category/adobe-flash/flash-basics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webstylepress.com</link>
	<description>Web VS Style</description>
	<lastBuildDate>Mon, 26 Dec 2011 10:35:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Swap Depth In Flash</title>
		<link>http://www.webstylepress.com/swap-depth-in-flash/</link>
		<comments>http://www.webstylepress.com/swap-depth-in-flash/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 15:37:38 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Drag]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[swap depth]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=277</guid>
		<description><![CDATA[Swap depth is changing order of movie clips. You can bring some movie clip at top level of other movie or behind it using Swap depth. Using ActionScript here is an easy example to do it. Take two movie clips named as A and B and you can move them up or behind each others [...]<p><a href="http://www.webstylepress.com/swap-depth-in-flash/">Swap Depth In Flash</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/swap-depth.gif" alt="" title="swap-depth" width="200" height="151" class="alignnone size-full wp-image-278" /></p>
<p>Swap depth is changing order of movie clips. You can bring some movie clip at top level of other movie or behind it using Swap depth. Using ActionScript here is an easy example to do it. </p>
<p><span id="more-277"></span></p>
<p>Take two movie clips named as <strong>A</strong> and <strong>B</strong> and you can move them up or behind each others by swap depth.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/swapdepths.rar'>Download Script</a></span></p>
<p><a href="http://www.webstylepress.com/swap-depth-in-flash/">Swap Depth In Flash</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/random-bubble-animation-in-flash/" title="Create Random Bubble Animation In Flash">Create Random Bubble Animation In Flash</a></li><li><a href="http://www.webstylepress.com/flash-random-text-animation/" title="Create Flash Random 3D Text Animation">Create Flash Random 3D Text Animation</a></li><li><a href="http://www.webstylepress.com/flash-resources-and-tutorials/" title="Flash Resources and Tutorials">Flash Resources and Tutorials</a></li><li><a href="http://www.webstylepress.com/scrollbars-in-flash-flash-content-scroll/" title="Scrollbars In flash &#8211; Flash Content Scroll">Scrollbars In flash &#8211; Flash Content Scroll</a></li><li><a href="http://www.webstylepress.com/flash-mouse-effects/" title="Flash Mouse Effects">Flash Mouse Effects</a></li><li><a href="http://www.webstylepress.com/google-search-from-flash/" title="Google Search From Flash Using ActionScript">Google Search From Flash Using ActionScript</a></li><li><a href="http://www.webstylepress.com/flash-hit-counter/" title="Flash Hit Counter Using ActionScript and PHP">Flash Hit Counter Using ActionScript and PHP</a></li><li><a href="http://www.webstylepress.com/flash-slide-shows/" title="Create Flash Slide Shows Using ActionScript &#8211; Example Downloads">Create Flash Slide Shows Using ActionScript &#8211; Example Downloads</a></li><li><a href="http://www.webstylepress.com/flash-window-or-movie-move-dragable-content/" title="Flash Window or Movie Move &#8211; Dragable Content Using ActionScript">Flash Window or Movie Move &#8211; Dragable Content Using ActionScript</a></li><li><a href="http://www.webstylepress.com/flash-login-system/" title="Create Flash Login System using ActionScript">Create Flash Login System using ActionScript</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/swap-depth-in-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Counting In Flash &#8211; Flash Counter</title>
		<link>http://www.webstylepress.com/counting-in-flash-flash-counter/</link>
		<comments>http://www.webstylepress.com/counting-in-flash-flash-counter/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 10:28:39 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[counting]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=255</guid>
		<description><![CDATA[What is the point of counting in flash? Well if there is any point, then You can make count downs or count ups and then trigger some action on its completion. Following tutorials will guide you about how to create counters in flash using ActionScript. Counting Up Till 100 Take a dynamic text field and [...]<p><a href="http://www.webstylepress.com/counting-in-flash-flash-counter/">Counting In Flash &#8211; Flash Counter</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>What is the point of counting in flash? Well if there is any point, then You can make count downs or count ups and then trigger some action on its completion. Following tutorials will guide you about how to create counters in flash using ActionScript.</p>
<p><span id="more-255"></span></p>
<h4>Counting Up Till 100</h4>
<p>Take a dynamic text field and name it a or txt etc.Here i took a. Its defining a variable. First frame must be empty. At second frame take that dynamic field and at another layer place actionscript sequence in frames as following:</p>
<h6>First Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">a=<span style="color: #cc66cc;">1</span>;</pre></div></div>

<h6>Second Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">a=a+<span style="color: #cc66cc;">1</span>;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>a==<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">4</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<h6>Third Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">gotoAndPlay</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<h6>Fourth Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">a=<span style="color: #cc66cc;">100</span>;</pre></div></div>

<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/counting.rar'>Download Counting Script</a></span></p>
<h4>Unlimited Counting Up</h4>
<p>Same dynamic field but actionscript will be:</p>
<h6>First Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">a=<span style="color: #cc66cc;">1</span>;</pre></div></div>

<h6>Second Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">a=a+<span style="color: #cc66cc;">1</span>;</pre></div></div>

<h6>Third Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">gotoAndPlay</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/counting2.rar'>Download Script</a></span></p>
<h4>Counting Down 100 to 1</h4>
<p>Same dynamic field but actionscript will be:</p>
<h6>First Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">a=<span style="color: #cc66cc;">100</span>;</pre></div></div>

<h6>Second Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">a=a-<span style="color: #cc66cc;">1</span>;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>a==<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">4</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<h6>Third Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">gotoAndPlay</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<h6>Fourth Frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">a=<span style="color: #cc66cc;">1</span>;</pre></div></div>

<p><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/counting-down-flash.rar'>Download Counting Down In Flash</a></p>
<p><a href="http://www.webstylepress.com/counting-in-flash-flash-counter/">Counting In Flash &#8211; Flash Counter</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/flash-random-text-animation/" title="Create Flash Random 3D Text Animation">Create Flash Random 3D Text Animation</a></li><li><a href="http://www.webstylepress.com/flash-mouse-effects/" title="Flash Mouse Effects">Flash Mouse Effects</a></li><li><a href="http://www.webstylepress.com/flash-hit-counter/" title="Flash Hit Counter Using ActionScript and PHP">Flash Hit Counter Using ActionScript and PHP</a></li><li><a href="http://www.webstylepress.com/flash-slide-shows/" title="Create Flash Slide Shows Using ActionScript &#8211; Example Downloads">Create Flash Slide Shows Using ActionScript &#8211; Example Downloads</a></li><li><a href="http://www.webstylepress.com/flash-window-or-movie-move-dragable-content/" title="Flash Window or Movie Move &#8211; Dragable Content Using ActionScript">Flash Window or Movie Move &#8211; Dragable Content Using ActionScript</a></li><li><a href="http://www.webstylepress.com/flash-login-system/" title="Create Flash Login System using ActionScript">Create Flash Login System using ActionScript</a></li><li><a href="http://www.webstylepress.com/flash-go-to-frame-actionscript/" title="Flash &#8211; Go To Frame ActionScript">Flash &#8211; Go To Frame ActionScript</a></li><li><a href="http://www.webstylepress.com/date-and-time-in-flash/" title="Date and Time In Flash">Date and Time In Flash</a></li><li><a href="http://www.webstylepress.com/image-transitions-effects-and-particle-systems-in-adobe-flash/" title="Image Transitions &#8211; Effects and Particle Systems In Adobe Flash">Image Transitions &#8211; Effects and Particle Systems In Adobe Flash</a></li><li><a href="http://www.webstylepress.com/flash-tooltips/" title="Flash Tooltips &#8211; Tutorial and Example Download">Flash Tooltips &#8211; Tutorial and Example Download</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/counting-in-flash-flash-counter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

