<?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; Control</title>
	<atom:link href="http://www.webstylepress.com/category/adobe-flash/control/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>Scrollbars In flash &#8211; Flash Content Scroll</title>
		<link>http://www.webstylepress.com/scrollbars-in-flash-flash-content-scroll/</link>
		<comments>http://www.webstylepress.com/scrollbars-in-flash-flash-content-scroll/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 16:52:46 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Scroll]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=295</guid>
		<description><![CDATA[This is very important when working in flash and large amount of content. Flash movies tend to be fixed in width and height usually. If we have much content based on text or images and we have to fit that all in the same flash movie then here is what content scroll in flash will [...]<p><a href="http://www.webstylepress.com/scrollbars-in-flash-flash-content-scroll/">Scrollbars In flash &#8211; Flash Content Scroll</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>This is very important when working in flash and large amount of content. Flash movies tend to be fixed in width and height usually. If we have much content based on text or images and we have to fit that all in the same flash movie then here is what content scroll in flash will help us in doing it.</p>
<p><span id="more-295"></span></p>
<h4>Flash Scroll bar</h4>
<p>Custom Scroll bar With easing motion of content controlled by actionscript.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/flash-scroller-1.gif" alt="" title="flash-scroller" width="300" height="82" class="alignnone size-full wp-image-296" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/flash-scroller-1.rar'>Download Flash Scroller</a></span></p>
<h4>Simple Text Scroll</h4>
<p>Very simple scroll controlled by two buttons.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/scroller-2.gif" alt="" title="scroller-2" width="200" height="146" class="alignnone size-full wp-image-298" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/simple-scroll.rar'>Download Simple Flash Scroll</a></span></p>
<p><a href="http://www.webstylepress.com/scrollbars-in-flash-flash-content-scroll/">Scrollbars In flash &#8211; Flash Content Scroll</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/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/swap-depth-in-flash/" title="Swap Depth In Flash">Swap Depth In Flash</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/scrollbars-in-flash-flash-content-scroll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Mouse Effects</title>
		<link>http://www.webstylepress.com/flash-mouse-effects/</link>
		<comments>http://www.webstylepress.com/flash-mouse-effects/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 16:39:39 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[duplicate]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[pointer]]></category>
		<category><![CDATA[trailers]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=288</guid>
		<description><![CDATA[In this section lets play with mouse cursor in Flash. You can do the following: Mouse hide, show in Flash Mouse Trailers in Flash Creating Custom Mouse Pointer in Flash Mouse hide, show You can show or hide mouse by using following scripts. Mouse.show&#40;&#41;; Mouse.hide&#40;&#41;; Mouse Trailers Name Trailer At blank stage place this action [...]<p><a href="http://www.webstylepress.com/flash-mouse-effects/">Flash Mouse Effects</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>In this section lets play with mouse cursor in Flash. You can do the following:</p>
<ul>
<li>Mouse hide, show in Flash</li>
<li>Mouse Trailers in Flash</li>
<li>Creating Custom Mouse Pointer in Flash</li>
</ul>
<p><span id="more-288"></span></p>
<h4>Mouse hide, show</h4>
<p>You can show or hide mouse by using following scripts.</p>

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


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

<h4>Mouse Trailers</h4>
<h5>Name Trailer</h5>
<p>At blank stage place this action script.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">Text</span> = <span style="color: #ff0000;">&quot;Javed Khalil Hiroshi&quot;</span>;
letters = <span style="color: #0066CC;">Text</span>.<span style="color: #0066CC;">split</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span>;
letterformat = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">TextFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
letterformat.<span style="color: #0066CC;">font</span> = <span style="color: #ff0000;">&quot;Verdana&quot;</span>;
letterformat.<span style="color: #0066CC;">align</span> = <span style="color: #ff0000;">&quot;center&quot;</span>;
letterformat.<span style="color: #0066CC;">size</span> = <span style="color: #ff0000;">&quot;10&quot;</span>;
spacing = <span style="color: #cc66cc;">8</span>;
speed = <span style="color: #cc66cc;">3</span>;
<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> LTR = <span style="color: #cc66cc;">0</span>; LTR<span style="color: #66cc66;">&lt;</span>letters.<span style="color: #0066CC;">length</span>; LTR++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
mc = <span style="color: #0066CC;">_root</span>.<span style="color: #0066CC;">createEmptyMovieClip</span><span style="color: #66cc66;">&#40;</span>LTR+<span style="color: #ff0000;">&quot;l&quot;</span>, LTR<span style="color: #66cc66;">&#41;</span>;
mc.<span style="color: #0066CC;">createTextField</span><span style="color: #66cc66;">&#40;</span>letters<span style="color: #66cc66;">&#91;</span>LTR<span style="color: #66cc66;">&#93;</span>+<span style="color: #ff0000;">&quot;t&quot;</span>, LTR, LTR<span style="color: #66cc66;">*</span>spacing, <span style="color: #cc66cc;">10</span>, <span style="color: #cc66cc;">20</span>, <span style="color: #cc66cc;">20</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">with</span> <span style="color: #66cc66;">&#40;</span>mc<span style="color: #66cc66;">&#91;</span>letters<span style="color: #66cc66;">&#91;</span>LTR<span style="color: #66cc66;">&#93;</span>+<span style="color: #ff0000;">&quot;t&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">text</span> = letters<span style="color: #66cc66;">&#91;</span>LTR<span style="color: #66cc66;">&#93;</span>;
<span style="color: #0066CC;">setTextFormat</span><span style="color: #66cc66;">&#40;</span>letterformat<span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">selectable</span> = <span style="color: #000000; font-weight: bold;">false</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>LTR<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
mc.<span style="color: #006600;">prevClip</span> = <span style="color: #0066CC;">_root</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#40;</span>LTR-<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>+<span style="color: #ff0000;">&quot;l&quot;</span><span style="color: #66cc66;">&#93;</span>;
mc.<span style="color: #0066CC;">onEnterFrame</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_x</span> += <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">prevClip</span>._x-<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_x</span>+<span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span>speed;
<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_y</span> += <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">prevClip</span>._y-<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_y</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span>speed;
<span style="color: #66cc66;">&#125;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
mc.<span style="color: #0066CC;">onEnterFrame</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_x</span> += <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">_root</span>._xmouse-<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_x</span>+<span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span>speed;
<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_y</span> += <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">_root</span>._ymouse-<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_y</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">/</span>speed;
<span style="color: #66cc66;">&#125;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<h4>Creating Custom Mouse Pointer</h4>
<h6>Action on first frame</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">startDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;/my mouse&quot;</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">Mouse</span>.<span style="color: #0066CC;">hide</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<h6>Action on Mouse movieclip</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">onClipEvent</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">Mouse</span>.<span style="color: #0066CC;">hide</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>While my mouse is mouse pointer movieclip name.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/making-mouse-pointer.rar'>Download Custom Mouse Pointer Example</a></span></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/trailers.rar'>Download Mouse Trailers</a></span></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/mouse-follow.rar'>Mouse Following Objects &#8211; Download Examples</a></span></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/duplicate-movieclip-example.rar'>Download Duplicate Movieclip Example</a></span></p>
<p><a href="http://www.webstylepress.com/flash-mouse-effects/">Flash Mouse Effects</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-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/counting-in-flash-flash-counter/" title="Counting In Flash &#8211; Flash Counter">Counting In Flash &#8211; Flash Counter</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><li><a href="http://www.webstylepress.com/buttons-control-in-flash/" title="Buttons Control In Flash">Buttons Control In Flash</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/flash-mouse-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>Create Flash Slide Shows Using ActionScript &#8211; Example Downloads</title>
		<link>http://www.webstylepress.com/flash-slide-shows/</link>
		<comments>http://www.webstylepress.com/flash-slide-shows/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 11:01:18 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Slide Shows]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=271</guid>
		<description><![CDATA[I have two very cool examples to share with you related to slide show in flash using ActionScript which offer smooth cross fading and sliding transition animations. Slide Show 1 (Cross Fade) Download Slide Show 1 Slide Show 2 (Sliding Effect) Download Scroller Slideshow Example Create Flash Slide Shows Using ActionScript &#8211; Example Downloads is [...]<p><a href="http://www.webstylepress.com/flash-slide-shows/">Create Flash Slide Shows Using ActionScript &#8211; Example Downloads</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>I have two very cool examples to share with you related to slide show in flash using ActionScript which offer smooth cross fading and sliding transition animations. </p>
<p><span id="more-271"></span></p>
<h4>Slide Show 1 (Cross Fade)</h4>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/s1.jpg" alt="" title="s1" width="213" height="253" class="alignnone size-full wp-image-272" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/s1-slideshow-flash.rar'>Download Slide Show 1</a></span></p>
<h4>Slide Show 2 (Sliding Effect)</h4>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/s2.jpg" alt="" title="s2" width="194" height="195" class="alignnone size-full wp-image-273" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/scroller-flash-slideshow.rar'>Download Scroller Slideshow Example</a></span></p>
<p><a href="http://www.webstylepress.com/flash-slide-shows/">Create Flash Slide Shows Using ActionScript &#8211; Example Downloads</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-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/counting-in-flash-flash-counter/" title="Counting In Flash &#8211; Flash Counter">Counting In Flash &#8211; Flash Counter</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><li><a href="http://www.webstylepress.com/buttons-control-in-flash/" title="Buttons Control In Flash">Buttons Control In Flash</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/flash-slide-shows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Window or Movie Move &#8211; Dragable Content Using ActionScript</title>
		<link>http://www.webstylepress.com/flash-window-or-movie-move-dragable-content/</link>
		<comments>http://www.webstylepress.com/flash-window-or-movie-move-dragable-content/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 10:53:39 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Drag]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=265</guid>
		<description><![CDATA[Drag-able content is flash looks very sexy. Suppose you created a movie clip that had all the sound controls in it. You can enable it to drag freely across the main movie or within fixed parameters. I used it once at sound control panel. I had to create a movie clip that is able to [...]<p><a href="http://www.webstylepress.com/flash-window-or-movie-move-dragable-content/">Flash Window or Movie Move &#8211; Dragable Content Using ActionScript</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>Drag-able content is flash looks very sexy. Suppose you created a movie clip that had all the sound controls in it. You can enable it to drag freely across the main movie or within fixed parameters. I used it once at sound control panel. I had to create a movie clip that is able to appear and disappear and also it was able to move within fixed parameters. Its so cool.</p>
<p><span id="more-265"></span></p>
<h4>Simple Movie Drag</h4>
<p>Create a movieclip and name it <strong>d</strong> or whatever you like. In movie clip create a button and put actionscript on it.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>press<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">startDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;/d&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">stopDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/drag-and-stop.rar'>Download Drag Script</a></span></p>
<h4>Drag with Parameters and Control</h4>
<p>To apply restrictions for specific area in which movie clip is drag able consider this example.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>press<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">startDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;_root.window&quot;</span>, <span style="color: #000000; font-weight: bold;">false</span>, <span style="color: #cc66cc;">92</span>, <span style="color: #cc66cc;">92</span>, <span style="color: #cc66cc;">458</span>, <span style="color: #cc66cc;">308</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">stopDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>92, 92, 458, 308 are left, right, top and bottom parameters boundries window cant cross. Window is movie clip name which is concerned.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/menu-dragable.rar'>Download Script</a></span></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/2drag2.rar'>Multiple Objects Drag Example</a></span></p>
<h4>Movie Properties Control</h4>
<p>Move movie clip right, left, up, down, resize, rotate, brightness, contrast etc</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/movie_properties.rar'>Download Movie Properties Control Example</a></span></p>
<p><a href="http://www.webstylepress.com/flash-window-or-movie-move-dragable-content/">Flash Window or Movie Move &#8211; Dragable Content Using ActionScript</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-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-login-system/" title="Create Flash Login System using ActionScript">Create Flash Login System using ActionScript</a></li><li><a href="http://www.webstylepress.com/counting-in-flash-flash-counter/" title="Counting In Flash &#8211; Flash Counter">Counting In Flash &#8211; Flash Counter</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><li><a href="http://www.webstylepress.com/buttons-control-in-flash/" title="Buttons Control In Flash">Buttons Control In Flash</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/flash-window-or-movie-move-dragable-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Flash Login System using ActionScript</title>
		<link>http://www.webstylepress.com/flash-login-system/</link>
		<comments>http://www.webstylepress.com/flash-login-system/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 10:40:03 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Login Systems]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[login]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=260</guid>
		<description><![CDATA[If you want some hidden part or admin section in your flash movie then you can just create a login system for Flash using ActionScript. Simple Flash File Login Method 1 &#8211; Two Users Take input fields user and pass. Create other two sections of login successful and login failed also. Create a Button and [...]<p><a href="http://www.webstylepress.com/flash-login-system/">Create Flash Login System using ActionScript</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>If you want some hidden part or admin section in your flash movie then you can just create a login system for Flash using ActionScript. </p>
<p><span id="more-260"></span></p>
<h4>Simple Flash File Login</h4>
<h4>Method 1 &#8211; Two Users</h4>
<p>Take input fields user and pass. Create other two sections of <strong>login successful</strong> and <strong>login failed</strong> also. Create a Button and write following actionscript over it.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/loginpass.gif" alt="" title="loginpass" width="300" height="110" class="alignnone size-full wp-image-261" /></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release, keyPress <span style="color: #ff0000;">&quot;&lt;Enter&gt;&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>user==<span style="color: #ff0000;">&quot;javed&quot;</span> <span style="color: #66cc66;">&amp;&amp;</span> pass==<span style="color: #ff0000;">&quot;letmein&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">||</span> <span style="color: #66cc66;">&#40;</span>user==<span style="color: #ff0000;">&quot;admin&quot;</span> <span style="color: #66cc66;">&amp;&amp;</span> pass==<span style="color: #ff0000;">&quot;go&quot;</span><span style="color: #66cc66;">&#41;</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;">10</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>This is simple condition example in flash actionscript. If provided login name and password will match with what are in the actionscript, the script will show success page, otherwise will return after showing login failed message.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/login-pass-flash.rar'>Download Files</a></span></p>
<h4>Method 2 &#8211; Single User, Different Actionscript</h4>
<p>Create input fields user and pass. Create other two sections of login successful and login failed also. Take a Button and write actionscript over it.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release, keyPress <span style="color: #ff0000;">&quot;&lt;Enter&gt;&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>user <span style="color: #0066CC;">eq</span><span style="color: #ff0000;">&quot;user&quot;</span> <span style="color: #0066CC;">and</span> pass <span style="color: #0066CC;">eq</span><span style="color: #ff0000;">&quot;pass&quot;</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;">2</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/password-protaction-flash.rar'>Download Files</a></span></p>
<p><a href="http://www.webstylepress.com/flash-login-system/">Create Flash Login System using ActionScript</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-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/counting-in-flash-flash-counter/" title="Counting In Flash &#8211; Flash Counter">Counting In Flash &#8211; Flash Counter</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><li><a href="http://www.webstylepress.com/buttons-control-in-flash/" title="Buttons Control In Flash">Buttons Control In Flash</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/flash-login-system/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flash &#8211; Go To Frame ActionScript</title>
		<link>http://www.webstylepress.com/flash-go-to-frame-actionscript/</link>
		<comments>http://www.webstylepress.com/flash-go-to-frame-actionscript/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 09:56:07 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash go to frame]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=251</guid>
		<description><![CDATA[When you have got a movie and you want to navigate it frame by frame then this script is handy. You can write frame number to jump at that frame. Add stop button on starting frame. Create new frames and add relevant contents on them. Create an input text and name it (assign variable) goto [...]<p><a href="http://www.webstylepress.com/flash-go-to-frame-actionscript/">Flash &#8211; Go To Frame ActionScript</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/jump-to-frame.gif" alt="" title="jump-to-frame" width="300" height="43" class="alignnone size-full wp-image-252" /></p>
<p>When you have got a movie and you want to navigate it frame by frame then this script is handy. You can write frame number to jump at that frame. Add stop button on starting frame. Create new frames and add relevant contents on them. Create an input text and name it (assign variable) <strong>goto</strong> and create a button and write following action script on that.</p>
<p><span id="more-251"></span></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">/</span>:<span style="color: #0066CC;">goto</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&gt;</span><span style="color: #cc66cc;">5</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;">7</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">/</span>:<span style="color: #0066CC;">goto</span><span style="color: #66cc66;">&#41;</span> == <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;">2</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">/</span>:<span style="color: #0066CC;">goto</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #cc66cc;">2</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;">3</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">/</span>:<span style="color: #0066CC;">goto</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #cc66cc;">3</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> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">/</span>:<span style="color: #0066CC;">goto</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #cc66cc;">4</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;">5</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">/</span>:<span style="color: #0066CC;">goto</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #cc66cc;">4</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;">5</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">7</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/jump-to-frame.rar'>Download Script</a></span></p>
<p><a href="http://www.webstylepress.com/flash-go-to-frame-actionscript/">Flash &#8211; Go To Frame ActionScript</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-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/counting-in-flash-flash-counter/" title="Counting In Flash &#8211; Flash Counter">Counting In Flash &#8211; Flash Counter</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><li><a href="http://www.webstylepress.com/buttons-control-in-flash/" title="Buttons Control In Flash">Buttons Control In Flash</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/flash-go-to-frame-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser Control From Flash</title>
		<link>http://www.webstylepress.com/browser-control-from-flash/</link>
		<comments>http://www.webstylepress.com/browser-control-from-flash/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 09:41:20 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash tips]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=249</guid>
		<description><![CDATA[In this section you will learn how to do the following in Flash using ActionScript. Close Browser From Flash Without POPUP Alert (browser close) With POPUP Alert (browser close) With POPUP Alert (browser close) Print From Flash Add to Favourites From Flash Launch Popup or Fullscreen Window From Flash For Full Screen in Html Page [...]<p><a href="http://www.webstylepress.com/browser-control-from-flash/">Browser Control From 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>In this section you will learn how to do the following in Flash using ActionScript.</p>
<ul>
<li>Close Browser From Flash</li>
<li>Without POPUP Alert (browser close)</li>
<li>With POPUP Alert (browser close)</li>
<li>With POPUP Alert (browser close)</li>
<li>Print From Flash</li>
<li>Add to Favourites From Flash</li>
<li>Launch Popup or Fullscreen Window From Flash</li>
<li>For Full Screen in Html Page Containing Swf</li>
<li>Open Many Popups From Flash (if u have many buttons and which indicate different windows to open)</li>
</ul>
<p>and more&#8230;</p>
<p><span id="more-249"></span></p>
<h4>Close Browser From Flash</h4>
<h5>With POPUP Alert (swf close)</h5>
<p>fscommands will do the task. Write the following script on button in flash and you are done.<br />
This script will close the swf and not the browser page.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">fscommand</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;quit&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<h5>Without POPUP Alert (browser close)</h5>
<p>Write the following script on button in flash and you are done.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;javascript:window.opener=self;window.close(); &quot;</span>, <span style="color: #ff0000;">&quot;_self&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<h5>With POPUP Alert (browser close)</h5>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;javascript:window.close()&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<h5>With POPUP Alert (browser close)</h5>
<h6>On Flash Button</h6>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;JavaScript:close();&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>In that webpage in body section write the following anywhere.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a href=JavaScript:close();&gt;&lt;/a&gt;</pre></div></div>

<h4>Print From Flash</h4>
<p>There is print function in flash under printing action script menu, you can use that.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">print</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">_root</span>, <span style="color: #ff0000;">&quot;bmax&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>It will print the whole _root timeline. If you want to specify frames (like one frame only put a label on the frame that says #p (hash sign + p) everything else will be excluded.</p>
<p>OR</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">printAsBitmapNum</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>, <span style="color: #ff0000;">&quot;bmovie&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Printing can be customised and you can define area and other options for that i.e.</p>
<p><a rel="nofollow" target="_blank" href="http://www.flashkit.com/tutorials/Getting_Started/Customis-Eddie_Ca-31/index.php" target="_blank">Check out following instructions</a></p>
<h4>Add to Favourites From Flash</h4>
<p>Following is the example of how to add to favorites from flash movie. You will have to add some actionscript at some button in flash and also some javascript code in webpage head section inwhich that flash movie is beingcalled.</p>
<h5>On Flash Button</h5>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;javascript:AjoutFavo()&quot;</span>, <span style="color: #ff0000;">&quot;_self&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<h5>In Webpage Head Section</h5>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>SCRIPT LANGUAGE<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;JavaScript&quot;</span><span style="color: #339933;">&gt;</span> 
<span style="color: #003366; font-weight: bold;">function</span> AjoutFavo<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appName</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Microsoft&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;=</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span>parseInt<span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appVersion</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;=</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
window.<span style="color: #660066;">external</span>.<span style="color: #660066;">AddFavorite</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;http://www.websiteurl.com&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;web site name&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> 
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>SCRIPT<span style="color: #339933;">&gt;</span></pre></div></div>

<h4>Launch Popup or Fullscreen Window From Flash</h4>
<h4>Popup From Flash</h4>
<h5>Script For Flash Button</h5>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;javascript:openWin();&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<h5>For Html Page that Contain Swf with Button</h5>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">function</span> openWin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'http://yahoo.com'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'win_ranking'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'width=320,height=400,toolbar=0,menubar=0,location=0,left=0,top=113,screenX=0,screenY=100,scrollbars=no'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<h5>For Full Screen in Html Page Containing Swf</h5>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">function</span> openWin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'http://yahoo.com'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'win_ranking'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'toolbar=0,menubar=0,location=0,left=0,top=113,screenX=0,screenY=100,scrollbars=no,fullscreen=yes'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<h6>Open Many Popups From Flash (if u have many buttons and which indicate different windows to open)</h6>
<p>Add following scripts to your flash buttons.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;JavaScript: OpenWin('1.htm');&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;JavaScript: OpenWin2('2.htm');&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;JavaScript: OpenWin3('3.htm');&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>and so on&#8230;</p>
<p>Add this script in the head of your page inwhich this swf is embedded.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>Script Language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;JavaScript&quot;</span><span style="color: #339933;">&gt;</span> <span style="color: #003366; font-weight: bold;">function</span> OpenWin<span style="color: #009900;">&#40;</span>fileName<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>fileName<span style="color: #339933;">,</span><span style="color: #3366CC;">'mNew'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;width=270,height=179,toolbar=0,menubar=0,location=0,left=0,top=113,screenX=0,screenY=100,scrollbars=no&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
<span style="color: #009900;">&#125;</span>
<span style="color: #003366; font-weight: bold;">function</span> OpenWin2<span style="color: #009900;">&#40;</span>fileName<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>fileName<span style="color: #339933;">,</span><span style="color: #3366CC;">'mNew2'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;width=172,height=268,toolbar=0,menubar=0,location=0,left=0,top=113,screenX=0,screenY=100,scrollbars=no&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
<span style="color: #009900;">&#125;</span> <span style="color: #003366; font-weight: bold;">function</span> OpenWin3<span style="color: #009900;">&#40;</span>fileName<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>fileName<span style="color: #339933;">,</span><span style="color: #3366CC;">'mNew3'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;width=411,height=270,toolbar=0,menubar=0,location=0,left=0,top=113,screenX=0,screenY=100,scrollbars=no&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
<span style="color: #009900;">&#125;</span>
<span style="color: #006600; font-style: italic;">// and so on ................................</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p><a href="http://www.webstylepress.com/browser-control-from-flash/">Browser Control From 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/embed-swf-files-javascript-run-active-content/" title="Embed SWF Files Via Javascript &#8211; Active Content Script">Embed SWF Files Via Javascript &#8211; Active Content Script</a></li><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/swap-depth-in-flash/" title="Swap Depth In Flash">Swap Depth In Flash</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></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/browser-control-from-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image Transitions &#8211; Effects and Particle Systems In Adobe Flash</title>
		<link>http://www.webstylepress.com/image-transitions-effects-and-particle-systems-in-adobe-flash/</link>
		<comments>http://www.webstylepress.com/image-transitions-effects-and-particle-systems-in-adobe-flash/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 13:54:43 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Particle Systems]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=219</guid>
		<description><![CDATA[Following are some particle systems made in flash using ActionScript. I have &#8216;Flash Fairies particle system&#8217;, &#8216;Flash Snow Effect&#8217;, &#8216;Flash Stars Field&#8217;, &#8216;Flash Smoke Effect&#8217;, &#8216;Flash Stars Effect&#8217;, &#8216;Flash Rain Effect&#8217;, &#8216;Flash Background Color Effect&#8217;, &#8216;Flash Leaves Particle System&#8217; and more&#8230;with examples to download. Snow &#8211; Fairies &#8211; Particle System Snow effect with flakes. You [...]<p><a href="http://www.webstylepress.com/image-transitions-effects-and-particle-systems-in-adobe-flash/">Image Transitions &#8211; Effects and Particle Systems In Adobe 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>Following are some particle systems made in flash using ActionScript. I have &#8216;Flash Fairies particle system&#8217;, &#8216;Flash Snow Effect&#8217;, &#8216;Flash Stars Field&#8217;, &#8216;Flash Smoke Effect&#8217;, &#8216;Flash Stars Effect&#8217;, &#8216;Flash Rain Effect&#8217;, &#8216;Flash Background Color Effect&#8217;, &#8216;Flash Leaves Particle System&#8217; and more&#8230;with examples to download.</p>
<p><span id="more-219"></span></p>
<h4>Snow &#8211; Fairies &#8211; Particle System</h4>
<p>Snow effect with flakes. You can modify flakes into fairies also or any other particle system.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/snow-fairies.gif" alt="" title="snow-fairies" width="300" height="178" class="alignnone size-full wp-image-222" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/snow1.rar'>Download Snow Effect</a></span></p>
<h4>Realistic Snow Effect</h4>
<p>Realistic snow effect in adobe flash created with single movie clip.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/snow-realistic.gif" alt="" title="snow-realistic" width="286" height="188" class="alignnone size-full wp-image-224" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/snowgreat.rar'>Download Realistic Snow Effect</a></span></p>
<h4>Stars Field Falling Back</h4>
<p>Beautiful stars field receding created with actionscript.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/stars-field.gif" alt="" title="stars-field" width="300" height="158" class="alignnone size-full wp-image-226" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/stars.rar'>Downlaod Stars Field Effect</a></span></p>
<h4>Stars Field Lifting Up With Moon</h4>
<p>Star Field going up while moon appears.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/stars-moon.gif" alt="" title="stars-moon" width="300" height="150" class="alignnone size-full wp-image-228" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/star-and-moon.rar'>Download Stars Field and Moon Effect</a></span></p>
<h4>Smoke</h4>
<p>Realistic smoke effect.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/realistic-smoke-effect.gif" alt="" title="realistic-smoke-effect" width="249" height="168" class="alignnone size-full wp-image-231" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/smoke-effect-real.rar'>Download Smoke Effect</a></span></p>
<h4>Twinkle Twinkle Stars</h4>
<p>Stars Twinkling or little moths circling.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/stars-moths.gif" alt="" title="stars-moths" width="282" height="176" class="alignnone size-full wp-image-233" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/stars-or-moths.rar'>Download Stars or Moths Particle System</a></span></p>
<h4>Adobe Flash Rain Effect</h4>
<p>Rain pouring down. Flash rain effect.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/rain-drops.gif" alt="" title="rain-drops" width="300" height="194" class="alignnone size-full wp-image-236" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/rain-drops.rar'>Download Rain Drops Flash Effect</a></span></p>
<h4>Bg Color Changer</h4>
<p>Background changer with smooth transition using actionscript.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/bg-color-changer.gif" alt="" title="bg-color-changer" width="300" height="163" class="alignnone size-full wp-image-237" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/bg-color-changer.rar'>Download Background Color Changer</a></span></p>
<h4>Leaves System In Flash</h4>
<p>Lots of leaves or hearts or any particles you can use which go upwards and on mouse over they one by one go disappear. great flash effect.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/leaves-hearts-particle-system.gif" alt="" title="leaves-hearts-particle-system" width="300" height="107" class="alignnone size-full wp-image-239" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/leaves.rar'>Download Leaves System</a></span></p>
<h4>Bug Walks On MouseOver &#8211; Flash Actionscript</h4>
<p>When you place mouse over bug it walks and stops after some time and stay until you poke it again with mouse.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/bug-walks.gif" alt="" title="bug-walks" width="300" height="136" class="alignnone size-full wp-image-241" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/bug-moves.rar'>Download Moving Bug Controlled Via Actionscript</a></span></p>
<p><a href="http://www.webstylepress.com/image-transitions-effects-and-particle-systems-in-adobe-flash/">Image Transitions &#8211; Effects and Particle Systems In Adobe 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/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-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/counting-in-flash-flash-counter/" title="Counting In Flash &#8211; Flash Counter">Counting In Flash &#8211; Flash Counter</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/flash-tooltips/" title="Flash Tooltips &#8211; Tutorial and Example Download">Flash Tooltips &#8211; Tutorial and Example Download</a></li><li><a href="http://www.webstylepress.com/buttons-control-in-flash/" title="Buttons Control In Flash">Buttons Control In Flash</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/image-transitions-effects-and-particle-systems-in-adobe-flash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sound Control In Flash &#8211; Tutorial and Downloads</title>
		<link>http://www.webstylepress.com/sound-control-in-flash/</link>
		<comments>http://www.webstylepress.com/sound-control-in-flash/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 08:44:51 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=182</guid>
		<description><![CDATA[We can import any sound of supported format into flash (Shortcut: Ctrl+R). After importing, you can find sound in Library panel and by dragging that at stage it will be added in timeline of movie. Other way is to click at timeline which will give you sounds panel in movie properties panel, if you have [...]<p><a href="http://www.webstylepress.com/sound-control-in-flash/">Sound Control In Flash &#8211; Tutorial and Downloads</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>We can import any sound of supported format into flash (Shortcut: Ctrl+R). After importing, you can find sound in Library panel and by dragging that at stage it will be added in timeline of movie. Other way is to click at timeline which will give you sounds panel in movie properties panel, if you have imported sounds into your movie. You can select any sound from there and add into your movie. By selecting any sound it further provides some options of Effects and Sync. By effects you can select left or right channel sound or sound fade in, fade out effect. By Sync you can select event, start, stop, stream options for selected sound and loop option or repeat times . Event sound is normal while stream sound is streamed when movie is played, if the movie is paused then stream sound will be paused also. Stream sound option is for synchronizing sound with visual animation where you need sound along with animation effects. If you need a loop sound, and you have a music loop and you want it to be played again and again then select event or play and select repeat and put value of 999 in repeat times. If you select stream sound, you will have to add frames to the sound till it ends and also we do not give repeat times to a streaming sound usually.</p>
<p><span id="more-182"></span></p>
<p>Now lets get started. I have some cool sound implementation examples here.</p>
<h5>Simple Sound Control On/Off</h5>
<p>For simple sound control we need two buttons and two frames.<br />
One frame containing sound and second one empty with a blank keyframe.<br />
Now when we want to start a sound we need to click the button which will have a simple action<br />
i.e.</p>

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

<p>While at frame 2 sound is placed and suppose that the loop and it will repeat on until it is stopped.</p>
<p>Now if we need to stop that sound then we need a button with the following actionscript</p>

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

<p>While frame number 3 is blank key frame. And we can implement this by creating a movie clip and these two frames, sound and buttons in that movie clip and that can be always available for whole movie and whenever we can trigger sound to be stopped or played.</p>
<p>This example is very basic and does not deals with advanced issues relating to sound. We can control sound by fancy bars, We can gradually decrease and increase sound level. Examples below explain  advanced control of sounds.</p>
<h5>Fade in Out, On/Off Single Sound</h5>
<p>- Single Sound<br />
- Sound exported from library<br />
- On/Off &#8211; Fade in out<br />
- Sound starts again at the point from where it was stopped before after fade out to fade in.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/fadeinoutsingle.rar'>Download Example</a></span></p>
<h5>Buttons Bar Rollover Sound Control</h5>
<p>- Exported from library<br />
- Fade in out<br />
- Plays from where it was stopped<br />
- Buttons rollover volume control</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/sound-buttons-on-off.jpg" alt="" title="sound-buttons-on-off" width="115" height="30" class="alignnone size-full wp-image-186" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/rolloverbuttonssound.rar'>Download Example</a></span></p>
<h5>Slider Sound Control With Button</h5>
<p>- Exported from library<br />
- Fade in out<br />
- Plays from where it was stopped<br />
- Sliderbar Control</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/slidervolumectrl.jpg" alt="" title="slidervolumectrl" width="90" height="36" class="alignnone size-full wp-image-190" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/slider1.rar'>Download Slider Volume Control</a></span></p>
<h5>On Off Text &#8211; Internal Sound &#8211; Cross Fade</h5>
<p>- Fades in out<br />
- Plays from where it was stopped<br />
- On Off text display<br />
- Single Button on off control</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/onoffcrossfadeflashsoundctr.jpg" alt="" title="onoffcrossfadeflashsoundctr" width="65" height="21" class="alignnone size-full wp-image-192" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/so1.rar'>Download Example</a></span></p>
<h5>Single Sound &#8211; Internal Sound &#8211; Cross Fade &#8211; Moving Bars</h5>
<p>- Fade in out<br />
- Plays from where it was stopped<br />
- Moving Bars<br />
- Single Button on off control</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/so2.rar'>Download Example</a></span></p>
<h5>Single Sound &#8211; Internal Sound &#8211; Cross Fade &#8211; Static Bars</h5>
<p>- Fade in out<br />
- Plays from where it was stopped<br />
- Static Bars<br />
- Single Button on off control</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/so3.rar'>Download Example</a></span></p>
<h5>Single Sound &#8211; Internal Sound &#8211; Vertical Bar Control</h5>
<p>- Vertical Bar control<br />
- Internal Sound</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/vbar.gif" alt="" title="vbar" width="373" height="197" class="alignnone size-full wp-image-197" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/vbar.rar'>Download Example</a></span></p>
<h5>Single Sound &#8211; Vertical Bar Control/On Off Button &#8211; Cross Fade &#8211; Moving Bars on off</h5>
<p>- Vertical Bar control + Button Control<br />
- Moving bars which behave with on off<br />
- Cross Fadeing Sound</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/advancedsoundctrl.gif" alt="" title="advancedsoundctrl" width="124" height="200" class="alignnone size-full wp-image-200" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/so4.rar'>Download Example</a></span></p>
<h5>Play External MP3 Sound Without Loading</h5>
<p>This Player has On, Off, Next, Forward buttons and can play many MP3 sounds from outside but it will not preload these sounds.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/mp3externalload.gif" alt="" title="mp3externalload" width="274" height="31" class="alignnone size-full wp-image-201" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/playexternalmp3.rar'>Download Example</a></span></p>
<h5>Multiple Sounds CrossFade</h5>
<p>Multiple Sounds &#8211; Crossfade &#8211; Slider Bars &#8211; On Off Button</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/4-sounds.gif" alt="" title="4-sounds" width="200" height="121" class="alignnone size-full wp-image-203" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/4-sounds-crossfade.rar'>Download Example</a></span></p>
<h6>Sounds Tutorials Resources</h6>
<p><a rel="nofollow" target="_blank" href="http://kennybellew.cowfly.com/tutorial/index.html" target="_blank">http://kennybellew.cowfly.com/tutorial/index.html</a></p>
<h6>Equalizer Bars For Sound</h6>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/eq-bars-1.jpg" alt="" title="eq-bars-1" width="120" height="97" class="alignnone size-full wp-image-207" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/eq.rar'>Download Files</a></span></p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/eq-bars-2.jpg" alt="" title="eq-bars-2" width="51" height="29" class="alignnone size-full wp-image-208" /></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/eq2.rar'>Download Files</a></span></p>
<p><a href="http://www.webstylepress.com/sound-control-in-flash/">Sound Control In Flash &#8211; Tutorial and Downloads</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/how-to-control-font-size-in-percentage/" title="How to Control Font Size in Percentage">How to Control Font Size in Percentage</a></li><li><a href="http://www.webstylepress.com/transition-between-sections-of-a-flash-movie/" title="Transition Between Sections of a Flash Movie">Transition Between Sections of a Flash Movie</a></li><li><a href="http://www.webstylepress.com/load-external-swfs-with-smooth-transition/" title="Load External SWFs With Smooth Transition">Load External SWFs With Smooth Transition</a></li><li><a href="http://www.webstylepress.com/buttons-control-in-flash/" title="Buttons Control In Flash">Buttons Control In Flash</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/sound-control-in-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

