<?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>FlashComponents.Net Blog &#187; Flash Categories</title>
	<atom:link href="http://www.flashxml.com/category/flash-categories/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashxml.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 30 Jul 2010 11:30:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Must-Have Resizable Flash Templates with Deep Linking</title>
		<link>http://www.flashxml.com/flash-categories/actionscript-3-0/must-have-resizable-flash-templates-with-deep-linking/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=must-have-resizable-flash-templates-with-deep-linking</link>
		<comments>http://www.flashxml.com/flash-categories/actionscript-3-0/must-have-resizable-flash-templates-with-deep-linking/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 09:49:09 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Flash Templates]]></category>
		<category><![CDATA[deeplinking]]></category>
		<category><![CDATA[flash template]]></category>
		<category><![CDATA[fwdesign templates]]></category>
		<category><![CDATA[resizable flash template]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1886</guid>
		<description><![CDATA[Flash websites are becoming easier to embed, navigate and handle by the minute. One great feature that you can use to present your business is deep linking. This allows you to get a unique link for every section of the template, which is dynamically generated based on the section name. ]]></description>
			<content:encoded><![CDATA[<p>Flash websites are becoming easier to embed, navigate and handle by the minute. One great feature that you can use to present your business to clients is deep linking. This allows you to get a unique link for every section of the template, which is dynamically generated based on the section name.</p>
<p>How is this useful? Well, if you want to send a client the link for a specific image, you can do that just like with a regular HTML site.  To see how it works, here are three awesome Flash templates developed by <a href="http://www.flashcomponents.net/author/fwdesign.html" target="_blank">FWDesign</a> that you can use if you are passionate about your business and want it to grown, but don&#8217;t have the technical programmer skills to do it yourself.</p>
<p><strong>Flash Template Web Deep Linking</strong></p>
<p><strong><a href="http://www.flashcomponents.net/component/flash-template-web-deep-linking.html" target="_blank"><img class="aligncenter size-full wp-image-1887" title="Flash Template Web Deep Linking" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/07/Flash-Template-Web-Deep-Linking.jpg" alt="Flash Template Web Deep Linking" width="585" height="337" /></a><span id="more-1886"></span><br />
</strong></p>
<p>This AS3 Flash template includes galleries, a latest news category where you can also include .swf files throught the text to make it more interactive. A professional XML video player is also available and you can successfully use it to present studies or show your visitors how you can help them.</p>
<p><strong>Exclusive Photo Template &#8211; PayPal and Cart &#8211; XML Deeplinking</strong></p>
<p><a href="http://www.flashcomponents.net/component/exclusive_photo_template_paypal_and_cart_xml_deeplinking.html" target="_blank"><img class="aligncenter size-full wp-image-1889" title="Exclusive Photo Template - PayPal and Cart - XML Deeplinking" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/07/Exclusive-Photo-Template-PayPal-and-Cart-XML-Deeplinking.jpg" alt="Exclusive Photo Template - PayPal and Cart - XML Deeplinking" width="583" height="337" /></a></p>
<p>This template is ideal if you want to sell items directly from your website. It includes a cart and also allows users to purchase and pay through PayPal. You don&#8217;t need to know how to code to use this template because everything you need can be configured with external XML files.</p>
<p><strong>Exclusive Photo Template &#8211; XML Deeplinking Resizable</strong></p>
<p><a href="http://www.flashcomponents.net/component/exclusive_photo_template_-_xml_deeplinking_resizable.html" target="_blank"><img class="aligncenter size-full wp-image-1890" title="Exclusive Photo Template - XML Deeplinking Resizable" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/07/Exclusive-Photo-Template-XML-Deeplinking-Resizable.jpg" alt="Exclusive Photo Template - XML Deeplinking Resizable" width="585" height="279" /></a></p>
<p>In case you don&#8217;t need a shopping cart, this simpler version of the previous template includes everything from galleries and custom text windows, to customized color theme and HTML formatted text. This is an excellent aquisition for  photographers because you can showcase your work using any type of image format and the gallery will resize and display perfectly no matter the image size or format.</p>
<p>For other excellent Flash templates, visit FWDesign&#8217;s portfolio right<strong> </strong><a href="http://www.flashcomponents.net/author/fwdesign.html" target="_blank">here</a><strong> </strong>and let us know which one&#8217;s your favorite.
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2Fmust-have-resizable-flash-templates-with-deep-linking%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2Fmust-have-resizable-flash-templates-with-deep-linking%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2Fmust-have-resizable-flash-templates-with-deep-linking%2F&amp;t=Must-Have%20Resizable%20Flash%20Templates%20with%20Deep%20Linking" id="facebook_share_button_1886" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1886') || document.getElementById('facebook_share_icon_1886') || document.getElementById('facebook_share_both_1886') || document.getElementById('facebook_share_button_1886');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1886') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-categories/actionscript-3-0/must-have-resizable-flash-templates-with-deep-linking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Featured Author: FireCode</title>
		<link>http://www.flashxml.com/flash-categories/flash-video/featured-author-firecode/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=featured-author-firecode</link>
		<comments>http://www.flashxml.com/flash-categories/flash-video/featured-author-firecode/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 11:52:46 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Flash Video]]></category>
		<category><![CDATA[FireCode]]></category>
		<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[flash video player]]></category>
		<category><![CDATA[youtube video player]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1850</guid>
		<description><![CDATA[Firecode is a new Flash developer on FC but he's already got the attention of our members with a collection of awesome and diverse video players. You might have also noticed he's made a name with his Flash tutorials that are very useful and comprehensive. So, if you need an expert's advice, he's your guy.]]></description>
			<content:encoded><![CDATA[<p>Firecode is a new Flash developer on FC but he&#8217;s already got the attention of our members with a collection of awesome and diverse video players. You might have also noticed he&#8217;s made a name with his Flash tutorials that are very useful and comprehensive. So, if you need an expert&#8217;s advice, he&#8217;s your guy.</p>
<p>When it comes to his Flash video players, <a href="http://www.flashcomponents.net/author/firecode.html" target="_blank">FireCode</a> has created his own, unique style. Just take a look at this slick YouTube video player:</p>
<p><a href="http://www.flashcomponents.net/component/smooth-flv-streaming-youtube-video-player.html" target="_blank"><img class="aligncenter size-full wp-image-1851" title="Smooth FLV Streaming Youtube Video Player" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/07/Smooth-FLV-Streaming-Youtube-Video-Player.png" alt="Smooth FLV Streaming Youtube Video Player" width="580" height="316" /></a><br />
Not only does it include a very cool design, sharing on Twitter and Facebook buttons, but it also supports all video formats that Flash Player can play, streaming and Youtube videos. If you&#8217;re tired of that same old video player design that everybody&#8217;s been using for years, then you&#8217;ve found your match.</p>
<p>Check out Firecode&#8217;s awesome Flash video player collection below or visit his portfolio <a href="http://www.flashcomponents.net/author/firecode.html" target="_blank">here</a>.</p>
<p><a href="http://www.flashcomponents.net/component/select_video_player_with_ads_and_streaming.html" target="_blank"><img class="alignnone" title="Select Flash Video Player with ADS and Streaming" src="http://u1.flashcomponents.net/components/small/4193_1.png" alt="" width="80" height="80" /></a> <a href="http://www.flashcomponents.net/component/youtube__flv_video_player_with_dynamic_playlist_and_streaming.html" target="_blank"><img class="alignnone" title="YouTube/ FLV Video Player with Dynamic Playlist and Streaming" src="http://u1.flashcomponents.net/components/small/4156_1.png" alt="" width="80" height="80" /></a> <a href="http://www.flashcomponents.net/component/resizable_youtube__flv_video_player.html" target="_blank"><img class="alignnone" title="Resizable YouTube/ FLV Video Player" src="http://u1.flashcomponents.net/components/small/4130_1.png" alt="" width="80" height="80" /></a>
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Ffeatured-author-firecode%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Ffeatured-author-firecode%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Ffeatured-author-firecode%2F&amp;t=Featured%20Author%3A%20FireCode" id="facebook_share_button_1850" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1850') || document.getElementById('facebook_share_icon_1850') || document.getElementById('facebook_share_both_1850') || document.getElementById('facebook_share_button_1850');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1850') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-categories/flash-video/featured-author-firecode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download FlashXpert&#8217;s Video Freebie</title>
		<link>http://www.flashxml.com/free-flash-components/download-flashxperts-video-freebie/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=download-flashxperts-video-freebie</link>
		<comments>http://www.flashxml.com/free-flash-components/download-flashxperts-video-freebie/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 12:35:26 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Flash Video]]></category>
		<category><![CDATA[Free Flash Components]]></category>
		<category><![CDATA[download free flash]]></category>
		<category><![CDATA[flash freebie]]></category>
		<category><![CDATA[flash video players]]></category>
		<category><![CDATA[FlashXpert]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1768</guid>
		<description><![CDATA[FlashXpert has released a free version of his awesome series of Flash video players. This one's fully functional and you can try out the video player and its features before going for the commercial version that also includes the source files.]]></description>
			<content:encoded><![CDATA[<p>FlashXpert has released a free version of his awesome Flash video players series. This one is fully functional and you can try out the video player and its features before going for the commercial version that also includes the source files.</p>
<p style="text-align: center;"><a href="http://www.flashcomponents.net/component/flv_h.264_free_video_player.html" target="_blank"><br />
</a><a href="http://www.flashcomponents.net/component/flv_h.264_free_video_player.html"><img class="aligncenter size-full wp-image-1773" title="video player" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/06/videoplayer1.jpg" alt="video player" width="500" height="262" /></a></p>
<p>Click <a href="http://www.flashcomponents.net/component/flv_h.264_video_player_iii_as3/downloads.html" target="_blank">here</a> to download the player and be sure to visit <a href="http://www.flashcomponents.net/author/FlashXpert.html" target="_blank">FlashXpert</a>&#8217;s portfolio for the complete list of features that his excellent video players include.
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Ffree-flash-components%2Fdownload-flashxperts-video-freebie%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Ffree-flash-components%2Fdownload-flashxperts-video-freebie%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Ffree-flash-components%2Fdownload-flashxperts-video-freebie%2F&amp;t=Download%20FlashXpert%27s%20Video%20Freebie" id="facebook_share_button_1768" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1768') || document.getElementById('facebook_share_icon_1768') || document.getElementById('facebook_share_both_1768') || document.getElementById('facebook_share_button_1768');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1768') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/free-flash-components/download-flashxperts-video-freebie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build an XML Banner Rotator in AS3 from Scratch</title>
		<link>http://www.flashxml.com/flash-tutorials/build-an-xml-banner-rotator-in-as3-from-scratch/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=build-an-xml-banner-rotator-in-as3-from-scratch</link>
		<comments>http://www.flashxml.com/flash-tutorials/build-an-xml-banner-rotator-in-as3-from-scratch/#comments</comments>
		<pubDate>Fri, 28 May 2010 13:08:25 +0000</pubDate>
		<dc:creator>FireCode</dc:creator>
				<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[flash banner rotator]]></category>
		<category><![CDATA[flash tutorial]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1717</guid>
		<description><![CDATA[In this tutorial we will use XML , URLLoader, URLRequest, Loader, Timer,  Events classes to develop the xml driven banner in AS3.  This is an easy-to-develop type of banner that you can use to showcase your products and services.]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will use XML , URLLoader, URLRequest, Loader, Timer,  Events classes to develop the xml driven banner in AS3.  This is an easy-to-develop type of banner that you can use to showcase your products and services.</p>
<p><a href="http://www.flashcomponents.net/author/FireCode.html"><img class="aligncenter size-full wp-image-1725" title="bras3" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/bras31.jpg" alt="bras3" width="556" height="209" /></a><span id="more-1717"></span></p>
<p>You can download the source code<a href="http://www.flashcomponents.net/publishing/tut.rar" target="_blank"> here</a>.</p>
<p><strong>Step 1: Preparing the files</strong></p>
<p>The purpose of loading external files is to update our content without having to modify our .fla file and generate a new swf file and upload it each time we decide to change the images or the information about them.</p>
<p>First we will create a folder inside the project’s folder and we will name it <strong>images</strong>.<strong> </strong>Inside this folder<strong> </strong>we will have all our images we want to load. It’s a good idea to have all the images with the same dimensions.</p>
<p>Second, we create an XML file. Using XML is one of the best ways for structuring external content in a logical format that is easy to understand, process, and update. We will name it <strong>data.xml. </strong>Any simple text editor can create our XML file. The structure of our XML is shown below.</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="sy0">&lt;</span>?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?<span class="sy0">&gt;</span>
<span class="sy0">&lt;</span>slide DELAY=<span class="st0">&quot;2&quot;</span><span class="sy0">&gt;</span>
<span class="sy0">&lt;</span>image <span class="kw3">URL</span>=<span class="st0">&quot;images/1.jpg&quot;</span> DESCRIPTION=<span class="st0">&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. &quot;</span> <span class="sy0">/&gt;</span>
<span class="sy0">&lt;</span>image <span class="kw3">URL</span>=<span class="st0">&quot;images/2.jpg&quot;</span> DESCRIPTION=<span class="st0">&quot;Nam blandit dictum nibh vel mattis&quot;</span> <span class="sy0">/&gt;</span>
<span class="sy0">&lt;</span>image <span class="kw3">URL</span>=<span class="st0">&quot;images/3.jpg&quot;</span> DESCRIPTION=<span class="st0">&quot;Cras a magna eu libero sodales luctus nec at nulla&quot;</span> <span class="sy0">/&gt;</span>
<span class="sy0">&lt;</span>image <span class="kw3">URL</span>=<span class="st0">&quot;images/4.jpg&quot;</span> DESCRIPTION=<span class="st0">&quot;Nulla sed nisi sit amet ante hendrerit ullamcorper id eu neque&quot;</span> <span class="sy0">/&gt;</span>
<span class="sy0">&lt;</span>image <span class="kw3">URL</span>=<span class="st0">&quot;images/5.jpg&quot;</span> DESCRIPTION=<span class="st0">&quot;Vivamus quis turpis libero.&quot;</span> <span class="sy0">/&gt;</span>
<span class="sy0">&lt;/</span>slide<span class="sy0">&gt;</span></pre></div></div>
<p>Copy and paste then save the file.</p>
<p>Now we will create the .fla file.  Open the Flash IDE and go to File, New… and choose Flash File( actionscript 3 ). Press Ctrl+F3 to bring out the swf properties panel and set the values size to 450&#215;370 px.</p>
<p>Save it in the same folder as your XML file and your <strong>images</strong> folder as BannerRotator.</p>
<p><strong>Step 2: Load and process the XML file</strong></p>
<p>Loading the data from our external xml file will require using the URLLoader and URLRequest classes, while processing it will require using the XML Class. First we will create the variables that we will be using in the entire program.</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">var</span> _delay:<span class="kw3">int</span> = <span class="nu0">0</span>;
<span class="kw2">var</span> _total:<span class="kw3">int</span> = <span class="nu0">0</span>;
<span class="kw2">var</span> _images:XMLList = <span class="kw2">null</span>;</pre></div></div></p>
<p>Variable _delay will store the amount of data before the image changes to the next image. Variable _total will store the number of images. Variable _ images will store the data about our images.</p>
<p>Now we will prepare the program to load our external XML.</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">var</span> _loader:URLLoader = <span class="kw2">new</span> URLLoader<span class="br0">&#40;</span><span class="br0">&#41;</span>;
_loader.<span class="kw3">load</span><span class="br0">&#40;</span><span class="kw2">new</span> URLRequest<span class="br0">&#40;</span><span class="st0">&quot;data.xml&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;
_loader.<span class="me1">addEventListener</span><span class="br0">&#40;</span>Event.<span class="me1">COMPLETE</span>, Complete, <span class="kw2">false</span>, 0, <span class="kw2">true</span><span class="br0">&#41;</span>;</pre></div></div></p>
<p>We have declared a _loader variable that will handle the loading of our file. The COMPLETE event tells the program that our XML has been loaded in our variable and it’s ready to be processed.</p>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">function</span> Complete<span class="br0">&#40;</span><span class="kw3">e</span>:Event<span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw2">var</span> _xml:<span class="kw3">XML</span> = <span class="kw2">new</span> <span class="kw3">XML</span><span class="br0">&#40;</span><span class="kw3">e</span>.<span class="kw3">target</span>.<span class="kw3">data</span><span class="br0">&#41;</span>;
_loader = <span class="kw2">null</span>;
_loader.<span class="me1">removeEventListener</span><span class="br0">&#40;</span>Event.<span class="me1">COMPLETE</span>, Complete<span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre></div></div></p>
<p>All the information from our loader will be stored into the local variable _xml. As a good practice we should clear our _loader variable and remove it’s event listener.</p>
<p>Inside our Complete function we will add the following lines of code.</p>
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">function</span> Complete<span class="br0">&#40;</span><span class="kw3">e</span>:Event<span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw2">var</span> _xml:<span class="kw3">XML</span> = <span class="kw2">new</span> <span class="kw3">XML</span><span class="br0">&#40;</span><span class="kw3">e</span>.<span class="kw3">target</span>.<span class="kw3">data</span><span class="br0">&#41;</span>;
_loader.<span class="me1">removeEventListener</span><span class="br0">&#40;</span>Event.<span class="me1">COMPLETE</span>, Complete<span class="br0">&#41;</span>;
_loader = <span class="kw2">null</span>;
_delay = _xml.<span class="sy0">@</span>DELAY;
_images = _xml.<span class="me1">image</span>;
_total= _images.<span class="kw3">length</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre></div></div></p>
<p>We will use the @ operator to retrieve the attribute value we need for the _delay variable.  Variable _images will store a list with every node with the <strong>image</strong> tag. The .length() method will retrieve the number of nodes with the name <strong>image</strong> tag. Now all our variables are set.</p>
<p><strong>Step 3: Loading the external images</strong></p>
<p>In order to load an image we will use the Loader class. Several instances of this class will be created with a loop and stored inside an array for easy referencing.</p>
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">var</span> _loaders:<span class="kw3">Array</span> = <span class="kw2">new</span> <span class="kw3">Array</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;
<span class="kw2">function</span> LoadImages<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i:<span class="kw3">int</span> = <span class="nu0">0</span>; i <span class="sy0">&lt;</span> _total; i++<span class="br0">&#41;</span>
<span class="br0">&#123;</span>
<span class="kw2">var</span> <span class="kw3">_url</span>:<span class="kw3">String</span> = _images<span class="br0">&#91;</span>i<span class="br0">&#93;</span>.<span class="sy0">@</span><span class="kw3">URL</span>;
<span class="kw2">var</span> _loader:Loader = <span class="kw2">new</span> Loader<span class="br0">&#40;</span><span class="br0">&#41;</span>;
_loader.<span class="kw3">load</span><span class="br0">&#40;</span><span class="kw2">new</span> URLRequest<span class="br0">&#40;</span><span class="kw3">_url</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;
_loader.<span class="me1">contentLoaderInfo</span>.<span class="me1">addEventListener</span><span class="br0">&#40;</span>Event.<span class="me1">COMPLETE</span>, ImageLoaded, <span class="kw2">false</span>, 0, <span class="kw2">true</span><span class="br0">&#41;</span>;
_loaders.<span class="kw3">push</span><span class="br0">&#40;</span>_loader<span class="br0">&#41;</span>;
<span class="br0">&#125;</span>
<span class="br0">&#125;</span></pre></div></div></p>
<p>This loop will cycle through the XML file, extract the URL attribute of every <strong>image</strong> node,   pass it to a Loader instance and then push that instance into our array. To every Loader instance we attach an event listener that will fire a function once the image has been loaded.</p>
<p>Now we will create our function that will be fired with every image that has been loaded. But before that we will create a variable that it will check how many images have been loaded. Once we got all the images loaded we can start to slide the images.</p>
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">var</span> _counter:<span class="kw3">int</span> = <span class="nu0">0</span>;
<span class="kw2">function</span> ImageLoaded<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
_counter++;
<span class="kw1">if</span> <span class="br0">&#40;</span> _counter ==  _total<span class="br0">&#41;</span>
<span class="br0">&#123;</span>
SetupSlider <span class="br0">&#40;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span>
<span class="br0">&#125;</span></pre></div></div></p>
<p><strong>Step 4: Setup the slider</strong></p>
<p>First we’re going to declare some variables that we will need and import some extra classes.</p>
<div id="wpshdo_8" class="wp-synhighlighter-outer"><div id="wpshdt_8" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_8"></a><a id="wpshat_8" class="wp-synhighlighter-title" href="#codesyntax_8"  onClick="javascript:wpsh_toggleBlock(8)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_8" onClick="javascript:wpsh_code(8)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_8" onClick="javascript:wpsh_print(8)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw3">import</span> fl.<span class="me1">transitions</span>.<span class="me1">Tween</span>;
<span class="kw3">import</span> fl.<span class="me1">transitions</span>.<span class="me1">easing</span>.<span class="me1">Strong</span>;
<span class="kw2">var</span> _next:<span class="kw3">int</span> = <span class="nu0">0</span>;
<span class="kw2">var</span> _timer:Timer = <span class="kw2">null</span>;
<span class="kw2">var</span> _tween:Tween = <span class="kw2">null</span>;
<span class="kw2">var</span> _container:Sprite= <span class="kw2">new</span> Sprite<span class="br0">&#40;</span><span class="br0">&#41;</span>;</pre></div></div></p>
<p>Tween class it will be responsible for our animation and Strong it will be our effect class. Variable _next will store the current image id in the array and it will help us to select the next one. In order to have our slides running, we will use the Timer class to have our code executed repeatedly. The _tween variable will be used to store our transition effect. The _container will store our actual image to be displayed.</p>
<p>Let’s modify our Complete function so we can add our _container to the dis.</p>
<div id="wpshdo_9" class="wp-synhighlighter-outer"><div id="wpshdt_9" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_9"></a><a id="wpshat_9" class="wp-synhighlighter-title" href="#codesyntax_9"  onClick="javascript:wpsh_toggleBlock(9)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_9" onClick="javascript:wpsh_code(9)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_9" onClick="javascript:wpsh_print(9)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_9" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;">Now we will create our SetupSlider <span class="kw2">function</span>:
<span class="br0">&#91;</span>codesyntax lang=“actionscript”<span class="br0">&#93;</span>
<span class="kw2">function</span> SetupSlider<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
addChild<span class="br0">&#40;</span>_container<span class="br0">&#41;</span>;
NextImage<span class="br0">&#40;</span><span class="br0">&#41;</span>;
_timer = <span class="kw2">new</span> Timer<span class="br0">&#40;</span>_delay<span class="sy0">*</span>1000<span class="br0">&#41;</span>;
_timer.<span class="me1">addEventListener</span><span class="br0">&#40;</span>TimerEvent.<span class="me1">TIMER</span>, TimerListener<span class="br0">&#41;</span>;
_timer.<span class="kw3">start</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre></div></div></p>
<p>We will add our container to the diplay list of our swf so later we can add images. the NextImage function will display our first image from the array. Then a timer will count how long until the next image will appear. We are going to set the speed, which is stored in the _delay variable,  at which the Timer intervals are triggered when instantiating the class. The Timer receives its speed in milliseconds, so we have to multiply our speed value by 1000.  Our timer will run its code through a separate event listener. Finally, we need to start the Timer by using the <em>.start()</em> method.</p>
<p>Now let’s create our TimerListener function.</p>
<div id="wpshdo_10" class="wp-synhighlighter-outer"><div id="wpshdt_10" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_10"></a><a id="wpshat_10" class="wp-synhighlighter-title" href="#codesyntax_10"  onClick="javascript:wpsh_toggleBlock(10)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_10" onClick="javascript:wpsh_code(10)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_10" onClick="javascript:wpsh_print(10)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_10" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">function</span> TimerListener<span class="br0">&#40;</span><span class="kw3">e</span>:TimerEvent<span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
_next++;
<span class="kw1">if</span> <span class="br0">&#40;</span>_next == _total<span class="br0">&#41;</span>
<span class="br0">&#123;</span>
_next =<span class="nu0">0</span>;
<span class="br0">&#125;</span>
NextImage<span class="br0">&#40;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre></div></div></p>
<p>Inside this function we set our next image to be displayed. If _next variable will be equal to the total amount of images the _next variable will be reset to start all over.</p>
<p>Finally we got to the part where we build our NextImage function.</p>
<div id="wpshdo_11" class="wp-synhighlighter-outer"><div id="wpshdt_11" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_11"></a><a id="wpshat_11" class="wp-synhighlighter-title" href="#codesyntax_11"  onClick="javascript:wpsh_toggleBlock(11)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_11" onClick="javascript:wpsh_code(11)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_11" onClick="javascript:wpsh_print(11)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_11" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">function</span> NextImage<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw1">if</span><span class="br0">&#40;</span>_container.<span class="me1">numChildren</span><span class="sy0">&gt;</span>0<span class="br0">&#41;</span>
<span class="br0">&#123;</span>
_container.<span class="me1">removeChildAt</span><span class="br0">&#40;</span>0<span class="br0">&#41;</span>;
<span class="br0">&#125;</span>
_loaders<span class="br0">&#91;</span>_next<span class="br0">&#93;</span>.<span class="me1">alpha</span> = <span class="nu0">0</span>;
_container.<span class="me1">addChildAt</span><span class="br0">&#40;</span>_loaders<span class="br0">&#91;</span>_next<span class="br0">&#93;</span>,0<span class="br0">&#41;</span>;
_tween = <span class="kw2">new</span> Tween<span class="br0">&#40;</span>_loaders<span class="br0">&#91;</span>_next<span class="br0">&#93;</span>,<span class="st0">&quot;alpha&quot;</span>,Strong.<span class="me1">easeOut</span>,0,1,1,<span class="kw2">true</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre></div></div></p>
<p>This function is responsible with displaying the current image set by the TimerListener function.  We check if there are any child objects inside our _container. If there is any we will remove it and clean our container then set the current image alpha to 0 ( making it invisible) so we can add a nice effect to it.  The Tween class will get this image and animate it’s alpha by making it appear slowly.</p>
<p>Now it’s time to hit Ctrl+Enter keys so we can test our movie. If everything is good with our code it should display some images that change after some time.</p>
<p>If everything is ok we should now add some info about the images that are being displayed. We will add a textfield that will contain the image description.</p>
<p>We will create a variable _text that will hold our data. Let’s modify our SetupSlider function by adding the following code.</p>
<div id="wpshdo_12" class="wp-synhighlighter-outer"><div id="wpshdt_12" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_12"></a><a id="wpshat_12" class="wp-synhighlighter-title" href="#codesyntax_12"  onClick="javascript:wpsh_toggleBlock(12)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_12" onClick="javascript:wpsh_code(12)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_12" onClick="javascript:wpsh_print(12)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_12" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">var</span> _text:<span class="kw3">TextField</span> = <span class="kw2">new</span> <span class="kw3">TextField</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;
<span class="kw2">function</span> SetupSlider<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
addChild<span class="br0">&#40;</span>_container<span class="br0">&#41;</span>;
_text.<span class="kw3">selectable</span>=<span class="kw2">false</span>;
_text.<span class="kw3">width</span> = <span class="nu0">450</span>;
_text.<span class="kw3">height</span> = <span class="nu0">50</span>;
_text.<span class="me1">x</span> = <span class="nu0">0</span>;
_text.<span class="me1">y</span> = <span class="nu0">300</span>;
addChild<span class="br0">&#40;</span>_text<span class="br0">&#41;</span>;
NextImage<span class="br0">&#40;</span><span class="br0">&#41;</span>;
_timer = <span class="kw2">new</span> Timer<span class="br0">&#40;</span>_delay<span class="sy0">*</span>1000<span class="br0">&#41;</span>;
_timer.<span class="me1">addEventListener</span><span class="br0">&#40;</span>TimerEvent.<span class="me1">TIMER</span>, TimerListener<span class="br0">&#41;</span>;
_timer.<span class="kw3">start</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre></div></div></p>
<p>Then we modify our NextImage function to add the information of the image.</p>
<div id="wpshdo_13" class="wp-synhighlighter-outer"><div id="wpshdt_13" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_13"></a><a id="wpshat_13" class="wp-synhighlighter-title" href="#codesyntax_13"  onClick="javascript:wpsh_toggleBlock(13)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_13" onClick="javascript:wpsh_code(13)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_13" onClick="javascript:wpsh_print(13)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_13" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">function</span> NextImage<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw1">if</span><span class="br0">&#40;</span>_container.<span class="me1">numChildren</span><span class="sy0">&gt;</span>0<span class="br0">&#41;</span>
<span class="br0">&#123;</span>
_container.<span class="me1">removeChildAt</span><span class="br0">&#40;</span>0<span class="br0">&#41;</span>;
<span class="br0">&#125;</span>
_loaders<span class="br0">&#91;</span>_next<span class="br0">&#93;</span>.<span class="me1">alpha</span> = <span class="nu0">0</span>;
_container.<span class="me1">addChildAt</span><span class="br0">&#40;</span>_loaders<span class="br0">&#91;</span>_next<span class="br0">&#93;</span>,0<span class="br0">&#41;</span>;
_tween = <span class="kw2">new</span> Tween<span class="br0">&#40;</span>_loaders<span class="br0">&#91;</span>_next<span class="br0">&#93;</span>,<span class="st0">&quot;alpha&quot;</span>,Strong.<span class="me1">easeOut</span>,0,1,1,<span class="kw2">true</span><span class="br0">&#41;</span>;
_text.<span class="kw3">text</span> = _images<span class="br0">&#91;</span>_next<span class="br0">&#93;</span>.<span class="sy0">@</span>DESCRIPTION;
<span class="br0">&#125;</span></pre></div></div></p>
<p>The last line will get the DESCRIPTION attribute of the current image being displayed and add it to our textfield.</p>
<p>Hit Ctrl+Enter key again to test our movie. Each time the image changes our text field will display the description of the current image being displayed.</p>
<p><strong> Note</strong>: A working online version should include also a preloader for the images. If they are to big the user should know that an image is being loaded and the program is working correctly.</p>
<p>-----------------------------------------------</p>
<p><strong><a href="http://www.flashcomponents.net/author/FireCode.html" target="_blank"><img class="alignleft" title="FireCode" src="http://www.flashcomponents.net/upload/avatars/big/83908.jpg" alt="" width="75" height="75" /></a> FireCode</strong> is a promising project created by a couple of   passionate  Flash developers. Our purpose is  to help you understand how   Flash works  and show you how to develop or customize your components. We hope you enjoyed this tutorial. Don’t forget to visit our   portfolio  <a href="http://www.flashcomponents.net/author/FireCode.html" target="_blank">here</a> and  to send us your questions or suggestions!
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-tutorials%2Fbuild-an-xml-banner-rotator-in-as3-from-scratch%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-tutorials%2Fbuild-an-xml-banner-rotator-in-as3-from-scratch%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-tutorials%2Fbuild-an-xml-banner-rotator-in-as3-from-scratch%2F&amp;t=%20Build%20an%20XML%20Banner%20Rotator%20in%20AS3%20from%20Scratch" id="facebook_share_button_1717" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1717') || document.getElementById('facebook_share_icon_1717') || document.getElementById('facebook_share_both_1717') || document.getElementById('facebook_share_button_1717');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1717') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-tutorials/build-an-xml-banner-rotator-in-as3-from-scratch/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Three Flash Video Players, One Excellent Developer</title>
		<link>http://www.flashxml.com/flash-categories/actionscript-3-0/three-flash-video-players-one-excellent-developer/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=three-flash-video-players-one-excellent-developer</link>
		<comments>http://www.flashxml.com/flash-categories/actionscript-3-0/three-flash-video-players-one-excellent-developer/#comments</comments>
		<pubDate>Tue, 25 May 2010 09:44:32 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Flash Video]]></category>
		<category><![CDATA[flash video player]]></category>
		<category><![CDATA[FlashXpert]]></category>
		<category><![CDATA[stream videos]]></category>
		<category><![CDATA[video ads]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1670</guid>
		<description><![CDATA[FlashXpert couldn't have chosen a better time to release his AS3 Flash video players. All three versions of the FLV / H.264 Video Player can play any kind of video file that Flash Player supports, including YouTube and Stream Videos. The code is very clean and you can easily customize the player's design to fit your website.]]></description>
			<content:encoded><![CDATA[<p>FlashXpert couldn&#8217;t have chosen a better time to release his AS3 Flash video players. All three versions of the FLV / H.264 Video Player can play any kind of video file that Flash Player supports, including YouTube and Stream Videos. The code is very clean and you can easily customize the player&#8217;s design to fit your website.</p>
<p><a href="http://www.flashcomponents.net/author/FlashXpert.html" target="_blank">FlashXpert</a> added lot of exciting features to these new releases, like:<span id="more-1670"></span></p>
<ul>
<li>
<h5><span style="color: #000000;"><strong>- video ads</strong></span></h5>
</li>
</ul>
<p><img class="aligncenter size-full wp-image-1687" title="advertisment_videoplayer" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/advertisment_videoplayer1.jpg" alt="advertisment_videoplayer" width="500" height="226" /></p>
<ul>
<li>
<h5><span style="color: #000000;"><strong>- Share</strong> .SWF with friends, <strong>embed</strong> video or <strong>link</strong> to the video</span></h5>
</li>
</ul>
<p><a href="http://www.flashcomponents.net/component/flv_h.264_vp_iii.html"><img class="aligncenter size-full wp-image-1695" title="fciii" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/fciii1.jpg" alt="fciii" width="500" height="258" /></a></p>
<ul>
<li>
<h5><span style="color: #000000;"><strong>- captions and subtitles</strong></span></h5>
</li>
</ul>
<p><a href="http://www.flashcomponents.net/component/flv_h.264_vp_ii.html"><img class="aligncenter size-full wp-image-1682" title="fcii" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/fcii.jpg" alt="fcii" width="500" height="252" /></a></p>
<p>If you want to play with the demos and to find out more about one (or all) of these versions, just click on any of the images and you&#8217;ll be redirected to the component&#8217;s page.</p>
<p>If you have questions regarding the video players, feel free to <a href="http://www.flashcomponents.net/author/FlashXpert.html" target="_blank">contact</a> FlashXpert.
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2Fthree-flash-video-players-one-excellent-developer%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2Fthree-flash-video-players-one-excellent-developer%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2Fthree-flash-video-players-one-excellent-developer%2F&amp;t=Three%20Flash%20Video%20Players%2C%20One%20Excellent%20Developer" id="facebook_share_button_1670" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1670') || document.getElementById('facebook_share_icon_1670') || document.getElementById('facebook_share_both_1670') || document.getElementById('facebook_share_button_1670');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1670') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-categories/actionscript-3-0/three-flash-video-players-one-excellent-developer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tweening in AS3</title>
		<link>http://www.flashxml.com/flash-tutorials/tweening-in-as3/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tweening-in-as3</link>
		<comments>http://www.flashxml.com/flash-tutorials/tweening-in-as3/#comments</comments>
		<pubDate>Thu, 20 May 2010 14:51:44 +0000</pubDate>
		<dc:creator>FireCode</dc:creator>
				<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tweening in AS3]]></category>
		<category><![CDATA[TweenLite]]></category>
		<category><![CDATA[Tweenmax]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1654</guid>
		<description><![CDATA[Tweening in Flash is the process of creating an animation based on  the  start frame and end frame. You can use tweening for animations and   special effects in your application to make it more dynamic.
First we are going to work with Flash internal classes, and then we  will  move [...]]]></description>
			<content:encoded><![CDATA[<p>Tweening in Flash is the process of creating an animation based on  the  start frame and end frame. You can use tweening for animations and   special effects in your application to make it more dynamic.</p>
<p>First we are going to work with Flash internal classes, and then we  will  move on to some popular open-source classes to see the differences   between them. This will help you understand how things work and maybe   choose what&#8217;s best for you.<img title="More..." src="http://www.flashxml.com/wordpress/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /><span id="more-1654"></span></p>
<p>To download the source files used for this tutorial, click <a href="http://www.flashcomponents.net/upload/userfiles/FireCode/file/Tweening.zip" target="_blank">here</a> .</p>
<p><strong>Setup scene</strong></p>
<p>Create a new Flash File (for AS3). The dimensions of the stage should  be about 550 x 400. Next we will draw three shapes on the stage, each  one converted to a MovieClip with an instance name (look in the picture  bellow).</p>
<p><img title="twn" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/twn.jpg" alt="twn" width="550" height="201" /></p>
<p><strong>Flash Transitions</strong></p>
<p>First, we have to import the necessary classes.</p>
<div id="wpshdo_14" class="wp-synhighlighter-outer"><div id="wpshdt_14" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_14"></a><a id="wpshat_14" class="wp-synhighlighter-title" href="#codesyntax_14"  onClick="javascript:wpsh_toggleBlock(14)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_14" onClick="javascript:wpsh_code(14)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_14" onClick="javascript:wpsh_print(14)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_14" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw3">import</span> fl.<span class="me1">transitions</span>.<span class="me1">Tween</span>;
<span class="kw3">import</span> fl.<span class="me1">transitions</span>.<span class="me1">easing</span>.<span class="sy0">*</span>;</pre></div></div>
<p>The first line is to import the Tween, the second one is to import the Easing classes (used for effects). The constructor of the Tween Class looks like this:</p>
<p>Tween(obj:Object, prop:String, func:Function, begin:Number, finish:Number, duration:Number, useSeconds:Boolean = false)</p>
<p>And the actual code looks like this:</p>
<div id="wpshdo_15" class="wp-synhighlighter-outer"><div id="wpshdt_15" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_15"></a><a id="wpshat_15" class="wp-synhighlighter-title" href="#codesyntax_15"  onClick="javascript:wpsh_toggleBlock(15)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_15" onClick="javascript:wpsh_code(15)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_15" onClick="javascript:wpsh_print(15)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_15" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw2">var</span> _flashTransitions:Tween = <span class="kw2">new</span> Tween<span class="br0">&#40;</span>_flash, <span class="st0">&quot;x&quot;</span>, Elastic.<span class="me1">easeOut</span>, 0, 300, 3, <span class="kw2">true</span><span class="br0">&#41;</span>;</pre></div></div>
<p>It’s a good practice to declare a variable for the tween to have more control.<br />
So far we have initialized our tween, the <em>object</em> parameter is the <em>_flash</em> MovieClip on the stage. We are changing its “x” propriety from its initial position ( 0 ) to the next finish position ( 300 ). Duration is used to set the speed of animation. For this animation we are using <strong>Elastic.easeOut</strong> easing effect. Another great thing is we can add events listeners to this animation. These are some of the events:<br />
<strong>motionChange</strong>:  Indicates that the Tween has changed and the screen has been updated.<br />
<strong>motionFinish</strong>:    Indicates that the Tween has reached the end and finished.</p>
<p>This is how they work:</p>
<div id="wpshdo_16" class="wp-synhighlighter-outer"><div id="wpshdt_16" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_16"></a><a id="wpshat_16" class="wp-synhighlighter-title" href="#codesyntax_16"  onClick="javascript:wpsh_toggleBlock(16)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_16" onClick="javascript:wpsh_code(16)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_16" onClick="javascript:wpsh_print(16)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_16" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw3">import</span> fl.<span class="me1">transitions</span>.<span class="me1">TweenEvent</span>;
_flashTransitions.<span class="me1">addEventListener</span><span class="br0">&#40;</span>TweenEvent.<span class="me1">MOTION_CHANGE</span>, MotionChange<span class="br0">&#41;</span>;
_flashTransitions.<span class="me1">addEventListener</span><span class="br0">&#40;</span>TweenEvent.<span class="me1">MOTION_FINISH</span>, MotionFinish<span class="br0">&#41;</span>;
<span class="kw2">function</span> MotionFinish<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw3">trace</span><span class="br0">&#40;</span><span class="st0">&quot;in motion&quot;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span>
<span class="kw2">function</span> MotionChange<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw3">trace</span><span class="br0">&#40;</span><span class="st0">&quot;finish&quot;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre></div></div>
<p>First we’ve added the TweenEvent class, then the event listeners to our tween variable. Test the movie to check everything works as it should.<br />
<strong>Caurina’s Tweener</strong><br />
Tweener syntax was created with <strong>simplicity</strong> of use in mind, while still allowing access to more advanced features. It follows a &#8216;one-line&#8217; command when creating new tweenings, with no instancing required (as it&#8217;s a static Class). Also, there are no initialization methods required by Tweener, other than &#8216;import&#8217; command.<br />
Let’s see how it looks:<br />
Tweener.addTween(_object:Object, {_parameters:Object});</p>
<p>And the code:</p>
<div id="wpshdo_17" class="wp-synhighlighter-outer"><div id="wpshdt_17" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_17"></a><a id="wpshat_17" class="wp-synhighlighter-title" href="#codesyntax_17"  onClick="javascript:wpsh_toggleBlock(17)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_17" onClick="javascript:wpsh_code(17)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_17" onClick="javascript:wpsh_print(17)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_17" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw3">import</span> caurina.<span class="me1">transitions</span>;
Tweener.<span class="me1">addTween</span><span class="br0">&#40;</span>_caurina, <span class="br0">&#123;</span>x:300, <span class="kw3">time</span>:<span class="nu0">3</span>, transition:<span class="st0">&quot;easeOutElastic&quot;</span><span class="br0">&#125;</span><span class="br0">&#41;</span>;</pre></div></div>
<p>Our object parameter is _caurina MovieClip. The “x” parameter is the ending point of our tween. Tweener takes the object start position automatically. Next is the speed of the animation and finally the effect we are going to use.<br />
As you see, there is not much difference of what we’ve previously used. Now comes the cool part. Let’s add some events to this animation. All we have to do is add two more parameters.</p>
<p>onUpdate  equivalent to motionChange in Flash<br />
onComplete equivalent yo motionFinish in FLash</p>
<p>We are going to change the tween code like this:</p>
<div id="wpshdo_18" class="wp-synhighlighter-outer"><div id="wpshdt_18" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_18"></a><a id="wpshat_18" class="wp-synhighlighter-title" href="#codesyntax_18"  onClick="javascript:wpsh_toggleBlock(18)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_18" onClick="javascript:wpsh_code(18)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_18" onClick="javascript:wpsh_print(18)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_18" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw3">import</span> caurina.<span class="me1">transitions</span>;
Tweener.<span class="me1">addTween</span><span class="br0">&#40;</span>_caurina, <span class="br0">&#123;</span>x:300, <span class="kw3">time</span>:<span class="nu0">3</span>, transition:<span class="st0">&quot;easeOutElastic&quot;</span> <span class="kw3">onUpdate</span>:CaurinaChange,  onComplete:CaurinaComplete<span class="br0">&#125;</span><span class="br0">&#41;</span>;
<span class="kw2">function</span> CaurinaChange<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw3">trace</span><span class="br0">&#40;</span><span class="st0">&quot;caurina in motion&quot;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span>
<span class="kw2">function</span> CaurinaComplete<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span>
<span class="br0">&#123;</span>
<span class="kw3">trace</span><span class="br0">&#40;</span><span class="st0">&quot;caurina finish&quot;</span><span class="br0">&#41;</span>;
<span class="br0">&#125;</span></pre></div></div></p>
<p>That’s it ! You don’t have to import more classes and write another line of code. Pretty simple and clean.<br />
If you test the movie, you will see the same results.<br />
If you are using the Tweener you should know that it ads extra 8kb to your movie size. If you want to know more about Tweener you just have to take a look at the documentation of this package.<br />
<strong>TweenMax / TweenLite</strong><br />
Basically,  Tweenmax and TweenLite are the same. The difference is that TweenMax adds more features to TweenLite. I will focus on TweenLite.<br />
The constructor of the TweenLite looks like this:<br />
TweenLite(target:Object, duration:Number, vars:Object);<br />
And the code:<br />
<div id="wpshdo_19" class="wp-synhighlighter-outer"><div id="wpshdt_19" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_19"></a><a id="wpshat_19" class="wp-synhighlighter-title" href="#codesyntax_19"  onClick="javascript:wpsh_toggleBlock(19)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_19" onClick="javascript:wpsh_code(19)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_19" onClick="javascript:wpsh_print(19)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_19" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw3">import</span> com.<span class="me1">greensock</span>.<span class="me1">TweenLite</span>;
<span class="kw2">var</span> _tweenLite:TweenLite = TweenLite.<span class="me1">to</span><span class="br0">&#40;</span>_tweenmaxlite,3, <span class="br0">&#123;</span>x:300, ease:Elastic.<span class="me1">easeOut</span><span class="br0">&#125;</span><span class="br0">&#41;</span>;</pre></div></div><br />
As you can see, there is not much difference toTweener and the same goes for adding the events.</p>
<div id="wpshdo_20" class="wp-synhighlighter-outer"><div id="wpshdt_20" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_20"></a><a id="wpshat_20" class="wp-synhighlighter-title" href="#codesyntax_20"  onClick="javascript:wpsh_toggleBlock(20)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_20" onClick="javascript:wpsh_code(20)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_20" onClick="javascript:wpsh_print(20)" title="Print code"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.flashxml.com/wordpress/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_20" class="wp-synhighlighter-inner" style="display: block;"><pre class="actionscript" style="font-family:monospace;"><span class="kw3">import</span> com.<span class="me1">greensock</span>.<span class="me1">TweenLite</span>;
<span class="kw2">var</span> _tweenLite:TweenLite = TweenLite.<span class="me1">to</span><span class="br0">&#40;</span>_tweenmaxlite,3, <span class="br0">&#123;</span>x:300, ease:Elastic.<span class="me1">easeOut</span>, <span class="kw3">onUpdate</span>:TweenLiteUpdate, onComplete:TweenLiteComplete <span class="br0">&#125;</span><span class="br0">&#41;</span>;</pre></div></div>
<p>A project using TweenLite is going to have an extra 4.7kb added to its size.<br />
<strong>Conclusion</strong><strong> </strong><br />
If you run all three examples, you will see they all do the same thing. You can change almost every proprety of the object that we want to tween, from position to scaling or alpha. The main difference is that the last two examples are easy to write and clean. If you are going to make a project that doesn’t  need to many effects, it’s better to use TweenLite or Tweener ( it’s a matter of taste and size added to the resulting .swf ). For projects with elaborated effects I suggest using TweenMax as it has some nice extra features.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>FireCode</strong> is a promising project created by a couple of  passionate  Flash developers. Our purpose is to help you understand how  Flash works  and show you how to develop or customize your components.<br />
We hope you enjoyed this tutorial. Don&#8217;t forget to visit our   portfolio <a href="http://www.flashcomponents.net/author/FireCode.html" target="_blank">here</a> and  to send us your questions or suggestions!
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-tutorials%2Ftweening-in-as3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-tutorials%2Ftweening-in-as3%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-tutorials%2Ftweening-in-as3%2F&amp;t=Tweening%20in%20AS3" id="facebook_share_button_1654" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1654') || document.getElementById('facebook_share_icon_1654') || document.getElementById('facebook_share_both_1654') || document.getElementById('facebook_share_button_1654');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1654') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-tutorials/tweening-in-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Stunning Coming Soon Mini-Templates in Flash</title>
		<link>http://www.flashxml.com/flash-categories/actionscript-3-0/4-stunning-coming-soon-mini-templates-in-flash/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=4-stunning-coming-soon-mini-templates-in-flash</link>
		<comments>http://www.flashxml.com/flash-categories/actionscript-3-0/4-stunning-coming-soon-mini-templates-in-flash/#comments</comments>
		<pubDate>Tue, 18 May 2010 11:58:19 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Flash Templates]]></category>
		<category><![CDATA[coming soon templates]]></category>
		<category><![CDATA[flash components]]></category>
		<category><![CDATA[oxylus]]></category>
		<category><![CDATA[xml driven templates]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1626</guid>
		<description><![CDATA[Oxylus' 4 Flash Coming Soon Mini-Templates are built in AS3 and are XML driven, making it easier for you to customize and personalize it. The clean, organized designs are ideal for a pre-release website, especially if you're eager to get people's attention and a future revisit. ]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">The Oxylus team is well-known in the Flash industry and the files they release are characterized by innovation, creativity and usability. As far as Flash templates go, I&#8217;ve had my eyes on their 4 <em>Coming Soon Mini-Templates </em>since their individual release.</p>
<p style="text-align: left;">The templates are built in AS3 and are XML driven, making it easier for you to customize and personalize it. The clean, organized designs are ideal for a pre-release website, especially if you&#8217;re eager to get people&#8217;s attention and a future revisit.</p>
<p style="text-align: left;"><a href="http://www.flashcomponents.net/author/oxylus.html" target="_blank">Oxylus</a>&#8216; four templates are organized in two, three and four modules, depending on how much information you want to reveal to your visitors before releasing your complete website.<span id="more-1626"></span></p>
<p style="text-align: left;"><strong>Two sections</strong></p>
<p style="text-align: left;">This template has two sections &#8211; <em>about</em> and <em>contact</em> &#8211; which makes this  version perfect for those wanting to publish just the necessary  information before releasing the website.</p>
<p><a href="http://www.flashcomponents.net/component/coming_soon_mini_template_02_as3.html"></a><a href="http://www.flashcomponents.net/component/coming_soon_mini_template_02_as3.html" target="_blank"><img title="2" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/21.jpg" alt="2" width="550" height="251" /></a></p>
<p style="text-align: left;">The Coming  Soon Mini Template 04 also has two sections, but the difference are the <em>social links</em> located at the bottom.</p>
<p style="text-align: left;"><a href="http://www.flashcomponents.net/component/coming_soon_mini_template_04_as3.html" target="_blank"><img title="4" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/41.jpg" alt="4" width="550" height="282" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Three sections</strong></p>
<p style="text-align: left;">This template has three simple modules: <em>about</em>, <em>gallery</em> and <em>contact</em>.</p>
<p style="text-align: left;"><a href="http://www.flashcomponents.net/component/coming_soon_mini_template_01_as3.html" target="_blank"><img title="1" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/1.jpg" alt="1" width="550" height="250" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Four sections</strong></p>
<p style="text-align: left;">Template no. 3 has four good looking modules, including a gallery where you can include <em>screenshots</em> of your soon-to-be-released website.</p>
<p style="text-align: left;"><a href="http://www.flashcomponents.net/component/coming_soon_mini_template_03_as3.html" target="_blank"><img title="3" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/3.jpg" alt="3" width="550" height="281" /></a></p>
<p style="text-align: left;">Check out Oxylus&#8217; portfolio <a href="http://www.flashcomponents.net/author/oxylus.html" target="_blank">here</a> for other cool Flash components.</p>
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2F4-stunning-coming-soon-mini-templates-in-flash%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2F4-stunning-coming-soon-mini-templates-in-flash%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Factionscript-3-0%2F4-stunning-coming-soon-mini-templates-in-flash%2F&amp;t=4%20Stunning%20Coming%20Soon%20Mini-Templates%20in%20Flash" id="facebook_share_button_1626" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1626') || document.getElementById('facebook_share_icon_1626') || document.getElementById('facebook_share_both_1626') || document.getElementById('facebook_share_button_1626');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1626') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-categories/actionscript-3-0/4-stunning-coming-soon-mini-templates-in-flash/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Right Click for Customized Menu</title>
		<link>http://www.flashxml.com/flash-categories/flash-menus/right-click-for-customized-menu/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=right-click-for-customized-menu</link>
		<comments>http://www.flashxml.com/flash-categories/flash-menus/right-click-for-customized-menu/#comments</comments>
		<pubDate>Mon, 17 May 2010 13:42:30 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Flash Menus]]></category>
		<category><![CDATA[Flash menu]]></category>
		<category><![CDATA[flashcomponents.net]]></category>
		<category><![CDATA[right click customized menu]]></category>
		<category><![CDATA[upv2010]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1615</guid>
		<description><![CDATA[The Right Click Customized Menu, developed by a upv2010, a FC newbie, offers a quick access to the main sections of your website, additional to the site structure. It's very useful for games or applications where visitors are given the possibility to download images from your website.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">A menu is a must-have in every website. It not only helps organize the information, but also facilitates the navigation through the website. Well, today&#8217;s featured file on FlashComponents.net is a different type of menu that definitely got our attention.</p>
<p>The <a href="http://www.flashcomponents.net/component/as3_right_click_customized_menu_v1.0.html" target="_blank">Right Click Customized Menu</a>, developed by a upv2010, a FC newbie, offers a quick access to the main sections of your website, additional to the site structure. It&#8217;s very useful for games or applications where visitors are given the possibility to download images from your website.</p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://www.flashcomponents.net/component/as3_right_click_customized_menu_v1.0.html"></a><a href="http://www.flashcomponents.net/component/as3_right_click_customized_menu_v1.0.html"><img class="size-full wp-image-1619 alignnone" title="rightclick" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/rightclick.jpg" alt="rightclick" width="550" height="273" /></a></p>
<p style="text-align: left;">
<p>Its main functionality is the RightClick script which allows you to access the menu anywhere on the page, by a simple right click. Check out the component&#8217;s page to see the demo and its extra features.
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-menus%2Fright-click-for-customized-menu%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-menus%2Fright-click-for-customized-menu%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-menus%2Fright-click-for-customized-menu%2F&amp;t=Right%20Click%20for%20Customized%20Menu" id="facebook_share_button_1615" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1615') || document.getElementById('facebook_share_icon_1615') || document.getElementById('facebook_share_both_1615') || document.getElementById('facebook_share_button_1615');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1615') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-categories/flash-menus/right-click-for-customized-menu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CurveMenu Video Released</title>
		<link>http://www.flashxml.com/flash-categories/flash-video/curvemenu-video-released/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=curvemenu-video-released</link>
		<comments>http://www.flashxml.com/flash-categories/flash-video/curvemenu-video-released/#comments</comments>
		<pubDate>Tue, 04 May 2010 09:57:54 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Flash Video]]></category>
		<category><![CDATA[brand video player]]></category>
		<category><![CDATA[curvemenu video]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[Flash component]]></category>
		<category><![CDATA[video playlist]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1589</guid>
		<description><![CDATA[CurveMenu Video includes a sliding curve shape video playlist and you can customize the video playback interface to match your company's image. There are tons of personalized style to choose from.]]></description>
			<content:encoded><![CDATA[<p>Digicrafts is always adding new and exciting features to his files,  and this one is no exception. After the huge success of <a href="http://www.flashcomponents.net/component/flash_curve_menu_cs_as3.html" target="_blank">CurveMenu</a>,  a video follow-up component was a must.</p>
<p><a href="http://www.flashcomponents.net/component/curvemenu_video.html"><img class="aligncenter size-full wp-image-1590" title="CurveMenu Video" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/05/cmv.jpg" alt="CurveMenu Video" width="600" height="324" /></a></p>
<p><strong>CurveMenu Video</strong> includes a sliding curve shape video playlist and you  can customize the video playback interface to match your company&#8217;s  image. There are tons of personalized style to choose from.</p>
<p>If you&#8217;re eager to find out more about this file&#8217;s features and see  how you can build your own branded video player, click <a href="http://www.flashcomponents.net/component/curvemenu_video.html">here</a>.
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Fcurvemenu-video-released%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Fcurvemenu-video-released%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Fcurvemenu-video-released%2F&amp;t=CurveMenu%20Video%20Released" id="facebook_share_button_1589" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1589') || document.getElementById('facebook_share_icon_1589') || document.getElementById('facebook_share_both_1589') || document.getElementById('facebook_share_button_1589');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1589') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-categories/flash-video/curvemenu-video-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing: The Flash Video Players Package</title>
		<link>http://www.flashxml.com/flash-categories/flash-video/introducing-the-flash-video-players-package/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=introducing-the-flash-video-players-package</link>
		<comments>http://www.flashxml.com/flash-categories/flash-video/introducing-the-flash-video-players-package/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 11:22:44 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Flash Video]]></category>
		<category><![CDATA[discount pack]]></category>
		<category><![CDATA[video players pack]]></category>
		<category><![CDATA[xml file]]></category>

		<guid isPermaLink="false">http://www.flashxml.com/?p=1565</guid>
		<description><![CDATA[This pack includes 4 of LambertGroup's Flash video players and you can now get it at a 52% discount. The players can be set to any size you want by changing its width and height from the configuration XML file, so it can be easily integrated in your projects, HTML or Flash.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flashcomponents.net/component/ultimate_video_players_pack_52_discount.html" target="_blank"><img class="aligncenter size-full wp-image-1572" title="ultimate_video_players_pack_52_discount" src="http://www.flashxml.com/wordpress/wp-content/uploads/2010/04/11.jpg" alt="ultimate_video_players_pack_52_discount" width="599" height="181" /></a></p>
<p>This pack includes 4 of LambertGroup&#8217;s Flash video players and you can now get it at a 52% discount. The players can be set to any size you want by changing its width  and height from the configuration XML file, so it can be easily integrated in your projects, <span style="text-decoration: underline;">HTML or Flash</span>.</p>
<p>What will you get?</p>
<p>1. <a onmouseover="$().fcSearchFormToggle();" href="http://www.flashcomponents.net/component/cool_xml_resizable_video_player_flv_h.264.html" target="_blank">Cool  XML Resizable Video Player FLV / H.264</a></p>
<p>2. <a onmouseover="$().fcSearchFormToggle();" href="http://www.flashcomponents.net/component/advanced_xml_resizable_video_player_with_playlist_and_categories_flv.html" target="_blank">Advanced  XML Video Player with playlist and categories &#8211; FLV / H.264</a></p>
<p>3. <a onmouseover="$().fcSearchFormToggle();" href="http://www.flashcomponents.net/component/flv_h.264_youtube_video_player_with_categories_and_playlist.html" target="_blank">FLV/H.264/YOUTUBE  Video Player with categories and playlist</a></p>
<p>4. <a onmouseover="$().fcSearchFormToggle();" href="http://www.flashcomponents.net/component/flv_h.264_youtube_video_player.html" target="_blank">FLV/H.264/YOUTUBE  Video Player with Google Analytics, categories and playlist</a></p>
<p>To find out more about this package, click <a href="http://www.flashcomponents.net/component/ultimate_video_players_pack_52_discount.html" target="_blank">here</a>.
<div class="tweetmeme_button" style="margin: 6px 0; float: left;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Fintroducing-the-flash-video-players-package%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Fintroducing-the-flash-video-players-package%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.flashxml.com%2Fflash-categories%2Fflash-video%2Fintroducing-the-flash-video-players-package%2F&amp;t=Introducing%3A%20The%20Flash%20Video%20Players%20Package" id="facebook_share_button_1565" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	var button = document.getElementById('facebook_share_link_1565') || document.getElementById('facebook_share_icon_1565') || document.getElementById('facebook_share_both_1565') || document.getElementById('facebook_share_button_1565');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_1565') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.flashxml.com/flash-categories/flash-video/introducing-the-flash-video-players-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
