<?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"
	>

<channel>
	<title>developersnippets.com &#187; Flash</title>
	<atom:link href="http://developersnippets.com/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://developersnippets.com</link>
	<description>developersnippets</description>
	<pubDate>Tue, 02 Dec 2008 17:17:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>A new face of Adobe CS4 in Grand Unveil Seminar at Hyderabad</title>
		<link>http://developersnippets.com/2008/11/19/a-new-face-of-adobe-cs4-in-grand-unveil-seminar-at-hyderabad/</link>
		<comments>http://developersnippets.com/2008/11/19/a-new-face-of-adobe-cs4-in-grand-unveil-seminar-at-hyderabad/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 18:12:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[AIR]]></category>

		<category><![CDATA[Action Scripting]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[Apollo]]></category>

		<category><![CDATA[Designing]]></category>

		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[Adobe Air]]></category>

		<category><![CDATA[Adobe Flash]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=480</guid>
		<description><![CDATA[Hope you guys remember, few days back I sent an invitation to everybody to attend &#8220;The Grand Unveil Seminar of Adobe CS4&#8221; which has been organized at ITC Kakatiya (Hyderabad), frankly I would like to say this was really awesome enough, Adobe really makes life&#8217;s easier. Yesterday I woke up at 6:00am and was waiting [...]]]></description>
			<content:encoded><![CDATA[<p>Hope you guys remember, few days back I sent an invitation to everybody to attend &#8220;<a href="http://developersnippets.com/2008/11/10/invitation-for-adobe-creative-suite-4-the-grand-unveil/" title="Invitation for Adobe Creative Suite 4 - The Grand Unveil">The Grand Unveil Seminar of Adobe CS4</a>&#8221; which has been organized at <strong>ITC Kakatiya (Hyderabad)</strong>, frankly I would like to say this was really awesome enough, Adobe really makes life&#8217;s easier. Yesterday I woke up at 6:00am and was waiting for the time to run faster as &#8220;<strong>Adobe Seminar</strong>&#8221; is going to begin. It was 9:00 am when I started in my car and had a drive all the way to &#8220;<strong>Grand Unveil Adobe Seminar</strong>&#8221; while! on the way I picked up some of my friends and we were at ITC Kakatiya sharply at 9:30 am (I am lucky that Seminar hall is not far away from my house).</p>
<p><span id="more-480"></span></p>
<p><strong>Registration Time:</strong><br />
After reaching the respective hall in ITC, as I was already a registered user for this seminar the beautiful ladies near the respective registration counter, were given me a Adobe Hand Voucher, which has got all the respective schedules like Agenda and Who were the respective partners for hosting this seminar. As some of my friends were new to this session (I mean not registered user) then they have filled up a form out there and registered themselves for this seminar. This Registration process went for an hour that is from 9:00 to 10:00 am, then after 15 mins the actual seminar has been started.</p>
<p>You can view exclusive photographs from &#8220;<strong>Developer Snippets</strong>&#8221; which were taken in the session, the credit goes to one of my friend Sunil Akula, he has taken many photographs in the seminar, and they are awesome enough and rocking as well :), I can say this was a tour which I was experienced in Adobe Seminar. Please do have a look and let me know the feedback.</p>
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-1.jpg" alt=" Agenda given at Seminar" title=" Agenda given at Seminar" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-2.jpg" alt="Myself at Seminar" title="Myself at Seminar" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-3.jpg" alt="Seminar" title=" Seminar" class="size-full wp-image-473" />
<p><br/></p>
<p><strong>Seminar:</strong><br />
The Seminar has started with a huge round of applause, as this is the launch of Adobe CS4 at Hyderabad. Then after that the actual seminar has started, really I would like to say the seminar was awesome enough and very interactive, impressive etc., On the whole I would like to say Wowwwww&#8230;.</p>
<p><strong>Adobe Bridge:</strong><br />
The Seminar has been started with <strong>Adobe Bridge</strong>, the respective speaker has given a brief introduction on what new features has been added in Adobe Bridge, and why people (I mean here Developers and Designers) are using <strong>Adobe Bridge</strong> extensively. And he has beautifully presented the respective features on fly I mean by doing and showing as practically on his awesome APPLE &#8220;MAC&#8221; laptop, Amazing session I would like to say, since in <strong>Adobe Bridge</strong> now Adobe introduced a facility by which we can directly upload the respective file to online web, here I mean we can connect to <strong>FTP server</strong> directly from <strong>Adobe Bridge</strong>, and has got more features like Improved performance, Refined work environment, one-key full-screen previews, Quick Search, Review mode, Built-in creation of web galleries, List View (This is awesome feature), Thumbnail grid lock, 3D file format previews, Auto collection of HDR and panorama images, Additional filters, Enhanced XMP support. </p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-4.jpg" alt="All the respective Designers, Developers and Audience" title="All the respective Designers, Developers and Audience" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-5.jpg" alt="Banners at Seminar Hall" title="Banners at Seminar Hall" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-6.jpg" alt="Banners at Seminar Hall" title="Banners at Seminar Hall" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-7.jpg" alt="People at Seminar" title="People at Seminar" class="size-full wp-image-473" />
<p><br/></p>
<p>After Adobe Bridge session, we had a brand new session on &#8220;<a href="http://www.nvidia.com/page/home.html" title="NVIDIA">NVIDIA</a>&#8220;, NVIDIA is the Most Demanded Multi-GPU Platform (Here GPU is &#8220;Graphics Processing Unit&#8221;, would you like to know more about this then have a glance <a href="http://en.wikipedia.org/wiki/Graphics_processing_unit" title="Graphics Processing Unit">here</a>), Frankly speaking I have no idea on this GPU since I am very much new to this. In this &#8220;NVIDIA&#8221; session, one of the speakers has shown up a video, this is the video which has been taken in the session of NVIDIA (at US), the video was amazing, the video captured all the respective features and what&#8217;s new about NVIDIA. </p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-8.jpg" alt=" Speaker at Seminar" title=" Speaker at Seminar" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-9.jpg" alt="Nice good view of the seminar hall" title="Nice good view of the seminar hall" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-10.jpg" alt="Give me a Break" title="Give me a Break" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-11.jpg" alt="Give me a Break" title="Give me a Break" class="size-full wp-image-473" />
<p><br/></p>
<p>And after NVIDIA session, we had a session on NDTV <a href="http://ndtvlabs.com/products.htm" title="NX Paint">NX Paint</a>, and frankly speaking I have no idea on this tool as I am only a simple and good web designer and senior web developer. <a href="http://ndtvlabs.com/products.htm" title="NX Paint">NX Paint</a> has been developed in <a href="http://ndtvlabs.com/" title="NDTVlabs">NDTVlabs</a> and this is an Instant Graphics and Video Delivery Tool. If you would like to know more about this yeah you can swift <a href="http://ndtvlabs.com/products.htm" title="NX Paint">here</a>. </p>
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-12.jpg" alt="Give me a Break" title="Give me a Break" class="size-full wp-image-473" />
<p>And after that we had a session on, <strong>Adobe After Effects</strong>, What can I say about this friends, this is simply awesome enough. Now video editing made very easy, there were many features which has been introduced in Adobe After Effects, some of the things which I have noted are Searchable timelines, nested comp navigation, Compositions exported as layered projects, Integrated workflow for mobile device authoring, Dynamic link between Adobe Premiere Pro, After Effects and Soundbooth, Keyframing of x, y, z values, Cartoon effect, XMP metadata, versatile 3D cameras for each composition, Multiple 3D lights with shadows and many more new features, later if time permits will prepare an article for all the respective tools of Adobe CS4.</p>
<p>After this there was a session on <strong>Adobe Soundbooth CS4</strong>, I would like list down some few new features which I remember - Multi track support, Volume matching, Beat Detection, New Adobe Sound Document .ADND, XMP metadata collection etc.,</p>
<p>After this session, there was a session on <strong>Adobe InDesign CS4</strong>, this was an interactive session, and here in this session the respective speaker has explained and showcased about the new features that has been introduced like, Smart Tools, Choose Edit App, Proportional Place, Live Preflight, Custom Views and Workspaces, Kuler panel, SWF export etc.,</p>
<p>Lunch break for a while, people had a great lunch at ITC Hyderabad near the seminar hall.</p>
<p>After this session, we had an very interactive session on one of my favorite, <strong>Adobe Photoshop CS4</strong>, since in my daily life mostly every moment at work I used to use this, and I was eagerly waiting for this session, here in this lots of tons of new features has been introduced, like firstly I would like to say about the UI of the Adobe Photoshop CS4 has been changed, Adjustment Panel, Masks Panel, Canvas Rotation, Smoother panning and zooming, Better raw processing in Camera Raw, 3D Acceleration, Comprehensive 3D tools, Masking Layers etc., and lots more in this session.</p>
<p>There was a session on Adobe Flash CS4, the UI was entirely changed like the respective timelines and layers has been moved from top to bottom like Adobe After Effects, there are top new features which were showcased like Object-based animation model (Shown the example of bouncing ball with a path), 3D transformations, Motion Editor Panel, Motion Presets Panel, XFL support, Metadata support etc which I remember. </p>
<p>There was an interactive questionnaire&#8217;s which were asked by the people around and got good response in the form of answers from the speakers, and I would like to thank them a lot, for there enthuse in answering them.</p>
<p>After this interactive session on Adobe Photoshop CS4, there was an another interactive session on Adobe Fireworks, I would like to say frankly that in my daily life I have not used Adobe Fireworks because I used to think that Fireworks does not work for me, but guys I would like to say that its awesome, after listening to this session, I really thought to have a look at it once sine it has got many awesome enough features like Improved performance, New User Interface, CSS based layouts, PDF Export (This is something awesome) for we had an awesome example which was shown in the session, Live Styles, Workspace Improvements. </p>
<p>Last but not the least, the Adobe Dreamweaver Session was awesome enough, everything is ready made, just drag and drop your job is done in seconds, frankly speaking for creating an AJAX based website it will take 2 to 3days of time effort, but now it will takes only seconds if you got to used to it. I would like to say, like there was one new feature called &#8220;<strong>Live View</strong>&#8221; this is awesome instead of viewing the respective output in your browsers you can preview it then and there itself through this &#8220;Live View&#8221;, and Dreamweaver has got many features like CSS best practices, HTML data sets, Adobe Photoshop Smart Objects, Code hinting for Ajax and JavaScript frameworks etc.,</p>
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-13.jpg" alt=" After Session, Myself with Adobe Expert" title=" After Session, Myself with Adobe Expert" class="size-full wp-image-473" />
<p><br/></p>
<img src="http://developersnippets.com/AdobeSeminar/AdodeSeminarCS4-14.jpg" alt=" After Session, Myself with Adobe Expert" title=" After Session, Myself with Adobe Expert" class="size-full wp-image-473" />
<p><br/></p>
<p>This was my experience at Adobe CS4 Seminar which was organized at ITC Kakatiya, Hyderabad. I am going to try it out the brand new Adobe CS4, that’s for sure and how about you guys!</p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/11/19/a-new-face-of-adobe-cs4-in-grand-unveil-seminar-at-hyderabad/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Invitation for Adobe Creative Suite 4 - The Grand Unveil</title>
		<link>http://developersnippets.com/2008/11/10/invitation-for-adobe-creative-suite-4-the-grand-unveil/</link>
		<comments>http://developersnippets.com/2008/11/10/invitation-for-adobe-creative-suite-4-the-grand-unveil/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 17:22:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[Sessions]]></category>

		<category><![CDATA[Adobe Flash]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=445</guid>
		<description><![CDATA[Adobe earlier has announced about the official launch of Adobe Creative Suite 4 in India, On 4th of November they had a very first launch at Mumbai, NCPA, Nariman Point, the seminar went very well enough and it was very interactive too. In the seminar they have clearly explained about the new features that involved [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.adobe.com" title="Adobe">Adobe</a> earlier has announced about the official launch of <a href="http://www.adobe.com/products/creativesuite/" title="Adobe Creative Suite 4">Adobe Creative Suite 4</a> in India, On 4th of November they had a very first launch at Mumbai, NCPA, Nariman Point, the seminar went very well enough and it was very interactive too. In the seminar they have clearly explained about the new features that involved in <a href="http://www.adobe.com/products/creativesuite/" title="Adobe CS4">Adobe CS4</a>.</p>
<p><span id="more-445"></span></p>
<p>Seminar and the respective launch events will be at the below depicted cities, I would like to announce / recommend all the respective <a href="http://www.adobe.com" title="Adobe">Adobe</a> fans to go and attend the seminar in your respective cities. Since this going to help us a lot in knowing some new features which has been introduced in Adobe CS4.</p>
<p><strong><u>Cities:</u></strong><br />
<strong>New Delhi</strong><br />
Essex Farms (P) Ltd<br />
<strong>12th November 2008</strong> 10:00 am to 2:00 pm followed by lunch<br />
Registration between 9:00 am and 10:00 am<br />
<strong>RSVP:</strong> 9313597474, 9313597470 or email at <strong><a href="mailto:adobe@channel-technologies.com" title="adobe@channel-technologies.com">adobe@channel-technologies.com</a></strong></p>
<p><strong>Hyderabad</strong><br />
<strong>ITC Kakatiya</strong><br />
<strong>18th November 2008</strong> 10:00 am to 2:00 pm followed by lunch<br />
Registration between 9:00 am and 10:00 am<br />
<strong>RSVP:</strong> 9313597474, 9313597470 or email at <strong><a href="mailto:adobe@channel-technologies.com" title="adobe@channel-technologies.com">adobe@channel-technologies.com</a></strong></p>
<p><strong>Chennai</strong><br />
<strong>GRT Grand</strong><br />
<strong>19th November 2008</strong> 10:00 am to 2:00 pm followed by lunch<br />
Registration between 9:00 am and 10:00 am<br />
<strong>RSVP:</strong> 9313597474, 9313597470 or email at <strong><a href="mailto:adobe@channel-technologies.com" title="adobe@channel-technologies.com">adobe@channel-technologies.com</a></strong></p>
<p><strong>Bangalore</strong><br />
<strong>The Chancery Pavilliion</strong><br />
<strong>21st November 2008</strong> 10:00 am to 2:00 pm followed by lunch<br />
Registration between 9:00 am and 10:00 am<br />
<strong>RSVP:</strong> 9313597474, 9313597470 or email at <strong><a href="mailto:adobe@channel-technologies.com" title="adobe@channel-technologies.com">adobe@channel-technologies.com</a></strong></p>
<p>And send in your confirmations to the mail ID mentioned above to confirm your seats. It is a first come first served reservation.</p>
<p>Below is the released outlet for the one which going to be held at Hyderabad:<br />
<a href="http://www.channel-technologies.com/adobecs4"><img src="http://developersnippets.com/wp-content/uploads/2008/11/grand_unveil_cs4.jpg" alt="" title="grand_unveil_cs4" width="415" height="671" class="alignleft size-full wp-image-448" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/11/10/invitation-for-adobe-creative-suite-4-the-grand-unveil/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Building Adobe AIR Applications with Flash CS3 - By ADC</title>
		<link>http://developersnippets.com/2008/10/29/building-adobe-air-applications-with-flash-cs3-by-adc/</link>
		<comments>http://developersnippets.com/2008/10/29/building-adobe-air-applications-with-flash-cs3-by-adc/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 03:33:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[AIR]]></category>

		<category><![CDATA[Action Scripting]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Apollo]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Adobe Air]]></category>

		<category><![CDATA[Flash CS3]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=391</guid>
		<description><![CDATA[The great expert from Adobe and the &#8220;Platform Evangelist Lee Brimelow shows you how to start an AIR application in Flash CS3. He also shows how to take an existing Flash project and turn it into an AIR application&#8221;. Guys! this is awesome enough, you can learn how to implement the things with Adobe AIR [...]]]></description>
			<content:encoded><![CDATA[<p>The great expert from Adobe and the &#8220;Platform Evangelist Lee Brimelow shows you how to start an AIR application in Flash CS3. He also shows how to take an existing Flash project and turn it into an AIR application&#8221;. Guys! this is awesome enough, you can learn how to implement the things with Adobe AIR and Flash CS3, not only that we can also learn on converting existing Flash Project to an AIR application.<span id="more-391"></span></p>
<p>Just have a look at it - and learn from Expert</p>
<p><embed src="http://tv.adobe.com/Embed.swf" quality="high" bgcolor="#000000" width="400" height="250" name="AdobeTVPlayer" play="true" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" flashVars="v=~b64~aHR0cDovL2Fkb2JlLmVkZ2Vib3NzLm5ldC9mbGFzaC9hZG9iZS9hZG9iZXR2Mi9hZGNfcHJlc2VudHMvNjRfYWRjXzAxNC5mbHY/cnNzX2ZlZWRpZD0xNDcyJnhtbHZlcnM9Mg==&#038;w=400&#038;h=250"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/10/29/building-adobe-air-applications-with-flash-cs3-by-adc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Online picture editing tool - pixlr free</title>
		<link>http://developersnippets.com/2008/10/28/online-picture-editing-tool-pixlr-free/</link>
		<comments>http://developersnippets.com/2008/10/28/online-picture-editing-tool-pixlr-free/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 17:24:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Gfx]]></category>

		<category><![CDATA[WebTools]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=386</guid>
		<description><![CDATA[One another picture editing web-tool for you guys - pixlr free, are you not having photoshop installed on your machine, no worries you can edit your images online and can be saved to your local machine. This is very much similar to photoshop software but this has been developed using flash. The look and feel [...]]]></description>
			<content:encoded><![CDATA[<p>One another picture editing web-tool for you guys - <a href="http://www.pixlr.com/app/" title="pixlr free">pixlr free</a>, are you not having photoshop installed on your machine, no worries you can edit your images online and can be saved to your local machine. This is very much similar to photoshop software but this has been developed using flash. The look and feel of the tool is similar to earlier versions of photoshop. I tried to crop my image and it does very fast and can be saved accordingly to my desktop. Amazing Tool&#8230;.<span id="more-386"></span></p>
<p>It has got all the features which you will see in Photoshop, the unique feature you can see in this tool is Language, it supports most of the languages and when we click on the respective language the tool will change to that language and menu and options behind also changes to the respective language which you have selected. And even you can use most of the photoshop shortcut keys to operate this tool. I would like to recommend you guys to use this tool.</p>
<p>If you want to know more and want to work on it then you have to visit <a href="http://www.pixlr.com/app/" title="pixlr free">pixlr free</a> web-tool.</p>
<div id="attachment_387" class="wp-caption alignleft" style="width: 414px"><a href="http://www.pixlr.com/app/" title="pixlr"><img src="http://developersnippets.com/wp-content/uploads/2008/10/pixlr_webtool.jpg" alt="pixlr" title="pixlr webtool" width="404" height="237" class="size-full wp-image-387" /></a><p class="wp-caption-text">pixlr</p></div>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/10/28/online-picture-editing-tool-pixlr-free/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Code Snippet for creating custom Flash CS3 Preloader</title>
		<link>http://developersnippets.com/2008/09/28/code-snippet-for-creating-custom-flash-cs3-preloader/</link>
		<comments>http://developersnippets.com/2008/09/28/code-snippet-for-creating-custom-flash-cs3-preloader/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 18:46:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Action Scripting]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[ActionScript 3]]></category>

		<category><![CDATA[Adobe Flash CS3]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=286</guid>
		<description><![CDATA[As you guys already know that Adobe Flash CS3 is awesome enough, in CS3 we can see more features and especially coming to ActionScripting, more OOPS concepts has been introduced. Compared to old versions of flash ActionScripting, now experts says that Flash CS3 is good enough to handle more with Classes and Objects using OOPS [...]]]></description>
			<content:encoded><![CDATA[<p>As you guys already know that Adobe Flash CS3 is awesome enough, in CS3 we can see more features and especially coming to ActionScripting, more OOPS concepts has been introduced. Compared to old versions of flash ActionScripting, now experts says that Flash CS3 is good enough to handle more with Classes and Objects using OOPS concepts.</p>
<p>Coming to our topic today, after going through this post you will get an idea of how we can create a Custom Flash CS3 Preloader.<span id="more-286"></span></p>
<p>Custom preloader is a must topic in all aspects while creating any application in Flash or while doing any animation using Flash. The process is much different in ActionScript 3.0 compared to older versions of Action Scripting. External files are no longer loaded on to the stage like you might have done in earlier versions of Flash. Creating a Custom Flash CS3 Preloader is simple and very easy to implement. Here we will be creating a preloader which can be used for loading external images or other SWF (acronym of &quot;<strong>Shockwave Flash</strong> &quot;) files.</p>
<p>Before start creating the same, initially please do download the respective files – since this going to help us in understanding the same. Please do <strong><a href="http://www.developersnippets.com/FlashExamples/FlashCS3/flashpreloader.zip" title="FlashPreloader">download</a></strong> the example files for reference, after downloading please do open <strong>flashpreloader.fla</strong> file.</p>
<p><strong>Getting Started:</strong></p>
<p><strong>Step 1. Open flashpreloader.fla</strong></p>
<p>After opening the <strong>flashpreloader.fla</strong> file, please do review its contents, you will see that the stage is empty. This is because here we are going to load an external file and display the same here. Here we are going to use some code to dynamically place the preloader on the stage and to remove the same from the stage when the loading is complete.</p>
<p>Press <strong>Ctrl+L</strong> to open the respective Library; here you will see two movie clips that is <strong>rectBarMC </strong> and Preloader Movie Clips. <strong>rectBarMC </strong> is simple blue rectangle bar which will be used to create a visual progress bar when a file is loading.</p>
<p><img style="border: 0;" src="http://developersnippets.com/wp-content/uploads/2008/09/library.jpg" alt="Library" width="241" height="357" /></p>
<p>Firstly we will go with <strong>rectBarMC </strong> as I have mentioned above this is a simple rectangle bar which will be used as a progress bar for our program.</p>
<p>And coming to <strong>Preloader</strong> , which is a movie clip contain all the respective pieces of our preloader like the text “<strong>Loading 100%</strong> ” etc., Just right click on the same and check for the linkage option in the context menu. When you click on Linkage, it will open up “<strong>Linkage Properties</strong> ” window, in that window make sure that <strong>Class name </strong> should match with the movie clip name like “<strong>Preloader</strong> ” for this the <strong>Base class </strong> would be “<strong>flash.display.MovieClip</strong> ”. And if you see the checkbox for <strong>Export for ActionScript</strong> has been selected, this means that when the respective file runs, we can access this movie clip dynamically by its class name that is here “<strong>Preloader</strong> ”. Below is the screen shot which resembles the same – <strong>linkage properties</strong></p>
<p><img style="border: 0;" src="http://developersnippets.com/wp-content/uploads/2008/09/linkageproperties.jpg" alt="Linkage Properties" width="449" height="235" /><br />
The Linkage properties for the Preloader Movie Clip.</p>
<p>Now just open the <strong>Preloader</strong> Movie Clip by double clicking on it in the library. Here you can see three respective layers which are named as <strong>Loading_txt</strong> , <strong>Loading_bar </strong> and <strong>Border_frame</strong> .</p>
<p>“<strong>Loading_txt</strong> ” layer just contains the “<strong>Loading 100%</strong> ” text that tells the user what percentage of the respective file has been downloaded. And when you select the same, in the properties inspector panel, you can see that <strong>loading_txt</strong> has given as the <strong>instance name</strong> . Using ActionScripting code we can show how much amount of file has been loaded.</p>
<p>“<strong>Loading_bar</strong> ” Layer contains an instance of the <strong>rectBarMC</strong> movie clip which will expand to visually indicate how much of the file has been downloaded or completed. And for this we have given an instance name as <strong>rectbar_mc</strong> .</p>
<p>“<strong>Border_frame</strong> ” Layer just it contains the box shape, it looks like a border.</p>
<p>Below snap-shot resembles the Preloader Movie Clip.</p>
<p><img style="border: 0;" src="http://developersnippets.com/wp-content/uploads/2008/09/preloadermovieclip.jpg" alt="Preloader Movie Clip" width="482" height="163" /></p>
<p><strong>Step 2. Adding ActionScript to load the external file:</strong></p>
<p>Now we will try to add ActionScript to load the external file, click on the <strong>Scene 1</strong> under the timeline. You can see one layer called as “<strong>actions</strong> ”. Select the “<strong>actions</strong> ” layer and press <strong>F9</strong> to open the <strong>Actions panel</strong> . Here we will be loading an external <strong>.swf </strong> file, keeping this in mind we will write some ActionScript code. Just go through the code snippet below which I have written for loading an external <strong>.swf</strong> file.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> myUrlReq<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;externalfile.swf&quot;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #6699cc; font-weight: bold;">var</span> myLoader<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Loader</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Loader</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
myLoader.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span>myUrlReq<span style="color: #000000;">&#41;</span>;
&nbsp;
myLoader.<span style="color: #004993;">contentLoaderInfo</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">OPEN</span>,showPreloader<span style="color: #000000;">&#41;</span>;
myLoader.<span style="color: #004993;">contentLoaderInfo</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">ProgressEvent</span>.<span style="color: #004993;">PROGRESS</span>,showProgress<span style="color: #000000;">&#41;</span>;
myLoader.<span style="color: #004993;">contentLoaderInfo</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">COMPLETE</span>,showContent<span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> myPreloader<span style="color: #000000; font-weight: bold;">:</span>Preloader = <span style="color: #0033ff; font-weight: bold;">new</span> Preloader<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> showPreloader<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
        <span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>myPreloader<span style="color: #000000;">&#41;</span>;
        myPreloader.<span style="color: #004993;">x</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageWidth</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">2</span>;
        myPreloader.<span style="color: #004993;">y</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageHeight</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">2</span>;
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> showProgress<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">ProgressEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
        <span style="color: #6699cc; font-weight: bold;">var</span> percentLoaded<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = event.<span style="color: #004993;">bytesLoaded</span><span style="color: #000000; font-weight: bold;">/</span>event.<span style="color: #004993;">bytesTotal</span>;
        myPreloader.loading_txt.<span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Loading - &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #004993;">Math</span>.<span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span>percentLoaded <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">100</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #990000;">&quot;%&quot;</span>;
        myPreloader.rectbar_mc.<span style="color: #004993;">width</span> = <span style="color: #000000; font-weight:bold;">198</span> <span style="color: #000000; font-weight: bold;">*</span> percentLoaded;
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> showContent<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
        <span style="color: #004993;">removeChild</span><span style="color: #000000;">&#40;</span>myPreloader<span style="color: #000000;">&#41;</span>;
        <span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>myLoader<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p><strong>Code in Brief:</strong></p>
<p><strong>1. Loading the External file</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> myUrlReq<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">URLRequest</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;externalfile.swf&quot;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #6699cc; font-weight: bold;">var</span> myLoader<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Loader</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">Loader</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
myLoader.<span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span>myUrlReq<span style="color: #000000;">&#41;</span>;</pre></td></tr></table></div>

<p>Here in the above snippet code, we are creating an object of URLRequest called myUrlReq and will be creating an object of Loader called myLoader, and this Loader class expects to receive a URLRequest pointing to the file you wish to load, it can be an image file / any external file which you want to load. Here we are loading an external .swf file with file name as “externalfile.swf”.</p>
<p><strong>2. Creating respective Listeners to check the progress of the file</strong></p>
<p>After that we need to create listeners to monitor the progress of the file, like how much amount of the file has been loaded till now. For that we will be using event listeners like <strong>Event.OPEN</strong> , <strong>ProgressEvent.PROGRESS</strong> , <strong>Event.COMPLETE</strong>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;">myLoader.<span style="color: #004993;">contentLoaderInfo</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">OPEN</span>,showPreloader<span style="color: #000000;">&#41;</span>;
myLoader.<span style="color: #004993;">contentLoaderInfo</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">ProgressEvent</span>.<span style="color: #004993;">PROGRESS</span>,showProgress<span style="color: #000000;">&#41;</span>;
myLoader.<span style="color: #004993;">contentLoaderInfo</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">COMPLETE</span>,showContent<span style="color: #000000;">&#41;</span>;</pre></td></tr></table></div>

<p>Firstly we will run a function called <strong>showPreloader()</strong> which will place the Preloader movie clip on the stage. Then Secondly we will run a function called <strong>showProgress()</strong> which will visually update the preloader bar and text to reflect the download progress. Finally we will run a function called <strong>showContent()</strong> , which will remove the preloader and show the respective content once the download is complete.</p>
<p><strong>3. showPreloader()</strong></p>
<p>Before running the respective function, we need to create an instance of the <strong>Preloader </strong> movie clip which will display the <strong>Preloader </strong> on the stage.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> myPreloader<span style="color: #000000; font-weight: bold;">:</span>Preloader = <span style="color: #0033ff; font-weight: bold;">new</span> Preloader<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
Then write the <span style="color: #004993;">code</span> of the respective <span style="color: #339966; font-weight: bold;">function</span> showPreloader<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> showPreloader<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>myPreloader<span style="color: #000000;">&#41;</span>;
myPreloader.<span style="color: #004993;">x</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageWidth</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">2</span>;
myPreloader.<span style="color: #004993;">y</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageHeight</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">2</span>;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>Using <strong>addChild()</strong> we are placing <strong>myPreloader </strong> instance on the stage, if you see the above code we are placing the respective preloader in the center of the stage through<strong> x</strong> and <strong>y</strong> positions.</p>
<p><strong>4. showProgress()</strong></p>
<p>Now after completion of the positioning of the preloader, now we will call <strong>showProgress()</strong> function, here in this function we will calculate the percentage of loading completed by dividing the number of bytes downloaded so far by the total number of bytes. Then after calculating we are assigning the same to the <strong>loading_txt</strong> . And simultaneously we need to increase the width of the <strong>rectbar_mc</strong> to visually showing the same to the user that this much amount of file has been loaded.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #339966; font-weight: bold;">function</span> showProgress<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">ProgressEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> percentLoaded<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = event.<span style="color: #004993;">bytesLoaded</span><span style="color: #000000; font-weight: bold;">/</span>event.<span style="color: #004993;">bytesTotal</span>;
	myPreloader.loading_txt.<span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Loading - &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #004993;">Math</span>.<span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span>percentLoaded <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">100</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #990000;">&quot;%&quot;</span>;
	myPreloader.bar_mc.<span style="color: #004993;">width</span> = <span style="color: #000000; font-weight:bold;">198</span> <span style="color: #000000; font-weight: bold;">*</span> percentLoaded;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p><strong>5. showContent()</strong></p>
<p>After loading everything, we need to remove the movie clip from the stage and need to show the external file respectively. Below is the code for the same.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript3 actionscript3" style="font-family:monospace;"><span style="color: #339966; font-weight: bold;">function</span> showContent<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #004993;">removeChild</span><span style="color: #000000;">&#40;</span>myPreloader<span style="color: #000000;">&#41;</span>;
	<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>myLoader<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>The above function is called after completion of <strong>showProgress()</strong> , and in this function we are removing <strong>myPreloader </strong> movie clip and adding the external file on the stage that is <strong>myLoader </strong> (I mean an external file named as <strong>externalflash.swf</strong> ).</p>
<p>So, we are done with the preloader. Now test the application by pressing <strong>Ctrl+Enter</strong> you can see preloader in action. Before pressing Ctrl+Enter, please do include some .swf file and instead of &#8220;externalflash.swf&#8221; place your own file in the same directory. After placing the file then press Ctrl+Enter for better results or else it will give an error like &#8220;URL not Found&#8221;.</p>
<p><strong>Download</strong><br />
<a href="http://www.developersnippets.com/FlashExamples/FlashCS3/flashpreloader.zip" title="FlashPreloader">Flash Preloader</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/09/28/code-snippet-for-creating-custom-flash-cs3-preloader/feed/</wfw:commentRss>
		</item>
		<item>
		<title>We the Team won in Truveo Developer Challenge Contest - TechVideoBytes</title>
		<link>http://developersnippets.com/2008/08/01/we-the-team-won-in-truveo-developer-challenge-contest-techvideobytes/</link>
		<comments>http://developersnippets.com/2008/08/01/we-the-team-won-in-truveo-developer-challenge-contest-techvideobytes/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 19:51:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[AIR]]></category>

		<category><![CDATA[Accessibility]]></category>

		<category><![CDATA[Action Scripting]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[Apollo]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[C++]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Databases]]></category>

		<category><![CDATA[Designing]]></category>

		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Games]]></category>

		<category><![CDATA[Gfx]]></category>

		<category><![CDATA[HTML]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[LightBox]]></category>

		<category><![CDATA[Maya]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[ProtoType]]></category>

		<category><![CDATA[Reg Exp]]></category>

		<category><![CDATA[Safari Browser]]></category>

		<category><![CDATA[Technology News]]></category>

		<category><![CDATA[ThickBox]]></category>

		<category><![CDATA[Thoughts to Think about]]></category>

		<category><![CDATA[YUI]]></category>

		<category><![CDATA[Yahoo]]></category>

		<category><![CDATA[jQuery]]></category>

		<category><![CDATA[xml]]></category>

		<category><![CDATA[Browser]]></category>

		<category><![CDATA[Ext JS]]></category>

		<category><![CDATA[Flash CS3]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=230</guid>
		<description><![CDATA[We are glad to announce that, we the Team (Developers Snippets - TechVideoBytes ) won a prize gift in Truveo Developer Challenge Contest and in this contest we stand in top 4th place. We would like to thank the Truveo Team for conducting this contest, this indeed helps us in developing good web applications and [...]]]></description>
			<content:encoded><![CDATA[<p>We are glad to announce that, we the Team (<a title="Developer Snippets" href="http://www.developersnippets.com" title="Developer Snippets">Developers Snippets</a> - <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">TechVideoBytes</a> ) won a prize gift in Truveo Developer Challenge Contest and in this contest we stand in top 4th place. We would like to thank the Truveo Team for conducting this contest, this indeed helps us in developing good web applications and can show case the same to the entire Web World. We the Team is striving hard to showcase some useful stuff to the developer to develop their career in technology.<span id="more-230"></span></p>
<p>If you see, <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">TechVideoBytes</a> is completely a technology based website, which depicts the ease of highlighting video tutorials on various software tools and various programming languages. You can learn tools online without paying anything, yes! its absolutely free bucks. Just select your favorite keyword and on a click you can view the respective video playing on the other page, and on the page we are consolidating all the relative videos in respect to your keyword selected, if you would like know more about the <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">TechVideoBytes</a> just crawl into the website – <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">TechVideoBytes</a> .</p>
<p><strong>About the contest:</strong><br />
Here in this contest there are nine $10,000 first place winners, and the 20 $500 second place winners which are determined by the 5 categories of TopCoder Community Favorite. If you guys want to know more about this contest just jump into <a title="TopCoder" href="http://www.topcoder.com/truveo" title="TopCoder">TopCoder</a></p>
<p>In the first place winners we stand in 4th place, and the categories includes <strong>Usage</strong> – 90, <strong>Innovation</strong> – 80, <strong>API</strong> – 80, <strong>AOL</strong> – 62, <strong>TC Rank</strong> – 94 and coming to over all <strong>Weighted Score</strong> is – 81.2</p>
<p>We are glad to bags this prize gift, and will strive hard to come up with other innovative web applications in coming future.</p>
<p><a href="http://www.developersnippets.com/techvideobytes/?tags=Flash+CS3"><img style="border: 1px solid #b6b6b6; padding: 2px;" src="http://developersnippets.com/wp-content/uploads/2008/08/techvideobytes_contest.jpg" border="0" alt="TechVideoBytes" /> </a></p>
<p>We had a crawl to all the websites which are listed in the prize winning list, we have many favorites websites which we liked the most is  <a title="MapOfVideo" href="http://mapofvideo.com/" title="MapOfVideo">MapOfVideo</a> , <a title="SVid" href="http://cyb3r.in/svid/" title="SVid">SVid</a> , <a title="VideoBuzz" href="http://www.wittysparks.com/searchvideos/" title="VideoBuzz">VideoBuzz</a> the network of <a title="WittySparks" href="http://www.wittysparks.com" title="WittySparks">Wittysparks</a> , <a title="VideoSearchBot" href="http://sites.google.com/a/i2r.a-star.edu.sg/video-search-bot/" title="VideoSearchBot">VideoSearchBot</a> .<a title="MapOfVideo" href="http://mapofvideo.com/" title="MapOfVideo"> MapOfVideo</a> has also got good features in the application which provided has got many other options by clicking on the respective spot and stands in 1st Position, <a title="SVid" href="http://cyb3r.in/svid/" title="SVid">SVid</a> it has got featured all the categories in all aspects, which is awesome enough to see and stands in 2nd place, <a title="VideoBuzz" href="http://www.wittysparks.com/searchvideos/" title="VideoBuzz">VideoBuzz</a> has bagged in 14th position in the contest. This site has got good look and feel providing all the respective top videos, featured videos and upcoming videos related to Hollywood, Bollywood, Tollywood, Kollywood and more. <a title="VideoSearchBot" href="http://sites.google.com/a/i2r.a-star.edu.sg/video-search-bot/" title="VideoSearchBot">VideoSearchBot</a> is an AIM bot for video search based on Truveo Video Search API. Just type the query and he will give you the video list with integrated links, which stands in 3rd position in $500 prize winner.</p>
<p>Finally! Kudos to all people who won prize gifts from Truveo.</p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/08/01/we-the-team-won-in-truveo-developer-challenge-contest-techvideobytes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Learn your favorite software in just a click – TechVideoBytes</title>
		<link>http://developersnippets.com/2008/07/18/learn-your-favorite-software-in-just-a-click-%e2%80%93-techvideobytes/</link>
		<comments>http://developersnippets.com/2008/07/18/learn-your-favorite-software-in-just-a-click-%e2%80%93-techvideobytes/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 19:35:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Action Scripting]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[Apollo]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Designing]]></category>

		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Games]]></category>

		<category><![CDATA[HTML]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Maya]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[Technology News]]></category>

		<category><![CDATA[Yahoo]]></category>

		<category><![CDATA[Accessibility]]></category>

		<category><![CDATA[Browser]]></category>

		<category><![CDATA[Ext JS]]></category>

		<category><![CDATA[Flash CS3]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[jQuery]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[ProtoType]]></category>

		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=220</guid>
		<description><![CDATA[We the team at Developer Snippets (www.developersnippets.com ) glad to inform you that, we have launched a best online video search application where in which you can learn your favorite programming languages (or) can be familiar with upcoming designing tools (or) can view and listen what experts says in the online seminars and conferences (or) [...]]]></description>
			<content:encoded><![CDATA[<p>We the team at Developer Snippets (<a title="Developer Snippets" href="http://www.developersnippets.com" title="Developer Snippets">www.developersnippets.com</a> ) glad to inform you that, we have launched a best online <strong>video search application</strong> where in which you can learn your favorite programming languages (or) can be familiar with upcoming designing tools (or) can view and listen what experts says in the online seminars and conferences (or) interviews with experts (or) useful advice from an expert and more can be viewed at one place.<span id="more-220"></span></p>
<p>Name of the application is Tech Video Bytes, and can be viewed at this location <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">http://www.developersnippets.com/techvideobytes</a></p>
<p>Just click on the above link, this will take you to the awesome application where in which you have a liberty to search your favorite video and learn from the same at a single click.</p>
<p>Do you want to learn programming languages quickly and efficiently with out attending any private institutions by paying lot of bucks? By this application you can learn your favorite programming languages through Videos. And want to be familiar with designing tools like Adobe Photoshop, Adobe Flash, Adobe Aftereffects, 3D Studio Max, Maya and many more through this Video Search Application.</p>
<p>Do you want to listen to what experts says about the latest technologies and want to be in touch with latest technologies, yeah here is the right place to come in and search for your favorite video on particular seminar.</p>
<p><a href="http://www.developersnippets.com/techvideobytes/?tags=Flash+CS3"><img style="padding:2px; border:1px solid #B6B6B6;" src="http://developersnippets.com/wp-content/uploads/2008/07/techvideobytes.jpg" border="0" alt="TechVideoBytes" /> </a></p>
<p><strong>Best features ever to search your favorite video online:</strong></p>
<ul style="list-style:disc; padding-left:0px;">
<li>Towards your left, we have placed a column for Categories, where in you can view many categories that we have listed as of now we have listed only few that we like most and useful for the developers and users. Just click on your favorite respective link, this will take you to the best filtered videos related to that link.<strong>For Example: </strong> If you click one <strong>Photoshop</strong> link in the left pane provided, it will show <strong>Photoshop</strong> related Video links with respective images in the center pane that is in the results pane. With Video Links and Images, description about the video is also provided. Just click on the respective video link you like, this will take you to the Video Page with your favorite video. In that way you can view the favorite video online without paying any bucks it’s all free!Below “<strong>All Categories</strong> ” lists we have provided <strong>Related Channels</strong> and <strong>Related Tags</strong> , these sections will be automatically updated depending on your search results.<strong>Related Channels:</strong> This will show respective video channels<br />
<strong>Related Tags:</strong> This will show up respective tags for your easy search.</li>
<li>Below the Header in the input box provided, enter your search criteria like for example, Enter <strong>Photoshop </strong> and click on the “<strong>Search Videos</strong> ” button. This will filter all the search criteria and will displays all the respective results (that is Video Links, Respective Video Images and Descriptive text about the video).</li>
<li>Center Pane, This will depicts the search results. Above the search results, you can find your respective search criteria as a heading like if you enter “<strong>Photoshop</strong> ” in the input box provided then it will display as “<strong>Photoshop</strong> ” and below that number of the results found.</li>
<li>In a page we are showing only 15 video links, and if you want to navigate to the other results we have provided pagination functionality for your better navigation purposes.</li>
<li>Towards your right that is in the third column, we have placed “Featured Videos”, right now in the top we have displayed only Adobe related products and below that we have placed many featured videos this will be updated once in a week.In the featured video’s section, we have displayed the respective title of the Featured Video, below that respective image of the video and beside to that respective description and after that respective Category, Channel, Related Tags.</li>
<li>If you go to the video page (By clicking on the respective video links provided / the links which are filtered from the search criteria), the Video page will the respective video, as of now we have in the left pane we are listing all the respective Categories and will be adding other categories in upcoming days. And towards your right that right pane, under <strong>Featured Videos</strong> section, we have placed “<strong>Related Videos</strong> ” depending on your search and below that respective <strong>Related Categories</strong> , <strong>Related Tags</strong> , and <strong>Related Channels</strong> depending on your search criteria will be automatically changes depending on your search criteria.</li>
</ul>
<p>Above are the respective features which we have implemented as of now, we will be coming up with new features and new functionalities in the near future.</p>
<p><strong>Place your Video for Free: </strong> If you want to place your video, we are glad to accept that but with one condition! Your video should be related to Technology, we mean related to Information Technology, which should be helpful to the end users. And even we promise that if the video is really helpful we will showcase that in the front page of Developer Snippets and as well in the Tech Video Bytes page. In this way you can promote your valuable website through our site.</p>
<p>To send in your respective videos, just draft a mail with all your details and video link (or) video which should be less than 10MB.</p>
<p>Just add “<strong>Video :&lt;&lt; Video Title&gt;&gt; | &lt;&lt;Video Duration&gt;&gt; | &lt;&lt;Small Description about the Video&gt;&gt;</strong> ” to mail SUBJECT line and sending in to <a style="text-decoration:none;" href="mailto:vivekananda_ind@yahoo.com">vivekananda_ind@yahoo.com</a> , by looking at the subject line. May have a chance to delete your mail if you have not mentioned the subject line properly as depicted above.</p>
<p>Here is a request from our Team; please let us know your valuable feedback about this application, and help us in growing. If you guys want to add more functionalities to the application, please do inform us and write into us at <a style="text-decoration:none;" href="mailto:vivekananda_ind@yahoo.com">vivekananda_ind@yahoo.com</a></p>
<p>Link to the Site: <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">http://www.developersnippets.com/techvideobytes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/07/18/learn-your-favorite-software-in-just-a-click-%e2%80%93-techvideobytes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash files (SWF) now search engine friendly - Adobe.com</title>
		<link>http://developersnippets.com/2008/07/02/flash-files-swf-now-search-engine-friendly-adobecom/</link>
		<comments>http://developersnippets.com/2008/07/02/flash-files-swf-now-search-engine-friendly-adobecom/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 15:49:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Technology News]]></category>

		<category><![CDATA[Yahoo]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Search]]></category>

		<category><![CDATA[SWF]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=207</guid>
		<description><![CDATA[A very good news to all developers in the World, Now Flash file format (SWF files) are search engine friendly. Adobe Team came up with a very good and awesome feature in the world of Flash, they have provided optimized Adobe Flash Player technology to Google  and Yahoo! to enhance search engine indexing of [...]]]></description>
			<content:encoded><![CDATA[<p>A very good news to all developers in the World, Now Flash file format (SWF files) are search engine friendly. Adobe Team came up with a very good and awesome feature in the world of Flash, they have provided optimized <span style="font-weight: bold;">Adobe Flash Player</span> technology to <span style="font-weight: bold;">Google </span> and <span style="font-weight: bold;">Yahoo!</span> to enhance search engine indexing of the <span style="font-weight: bold;">Flash</span> file format (<span style="font-weight: bold;">SWF</span> ) and to uncover information that is currently undiscoverable by search engines.<span id="more-207"></span></p>
<p>This facility would provide more relevant search rankings for the Web Pages which are built using Adobe Flash and this will be useful for millions of RIAs applications and other dynamic content that run in Adobe Flash Player.</p>
<p><strong>For more information, view the below links:</strong><br />
<a title="SWF searchability FAQ" href="http://www.adobe.com/devnet/flashplayer/articles/swf_searchability.html" title="SWF searchability FAQ"> </a> <a title="Adobe enables Flash searchability" href="http://mturner.wordpress.com/2008/07/01/adobe-enables-flash-searchability/" title="Adobe enables Flash searchability"><span style="font-weight: bold;">Adobe enables Flash searchability</span> </a> <a title="SWF searchability FAQ" href="http://www.adobe.com/devnet/flashplayer/articles/swf_searchability.html" title="SWF searchability FAQ"><br />
</a> <a title="Improved Flash indexing" href="http://googlewebmastercentral.blogspot.com/2008/06/improved-flash-indexing.html" title="Improved Flash indexing"><span style="font-weight: bold;">Improved Flash indexing</span> </a> <a title="SWF searchability FAQ" href="http://www.adobe.com/devnet/flashplayer/articles/swf_searchability.html" title="SWF searchability FAQ"><br />
<span style="font-weight: bold;">SWF searchability FAQ</span> </a><br />
<a title="Once Nearly Invisible To Search Engines, Flash Files Can Now Be Found And Indexed" href="http://www.techcrunch.com/2008/06/30/once-nearly-invisible-to-search-engines-flash-files-can-now-be-found-and-indexed/" title="Once Nearly Invisible To Search Engines, Flash Files Can Now Be Found And Indexed"><span style="font-weight: bold;">Once Nearly Invisible To Search Engines, Flash Files Can Now Be Found And Indexed</span> </a><br />
<a title="Adobe enables Flash searchability" href="http://mturner.wordpress.com/2008/07/01/adobe-enables-flash-searchability/" title="Adobe enables Flash searchability"> </a> <a title="Improved Flash indexing" href="http://googlewebmastercentral.blogspot.com/2008/06/improved-flash-indexing.html" title="Improved Flash indexing"> </a> <a title="Adobe Advances Rich Media Search on the Web" href="http://www.businesswire.com/portal/site/home/permalink/?ndmViewId=news_view&amp;newsId=20080630006649&amp;newsLang=en" title="Adobe Advances Rich Media Search on the Web"><span style="font-weight: bold;">Adobe Advances Rich Media Search on the Web</span> </a><br />
<a title="Finally, Flash Becomes Truly Searchable" href="http://blog.digitalbackcountry.com/?p=1470" title="Finally, Flash Becomes Truly Searchable"><span style="font-weight: bold;">Finally, Flash Becomes Truly Searchable</span> </a><br />
<a title="SWF Searchability, the Right Way!" href="http://justin.everett-church.com/" title="SWF Searchability, the Right Way!"><span style="font-weight: bold;">SWF Searchability, the Right Way!</span> </a></p>
<p><strong>Articles you may want to look into:</strong><br />
1. <a title="Stop writing your event handlers by hand!, Use Event Generator - Adobe Flash CS3 Extension" href="http://developersnippets.com/2008/07/01/stop-writing-your-event-handlers-by-hand-use-event-generator-adobe-flash-cs3-extension/" title="Stop writing your event handlers by hand!, Use Event Generator - Adobe Flash CS3 Extension">Stop writing your event handlers by hand!, Use Event Generator - Adobe Flash CS3 Extension</a><br />
2. <a title="Simple example to demonstrate Sprite class in Flash ActionScript 3.0" href="http://developersnippets.com/2008/06/27/simple-example-to-demonstrate-sprite-class-in-flash-actionscript-30/" title="Simple example to demonstrate Sprite class in Flash ActionScript 3.0">Simple example to demonstrate Sprite class in Flash ActionScript 3.0</a><br />
3. <a title="Sothink SWF Decompiler for Mac supports Flash CS3 (9.0) and ActionScript 3.0" href="http://developersnippets.com/2008/06/26/sothink-swf-decompiler-for-mac-supports-flash-cs3-90-and-actionscript-30/" title="Sothink SWF Decompiler for Mac supports Flash CS3 (9.0) and ActionScript 3.0">Sothink SWF Decompiler for Mac supports Flash CS3 (9.0) and ActionScript 3.0</a><br />
4. <a title="Binding XML Data using XMLConnector (Flash Application)" href="http://developersnippets.com/2007/08/11/binding-xml-data-using-xmlconnector-flash-application/" title="Binding XML Data using XMLConnector (Flash Application)">Binding XML Data using XMLConnector (Flash Application)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/07/02/flash-files-swf-now-search-engine-friendly-adobecom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stop writing your event handlers by hand!, Use Event Generator - Adobe Flash CS3 Extension</title>
		<link>http://developersnippets.com/2008/07/01/stop-writing-your-event-handlers-by-hand-use-event-generator-adobe-flash-cs3-extension/</link>
		<comments>http://developersnippets.com/2008/07/01/stop-writing-your-event-handlers-by-hand-use-event-generator-adobe-flash-cs3-extension/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 04:40:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Adobe Flash]]></category>

		<category><![CDATA[Flash CS3]]></category>

		<guid isPermaLink="false">http://developersnippets.com/2008/07/01/stop-writing-your-event-handlers-by-hand-use-event-generator-adobe-flash-cs3-extension/</guid>
		<description><![CDATA[Lee from www.theflashblog.com has introduced one Flash CS3 extension called Event Generator . This simple extension will save you lots of time when it comes to writing event handler code for your MovieClips that are out on the stage. The workflow couldn&#8217;t be any easier.  Just you need to simply select the MovieClip on [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Lee</strong> from <a title="theflashblog.com" href="http://www.theflashblog.com" title="theflashblog.com">www.theflashblog.com</a> has introduced one Flash CS3 extension called <strong>Event Generator</strong> . This simple extension will save you lots of time when it comes to writing event handler code for your MovieClips that are out on the stage. The workflow couldn&#8217;t be any easier. <span id="more-204"></span> Just you need to simply select the <strong>MovieClip</strong> on the stage and then check off the events that you want to generate in the panel. You can then copy the entire code block to the clipboard for easy insertion into the Actions panel.</p>
<p>Just download and install the Event Generator extension, then restart Flash this will be automatically will embed in the Window menu option in Flash CS3. After restarting Flash, choose <strong><em>Event Generator</em> </strong> from the Window &gt; Other Panels menu.</p>
<p><img src="http://developersnippets.com/wp-content/uploads/2008/07/window_eventgenerator.jpg" alt="Event Generator" /></p>
<p><img src="http://developersnippets.com/wp-content/uploads/2008/07/eventgeneratorpanel.jpg" alt="Event Generator Panel" /></p>
<p>Here is the download link - <a title="Event Generator" href="http://theflashblog.com/files/EventGenerator.mxp" title="Event Generator">Event Generator</a></p>
<p><strong>Related Articles:</strong></p>
<p><strong></strong> <a title="Simple example to demonstrate Sprite class in Flash ActionScript 3.0 " href="http://developersnippets.com/2008/06/27/simple-example-to-demonstrate-sprite-class-in-flash-actionscript-30/" title="Simple example to demonstrate Sprite class in Flash ActionScript 3.0 ">Simple example to demonstrate Sprite class in Flash ActionScript 3.0</a><br />
<a title="Sothink SWF Decompiler for Mac supports Flash CS3 (9.0) and ActionScript 3.0" href="http://developersnippets.com/2008/06/26/sothink-swf-decompiler-for-mac-supports-flash-cs3-90-and-actionscript-30/" title="Sothink SWF Decompiler for Mac supports Flash CS3 (9.0) and ActionScript 3.0">Sothink SWF Decompiler for Mac supports Flash CS3 (9.0) and ActionScript 3.0</a><br />
<a title="Binding XML Data using XMLConnector (Flash Application)" href="http://developersnippets.com/2007/08/11/binding-xml-data-using-xmlconnector-flash-application/" title="Binding XML Data using XMLConnector (Flash Application)"> Binding XML Data using XMLConnector (Flash Application)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/07/01/stop-writing-your-event-handlers-by-hand-use-event-generator-adobe-flash-cs3-extension/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple example to demonstrate Sprite class in Flash ActionScript 3.0</title>
		<link>http://developersnippets.com/2008/06/27/simple-example-to-demonstrate-sprite-class-in-flash-actionscript-30/</link>
		<comments>http://developersnippets.com/2008/06/27/simple-example-to-demonstrate-sprite-class-in-flash-actionscript-30/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 10:27:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[ActionScript 3]]></category>

		<category><![CDATA[Adobe Flash CS3]]></category>

		<category><![CDATA[Flash CS3]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=199</guid>
		<description><![CDATA[The Sprite class is new in ActionScript 3.0, This class is a basic display list building block, which can display graphics and can also contain childrens. Depending on the Sprite class we can create a Sprite object, this Sprite object is similar to a movie clip, but does not have a timeline. This is an [...]]]></description>
			<content:encoded><![CDATA[<p>The <strong>Sprite</strong> class is new in ActionScript 3.0, This class is a basic display list building block, which can display graphics and can also contain childrens. Depending on the Sprite class we can create a Sprite object, this Sprite object is similar to a movie clip, but does not have a timeline. This is an appropriate base class for objects that do not require timelines.<span id="more-199"></span></p>
<p>To demonstrate the same, here in this article I am posting one simple application which makes use of <strong>Sprite </strong> class.</p>
<p><strong>Flash Application:</strong> In the first frame, press F9 to open up ActionScript editor window, Copy and paste the code and save it as <strong>rotateRectObj.fla</strong></p>
<p><strong>Respective Code:</strong></p>
<pre style="border: 3px solid #959595; padding: 5px; overflow: auto; background-color: #f3f3f3; line-height: normal; color: #666666; font-size: 12px; width: 445px;">//Creating an object rectangle of type Sprite
var rectangle:Sprite = new Sprite();
rectangle.graphics.lineStyle(0,0x7B7B7B); //lineStyle(thickness, color)
rectangle.graphics.beginFill(0xA6A6A6); //beginFill(color)
rectangle.graphics.drawRect(0,0,60,60); //drawRect(x,y,width,height)
rectangle.graphics.endFill(); //endfill

var dot:Shape = new Shape(); //dot is a Shape Object
dot.graphics.lineStyle(0,0xFF0000); //lineStyle(thickness, color)
dot.graphics.beginFill(0xFF0000); //beginFill(color)
dot.graphics.drawCircle(0,0,2); //drawCircle(x,y,radius)
dot.graphics.endFill(); //endfill

rectangle.addChild(dot); //add the dot object to the Rectangle
dot.x = 1; //x position -&gt; 1
dot.y = 1; //y positin -&gt; 1

this.addChild(rectangle); //adding a rectangle to the stage
rectangle.x = 200; //x position -&gt; 200
rectangle.y = 200; //y position -&gt; 200

/*
adding an EventListener to the stage, and here we are calling 'rotateRectObject'
function on when ENTER_FRAME is fired.
*/
stage.addEventListener(Event.ENTER_FRAME, rotateRectObject);
function rotateRectObject(evt:Event):void {
//rotation is a property to rotate the respective object
rectangle.rotation+=10;
}</pre>
<p>Once done with the saving of the file, then click <strong>ctrl+Enter</strong> to preview the same.</p>
<p><strong>Explanation of the Code:</strong><br />
My requirement in this application is to rotate an Rectangle Object clock wise. For this I have created an <strong>Sprite</strong> object named &#8216;rectangle&#8217; and to this object I have added some additional graphics like &#8216;lineStyle&#8217;, beginFill, drawRect, endFill</p>
<p><strong>Methods and Properties used in this example:</strong></p>
<ol>
<li><strong><code>linestyle()</code> </strong> is a method, Which specifies a line style like <strong>thickness</strong> , <strong>color</strong> for the  object. In our example we have written like this:rectangle.graphics.lineStyle(0,0&#215;7B7B7B); // Here 0 is the thickness and 0&#215;7B7B7B is the color, I have choosen my own colorActual Syntax for <strong>lineStyle</strong> is:
<pre style="border: 3px solid #959595; padding: 5px; overflow: auto; background-color: #f3f3f3; line-height: normal; color: #666666; font-size: 12px; width: 410px;">public function lineStyle(thickness:Number, color:uint = 0,  alpha:Number = 1.0, pixelHinting:Boolean = false, scaleMode:String =  "normal", caps:String = null, joints:String = null, miterLimit:Number =  3):void</pre>
</li>
<li><strong><code>beginFill()</code> </strong> is a method, which Specifies a simple one-color fill, Flash Player does not render the fill until the <strong>endFill</strong> method  is called.Actual Syntax for <strong>beginFill</strong> is:
<pre style="border: 3px solid #959595; padding: 5px; overflow: auto; background-color: #f3f3f3; line-height: normal; color: #666666; font-size: 12px; width: 410px;">public function beginFill(color:uint, alpha:Number = 1.0):void</pre>
</li>
<li><strong><code>drawRect()</code> </strong> is a method, which draws a rectangle. We must set the line style, fill, or both before you call the  <code>drawRect()</code> method, by calling the <code>linestyle()</code> , <code>beginFill()</code> method.Actual Syntax for <strong>drawRect</strong> is:
<pre style="border: 3px solid #959595; padding: 5px; overflow: auto; background-color: #f3f3f3; line-height: normal; color: #666666; font-size: 12px; width: 410px;">public function drawRect(x:Number, y:Number, width:Number, height:Number):void</pre>
</li>
<li><strong><code>addChild()</code> </strong> is a method, which adds a child DisplayObject instance to this DisplayObjectContainer instance.Actual Syntax for <strong>addChild</strong> is:
<pre style="border: 3px solid #959595; padding: 5px; overflow: auto; background-color: #f3f3f3; line-height: normal; color: #666666; font-size: 12px; width: 410px;">public function addChild(child:DisplayObject):DisplayObject</pre>
</li>
<li><strong><code>addEventListener()</code> </strong> is a method, which adds respective event to the object. Like <strong>Event.ENTER_FRAME</strong>, <strong>MouseEvent.CLICK</strong> etc., and when event has fired call a respective function, like in this example I am calling rotateRectObject function.</li>
<li><strong>rotation</strong> is a property, which indicates the rotation of the target object. Here the target object is &#8216;rectangle&#8217;.</li>
</ol>
<p><strong>Output:</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="rotateRectObj" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="src" value="http://developersnippets.com/FlashExamples/FlashCS3/rotateRectObj.swf" /><embed id="rotateRectObj" type="application/x-shockwave-flash" width="400" height="300" src="http://developersnippets.com/FlashExamples/FlashCS3/rotateRectObj.swf" bgcolor="#ffffff" quality="high" allowfullscreen="false" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/06/27/simple-example-to-demonstrate-sprite-class-in-flash-actionscript-30/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
