<?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; Drag</title>
	<atom:link href="http://www.webstylepress.com/category/adobe-flash/drag/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>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>
	</channel>
</rss>

