<?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>art,website and SEO &#187; Flash</title>
	<atom:link href="http://artfantasy.revivalx.com/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://artfantasy.revivalx.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 Dec 2009 22:21:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Some optimizing tips to take away</title>
		<link>http://artfantasy.revivalx.com/2009/12/26/some-optimizing-tips-to-take-away/</link>
		<comments>http://artfantasy.revivalx.com/2009/12/26/some-optimizing-tips-to-take-away/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 20:08:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=492</guid>
		<description><![CDATA[As you can see, creating an animated optimized banner is not only about animating skills, but mostly about custom tricks for optimizing without damaging the original pieces.
Throughout the whole process we saw that one of the most important things when creating an animated banner is not only that you are skilled as a animator / [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">As you can see, creating an animated optimized banner is not only about animating skills, but mostly about custom tricks for optimizing without damaging the original pieces.</p>
<p style="text-align: justify;">Throughout the whole process we saw that one of the most important things when creating an animated banner is not only that you are skilled as a animator / programmer, but also that you or someone in your team is skilled when reducing file sizes to fit the specs that the publishers will give you before making the pieces . These are some tips that may be useful for you in the future, to reduce file sizes without damaging the banners too much:<span id="more-492"></span></p>
<ol style="text-align: justify;">
<li>Plan the banner and its idea, being aware of the size you have available , maybe there will be some rich media banners in which you’ll do all you wanted to.</li>
<li>Use <strong>Size </strong>report from <strong>Flash Publish </strong>settings as one of your main tools, checking which frame is loading the most of the file size and if something needs to be redistributed .</li>
<li>It’s easier to do a rough full version and then optimize it than creating everything optimized from the very beginning . The same for <strong>image </strong>sequences. Make them full and then remove frames as needed.</li>
<li>Regarding text, if it is not very large you can write it in <strong>Flash </strong>and then break it into shapes, but if there’s a lot of text you should create it in <strong>JPEG </strong>or <strong>GIF </strong>format.</li>
<li>If the banner has audio features , try export them as mono on a higher quality, as long as the sound isn’t completely messed up.</li>
<li>Try avoid <strong>PNG </strong>or formats including transparency when using bitmaps (for either texts or other <strong>images</strong>). You can use formats using a white or black background and then play with the blending mode available in <strong>Flash </strong>to make it disappear.</li>
<li>As the solution , and also if everything else failed or wasn’t enough, try to remove some time from the timelines of your <strong>Flash </strong>movies.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/12/26/some-optimizing-tips-to-take-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pro Flash Techniques(part5)</title>
		<link>http://artfantasy.revivalx.com/2009/12/15/pro-flash-techniquespart5/</link>
		<comments>http://artfantasy.revivalx.com/2009/12/15/pro-flash-techniquespart5/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 21:33:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[keyframe]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=453</guid>
		<description><![CDATA[
Conditional Compilation
You can create one flash file and compile it many times with different behaviors by using conditional compilation. Basically it allows you to turn on and off blocks of ActionScript when you publish so you can use the one base file for many purposes.
To set up a config constant go to Publish Settings, choose [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img class="aligncenter size-full wp-image-394" title="Adobe Flash 9" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/11/Adobe-Flash-9.png" alt="Adobe Flash 9" width="128" height="128" /></p>
<p style="text-align: justify;"><strong>Conditional Compilation</strong></p>
<p style="text-align: justify;">You can create one <strong>flash </strong>file and compile it many times with different behaviors by using conditional compilation. Basically it allows you to turn on and off blocks of <strong>ActionScript </strong>when you publish so you can use the one base file for many purposes.</p>
<p style="text-align: justify;">To set up a config constant go to <strong>Publish </strong>Settings, choose the <strong>Flash </strong>tab, select <strong>ActionScript 3.0</strong> and then click the settings button.  Then choose the <strong>Config  Constants </strong>tab.</p>
<p style="text-align: justify;">Here you can add or remove constants , eg add one and call it <strong>&#8216;CONFIG::ONLINE</strong>”. Set its value to true. Add another called ‘<strong>CONFIG::LOCAL</strong>’ and set its value to false.</p>
<p style="text-align: justify;">Then in your <strong>ActionScript </strong>you can wrap any code inside<strong> CONFIG::ONLINE{}</strong> or <strong>CONFIG::LOCAL{}</strong>. For example in the online version you might have a link on a local file.</p>
<p style="text-align: justify;">If you publish the file it will include the code inside the <strong>ONLINE </strong>config tags. If you change the values in the <strong>Publish </strong>settings it will publish the code inside the <strong>LOCAL</strong> config tags.<span id="more-453"></span></p>
<p style="text-align: justify;"><strong>Performance optimization</strong></p>
<p style="text-align: justify;">The tips below relate to heavy duty <strong>Flash </strong>work- and will help you optimize your applications/website to give the best performance.</p>
<p style="text-align: justify;"><strong>Ints an uints:</strong></p>
<p style="text-align: justify;">As a rule of thumbs, the type ‘<strong>int</strong>’ is much faster than ‘<strong>uint</strong>’. Use this, for example, when doing loops or using the <strong>while()</strong> function.</p>
<p style="text-align: justify;"><strong>Increment:</strong></p>
<p style="text-align: justify;">The fastest way to do math increment is by using the method i+1= instead of, example i++</p>
<p style="text-align: justify;">Meaning that:</p>
<p style="text-align: justify;">I+=1;</p>
<p style="text-align: justify;">Is faster than:</p>
<p style="text-align: justify;">I++;</p>
<p style="text-align: justify;">Loops:</p>
<p style="text-align: justify;">In for loops , remember to use ‘<strong>int</strong>’ – and to pre-calculate any calculations inside the for loop including the calculations inside the first parentheses “for(..)”:</p>
<p style="text-align: justify;">var lengthOfArray: int currentArray.length;</p>
<p style="text-align: justify;">for ( var i:int=0; i&lt;lengthOfArray;i+=1) {}</p>
<p style="text-align: justify;"><strong>Smoother video scrubbers</strong></p>
<p style="text-align: justify;">You may know that when compressing a <strong>video</strong>, the <strong>video </strong>gets cut up in <strong>keyframes </strong>every xth frame. From this <strong>keyframe </strong>onto the next, the frames in between are calculated only by the change in pixels. The <strong>Stream Class</strong>’s <strong>seek()</strong> method in <strong>AS3 </strong>can only seek to theses <strong>keyframes</strong>.</p>
<p style="text-align: justify;">In default, <strong>keyframe </strong>for<strong> FLV/F4V</strong> <strong>video </strong>are set every the thirtieth frame. Fine for long <strong>videos</strong>, but take a <strong>video </strong>that is 20 seconds long at 30fps. With the default encoding settings there will be only 20 <strong>keyframes </strong>generated that the <strong>seek()</strong> method can display. So when you release the scrubber in between these frames the scrubber will jump to the next <strong>keyframe</strong>. When utilizing a 600px wide scrubber, the jumps can be up to 30px( 600px /20keyframes=30px per keyframe). This jumpiness can be avoided by setting the <strong>keyframe </strong>distance for instance to every fifth frame.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-454" title="Adobe Flash CS4 Professional Classroom in a Book" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/12/Adobe-Flash-CS4-Professional-Classroom-in-a-Book.jpg" alt="Adobe Flash CS4 Professional Classroom in a Book" width="129" height="160" /></p>
<p><a href="http://www.amazon.com/gp/product/032157382X?ie=UTF8&amp;tag=revivproje-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=032157382X">Adobe Flash CS4 Professional Classroom in a Book</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=revivproje-20&amp;l=as2&amp;o=1&amp;a=032157382X" border="0" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/12/15/pro-flash-techniquespart5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pro Flash Techniques(part4)</title>
		<link>http://artfantasy.revivalx.com/2009/12/02/pro-flash-techniquespart4/</link>
		<comments>http://artfantasy.revivalx.com/2009/12/02/pro-flash-techniquespart4/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 21:50:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=434</guid>
		<description><![CDATA[
addTarget
If you want to animate a number of Movie Clip on the stage using the same animation and effects, a great way to do it is to use addTarget.

Add a few Movie Clips to the stage and the name their instances eg ‘clip2’ ,’ clip3’ etc.
Animate one of them on the timeline adding effects, filters, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img class="aligncenter size-full wp-image-394" title="Adobe Flash 9" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/11/Adobe-Flash-9.png" alt="Adobe Flash 9" width="128" height="128" /></p>
<p style="text-align: justify;"><strong>addTarget</strong></p>
<p style="text-align: justify;">If you want to animate a number of <strong>Movie Clip</strong> on the stage using the same animation and effects, a great way to do it is to use <strong>addTarget</strong>.</p>
<ul style="text-align: justify;">
<li>Add a few<strong> Movie Clips</strong> to the stage and the name their instances eg ‘clip2’ ,’ clip3’ etc.</li>
<li>Animate one of them on the timeline adding effects, filters, easing etc.</li>
<li>Select the animation and name its instance in the properties panel eg ‘myTween’.</li>
<li>Add this line of <strong>ActionScript </strong>for every <strong>Movie Clip</strong> you want animated:
<ul>
<li>myTween.addTarget(clip2);</li>
<li>myTween.addTarget(clip2);<span id="more-434"></span></li>
</ul>
</li>
</ul>
<p style="text-align: justify;">The nice thing about this is that you can continue to edit the animation of <strong>myTween </strong>and all the other clips will automatically adopt the changes.</p>
<p style="text-align: justify;">Check out <strong>addTarget </strong>in the<strong> ActionScript 3.0 Reference Library</strong> for even more options.</p>
<p style="text-align: justify;"><strong>Before-After (masked picture viewer)</strong></p>
<p style="text-align: justify;">Create a new <strong>Flash </strong>File (Action Script 2.0) in <strong>Flash </strong>program, set frame rate of the movie to 36fps and save it under your own project name. Import images, that you have previously edited with image editing software (cut two images on exact same size, and save them in .jpg or .png image format).</p>
<p style="text-align: justify;"><strong>This is some resources for beloved visitors.</strong></p>
<p style="text-align: justify;"><strong>Google</strong>(<a href="http://www.google.com/">www.google.com</a> ) is a great resources for information. Plus <strong>Papervision 3D</strong>, the library that allows users to work with <strong>3D </strong>models in <strong>Flash</strong>.</p>
<p style="text-align: justify;">A resource that accompanies the tip ‘How to make a class or package import optional at compile time’ can be found via the <strong>Adobe LiveDocs</strong> website. A more in depth look at the techniques can be found at <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_21.html">http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_21.html</a> .</p>
<p style="text-align: justify;">Essential<strong> ActionScript 3.0</strong> from O’Reilly (<a href="http://orielly.com/">http://orielly.com</a> ), is part of the <strong>Adobe developer Library</strong> series. It focuses on the new features and functionality of <strong>ActionScript 3.0</strong>. Plus, there is some coverage of the <strong>Flash Player API</strong> and changes between the two and three.</p>
<p style="text-align: justify;"><strong>NWP </strong>(<a href="http://www.newwebpick.com/">www.newwebpick.com</a> ) is a website that is a global community platform for the creative industry. It is a place for creative professionals to show off their creative works and to share their inspiration and range of originality.</p>
<p style="text-align: justify;"><strong>Thunderbolt</strong>.</p>
<p style="text-align: justify;">It is really useful little tool that enables you to log information from your app to the firebug console in <strong>Firefox</strong>. Excellent for testing, debugging and refining apps. Just throw the <strong>SWC </strong>into your library folder and log anything-you can even log errors and see the <strong>Firebug </strong>error indicator come up. If you are testing a debug mode <strong>SWF </strong>it will give you the class paths and line numbers the logs originate from. Once imported, all that’s needed to log to the console is Logger.info( “ Some info”), Logger, warn, (“Some warning”) or to distinguish an error Logger. Error (“Some error message”).</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-437" title="ActionScript 3.0 in Flex Builder Essential Training" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/12/ActionScript-3.0-in-Flex-Builder-Essential-Training.jpg" alt="ActionScript 3.0 in Flex Builder Essential Training" width="111" height="160" /></p>
<p><a href="http://www.amazon.com/gp/product/1596712627?ie=UTF8&amp;tag=revivproje-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1596712627">ActionScript 3.0 in Flex Builder Essential Training</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=revivproje-20&amp;l=as2&amp;o=1&amp;a=1596712627" border="0" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/12/02/pro-flash-techniquespart4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding Flash</title>
		<link>http://artfantasy.revivalx.com/2009/11/21/adding-flash/</link>
		<comments>http://artfantasy.revivalx.com/2009/11/21/adding-flash/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 21:03:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[swf]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=393</guid>
		<description><![CDATA[
There are two ways to add Flash files ( or more correctly, SWF files) to your HTML pages. Firstly, the flash application itself has plenty of Export options, and these are probably the best place to start. The second method allows you to place to start. The code directly into your HTML page. This method [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img class="aligncenter size-full wp-image-397" title="Adobe Flash 9" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/11/Adobe-Flash-91.png" alt="Adobe Flash 9" width="128" height="128" /></p>
<p style="text-align: justify;">There are two ways to add <strong>Flash </strong>files ( or more correctly, <strong>SWF </strong>files) to your <strong>HTML </strong>pages. Firstly, the <strong>flash</strong> application itself has plenty of <strong>Export </strong>options, and these are probably the best place to start. The second method allows you to place to start. The code directly into your <strong>HTML </strong>page. This method is probably more flexible and is suitable for most applications.<span id="more-393"></span></p>
<p style="text-align: justify;">The <strong>Export </strong>techniques do have some advantages , especially for the newcomer. But this technique covers virtually all eventualities and has some advantages of its own. Not at least of these is that it uses a very small amount of standards-complaint code, and requires no browser scripting . It’s also very easy to understand and is great for placing a <strong>Flash</strong> file just where you want it.</p>
<p style="text-align: justify;">Rather than <strong>Export </strong>the <strong>SWF </strong>from <strong>Flash</strong>, you will simply select <strong>Test Movie</strong> from the control menu. This creates a file with the same name as your <strong>Flash </strong>file, but the <strong>.swf</strong> suffix. Copy this file to the “images” directory of your site.</p>
<p style="text-align: justify;">Next, you’ll need the code. Type this into your <strong>HTML </strong>page:</p>
<p style="text-align: justify;">&lt;object type=”application/x-shockwave-flash”</p>
<p style="text-align: justify;">Data=”images/portfolio.swf” width=”640” height=”480”&gt;</p>
<p style="text-align: justify;">&lt;param name =”movie” value=”images/portfolio.swf”/&gt;</p>
<p style="text-align: justify;">&lt;img src=”portfolio.jpg” width=”640” height=”480” alt=”Sorry, you can’t view my Flash portfolio.”/&gt;</p>
<p style="text-align: justify;">&lt;/object&gt;</p>
<p style="text-align: justify;">Within that block of code you should be able to easily spot the parts you are likely to need to edit, including the name of the <strong>SWF </strong>as well as it’s pixel dimensions. If you followed the steps to create a simple <strong>Flash </strong>portfolio then the chances are your <strong>HTML </strong>will work without any alterations.</p>
<p style="text-align: justify;">As well as embedding the <strong>Flash </strong>file, the code also includes a regular &lt;img&gt; <strong>tag </strong>within the &lt;object&gt; <strong>tag</strong>. You need to create a <strong>JPEG </strong>or <strong>GIF </strong>image that will be displayed in the event that the user doesn’t have the <strong>Flash </strong>plug –in installed. This would normally be a representative still image from the movie.</p>
<p style="text-align: justify;">Finally, edit the alt text for the &lt;img&gt; <strong>tag</strong>. This is an accessibility requirement to accommodate users who can’t see the replacement image. Don’t forget, this includes <strong>search engines</strong> such as <strong>Google</strong>, so make sure the text you enter is good description of the content of the image and the <strong>Flash </strong>file.</p>
<h2 style="text-align: justify;"><strong>Exporting Flash</strong></h2>
<p style="text-align: justify;">Explore <strong>Flash</strong>’s <strong>Edit </strong>menu and you’ll see the <strong>Publish Settings</strong> option . Select this, and in the <strong>Formats </strong>tab choose <strong>Flash </strong>and <strong>HTML</strong>. This will output an <strong>HTML </strong>page with the code in place to import your movie.</p>
<p style="text-align: justify;">The <strong>Flash </strong>tab contains options for compression settings and <strong>Audio </strong>quality. Leave these at the defaults, or experiment with them-especially if you need to get the file size down.</p>
<p style="text-align: justify;">The <strong>HTML </strong>tab is the most pertinent one for our purposes, and also the most complicated! Luckily , the Template options come with some descriptions next to the selector. It’s good idea to use one of the detection methods on offer, as these will handle those (few) users who do not have the <strong>Flash </strong>plug-in installed.</p>
<p style="text-align: justify;">Sometimes, of course, you might just want to have the <strong>Flash </strong>file appear as a small part of an existing web page. In that case, you should be able to use the appropriate <strong>Export </strong>option, then simply copy the <strong>Flash</strong>- related code from the page <strong>Flash </strong>has created, and paste it into your existing <strong>HTML </strong>page. Alternatively, see the method of embedding <strong>Flash</strong> in the adding <strong>Flash </strong>to pages manually technique.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-401" title="Adobe Flash CS3 Professional Classroom in a Book" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/11/Adobe-Flash-CS3-Professional-Classroom-in-a-Book.jpg" alt="Adobe Flash CS3 Professional Classroom in a Book" width="129" height="160" /></p>
<p><a href="http://www.amazon.com/gp/product/0321499824?ie=UTF8&amp;tag=revivproje-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0321499824">Adobe Flash CS3 Professional Classroom in a Book</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=revivproje-20&amp;l=as2&amp;o=1&amp;a=0321499824" border="0" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/11/21/adding-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advanced web design/Flash</title>
		<link>http://artfantasy.revivalx.com/2009/11/18/advanced-web-designflash/</link>
		<comments>http://artfantasy.revivalx.com/2009/11/18/advanced-web-designflash/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:44:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[plug-in]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=377</guid>
		<description><![CDATA[
Spice up your website with some of these more advanced techniques and simple tips more professional, better looking, more engaging and more fun.
Now is about flash topic. Some 96 percent of browsers are able to display some form of Flash content. However, the latest version of the plug –in is only installed on 25-40 percent [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img class="aligncenter size-full wp-image-378" title="flash_cs3_logo" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/11/flash_cs3_logo.jpg" alt="flash_cs3_logo" width="160" height="160" /></p>
<p style="text-align: justify;">Spice up your <strong>website </strong>with some of these more advanced techniques and simple tips more professional, better looking, more engaging and more fun.</p>
<p style="text-align: justify;">Now is about <strong>flash </strong>topic. Some 96 percent of <strong>browsers </strong>are able to display some form of <strong>Flash </strong>content. However, the latest version of the <strong>plug –in</strong> is only installed on 25-40 percent of <strong>browsers</strong>,. Bear this in mind when deciding which version to output, and opt for older versions where your content allows.<span id="more-377"></span></p>
<p style="text-align: justify;">Besides that, checking for the <strong>Flash plug-in</strong>. When you export your <strong>Flash </strong>movie you can opt to check that the user has the appropriate plug-in. This creates a <strong>JavaScript </strong>to check the user’s <strong>browser</strong>, and if they not have the correct version they can be offered alternative content such as a static <strong>JPEG</strong>.</p>
<p style="text-align: justify;">But not everyone has <strong>Flash</strong>. While the majority of web <strong>browsers </strong>do have the <strong>Flash plug-in</strong> installed, there are still of people who don’t use it. With current estimates of internet user numbers topping 800 million worldwide , even a small percentage without <strong>Flash </strong>adds up to many millions of users.</p>
<p style="text-align: justify;">Embedding small <strong>Flash </strong>objects. <strong>Flash </strong>doesn’t have to comprise your entire website. You can use small <strong>Flash </strong>objects to accomplish specific tasks, such as adding an animated menu, a banner advert , or simply to add some eye-candy.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-384" title="Adobe Flash CS4 Professional Classroom in a Book" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/11/Adobe-Flash-CS4-Professional-Classroom-in-a-Book.jpg" alt="Adobe Flash CS4 Professional Classroom in a Book" width="129" height="160" /></p>
<p><a href="http://www.amazon.com/gp/product/032157382X?ie=UTF8&amp;tag=revivproje-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=032157382X">Adobe Flash CS4 Professional Classroom in a Book</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=revivproje-20&amp;l=as2&amp;o=1&amp;a=032157382X" border="0" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/11/18/advanced-web-designflash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cavedudez Teaser WD</title>
		<link>http://artfantasy.revivalx.com/2009/11/13/cavedudez-teaser-wd/</link>
		<comments>http://artfantasy.revivalx.com/2009/11/13/cavedudez-teaser-wd/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 22:28:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=368</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/SVZgDZoMBFQ&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/SVZgDZoMBFQ&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/11/13/cavedudez-teaser-wd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pro Flash Techniques(part3)</title>
		<link>http://artfantasy.revivalx.com/2009/11/10/pro-flash-techniquespart3/</link>
		<comments>http://artfantasy.revivalx.com/2009/11/10/pro-flash-techniquespart3/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 18:32:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=355</guid>
		<description><![CDATA[Improving perceived load performance
A problem that effects Flash to this day is load performance . Most times, an HTML page and it’s content is downloaded and displayed before a Flash piece has finished downloading, leaving a blank white space in your page. The following techniques “fakes” the initial frame of a Flash piece with a [...]]]></description>
			<content:encoded><![CDATA[<h3 style="text-align: justify;">Improving perceived load performance</h3>
<p style="text-align: justify;">A problem that effects <strong>Flash </strong>to this day is load performance . Most times, an <strong>HTML </strong>page and it’s content is downloaded and displayed before a <strong>Flash </strong>piece has finished downloading, leaving a blank white space in your page. The following techniques “fakes” the initial frame of a <strong>Flash </strong>piece with a bit <strong>HTML/CSS</strong> . The actual <strong>Flash </strong>piece is hidden outside of the web <strong>browser</strong>’s viewport while downloading its assets. When ready for display, the <strong>Flash </strong>piece can call a bit of <strong>JavaScript</strong>, using <strong>Flash Player</strong>’s <strong>External Interface </strong>to display  the piece. We use this technique to improve perceived performance when loading our <strong>Flash </strong>media pod at <a href="www.kontain.com">www.kontain.com</a><span id="more-355"></span></p>
<p style="text-align: justify;">Resources:</p>
<p style="text-align: justify;">This particular implementation  uses the excellent<strong> SWF Object </strong>library to load and embed our <strong>Flash </strong>piece. <strong>SWF Object</strong> is available at <a href="http://www.deconcept.com/">www.deconcept.com</a> .</p>
<p style="text-align: justify;">The <strong>HTML </strong>and the full code can be found on <a href="http://www.webdesignermag.co.uk/">www.webdesignermag.co.uk</a></p>
<p style="text-align: justify;"><span style="color: #ff0000;">&lt;html&gt;</span></p>
<p style="text-align: justify;"><span style="color: #ff0000;"> &lt;head&gt;</span></p>
<p style="text-align: justify;"><span style="color: #ff0000;"> &lt;script type=”type/javascript” src=”swfobject.js”&gt;&lt;/script&gt;</span></p>
<p style="text-align: justify;"><span style="color: #ff0000;"> &lt;script type=”type/javascript”&gt;</span></p>
<p style="text-align: justify;">The <strong>CSS</strong>(<strong>CSS </strong>code goes here)</p>
<p style="text-align: justify;">The <strong>JavaScript</strong>(<strong>JavaScript </strong>code goes here)</p>
<p style="text-align: justify;"><strong>Flash </strong>and <strong>ActionScript</strong>: Frame 1</p>
<p style="text-align: justify;">Place “placeholderImage.png” on the stage in the first frame.</p>
<p style="text-align: justify;"><strong>Flash </strong>and <strong>ActionScript</strong>: Frame 2 and beyond</p>
<p style="text-align: justify;">By this time, the first frame has been downloaded and is ready for display. Call the “showFlash” <strong>JavaScript </strong>function from the second frame.</p>
<p style="text-align: justify;"><span style="color: #ff0000;">Import flash.externalExternalInterface;</span></p>
<p style="text-align: justify;"><span style="color: #ff0000;">…</span></p>
<p style="text-align: justify;"><span style="color: #ff0000;"> ExternalInterface.call(“showFlash”);</span></p>
<p style="text-align: justify;"><strong> </strong></p>
<p style="text-align: justify;"><strong> </strong></p>
<p style="text-align: justify;"><strong> </strong></p>
<p style="text-align: justify;"><strong> </strong></p>
<h3 style="text-align: justify;"><span style="color: #000000;">Dynamic font</span></h3>
<p style="text-align: justify;">A key area of any style of website is its <strong>font </strong>headers and other copy elements. Although <strong>Flash </strong>includes features to embed entire fonts in your library, a little <strong>ActionScript 3.0</strong> allows you to select only characters that will be used in your project. This may not be a big deal with smaller <strong>fonts </strong>but can slow up the loading process if the <strong>font </strong>contains multiple languages and special graphic characters. Runtime type allows fonts to load only when needed. Characters must be converted to Unicode (example,”A” becomes “U+0041”).</p>
<h3 style="text-align: justify;"><span style="color: #000000;">Int, uint Number</span></h3>
<p style="text-align: justify;">Typing in general boosts the speed of <strong>AS3 </strong>code. When it comes to numerical variable types in <strong>Flash</strong>, the platform shows some unexpected behavior.</p>
<p style="text-align: justify;">Most developers commonly believe that appropriate use of the “new”(in <strong>AS3</strong>) int, uint data types will result more optimized code therefore better performance . With other languages this is generally right in practice as well, but it is different with <strong>AS3</strong>.</p>
<p style="text-align: justify;">In reality unit types perform quite slow and they show quite a fluctuation in each case. Surprisingly , Number types execute quite fast, only a slightly slower than int.</p>
<p style="text-align: justify;">Avoiding uint types everywhere you can, appropriate use of int types and Number types will result better performance in reality.</p>
<p style="text-align: justify;">Ref: <a href="http://www.gskinner.com/blog/archives/2006/06/types_in_as3_in.html">http://www.gskinner.com/blog/archives/2006/06/types_in_as3_in.html</a></p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-361" title="Learning ActionScript 3.0_A Beginner's Guide" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/11/Learning-ActionScript-3.0_A-Beginners-Guide.jpg" alt="Learning ActionScript 3.0_A Beginner's Guide" width="131" height="160" /></p>
<p><a href="http://www.amazon.com/gp/product/059652787X?ie=UTF8&amp;tag=revivproje-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=059652787X">Learning ActionScript 3.0: A Beginner&#8217;s Guide</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=revivproje-20&amp;l=as2&amp;o=1&amp;a=059652787X" border="0" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/11/10/pro-flash-techniquespart3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pro Flash Techniques(part2)</title>
		<link>http://artfantasy.revivalx.com/2009/11/05/pro-flash-techniquespart2/</link>
		<comments>http://artfantasy.revivalx.com/2009/11/05/pro-flash-techniquespart2/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 22:23:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[Java Script]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=343</guid>
		<description><![CDATA[How  to make a class or package import optional at compile time
Lets say you are using a package for debugging and want an easy way to turn it on and off. The idea behind it is that turning it off would also remove the import for obvious fill size reasons.
This handy solution is made possible [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>How  to make a class or package import optional at compile time</strong></p>
<p style="text-align: justify;">Lets say you are using a package for debugging and want an easy way to turn it on and off. The idea behind it is that turning it off would also remove the import for obvious fill size reasons.</p>
<p style="text-align: justify;">This handy solution is made possible constants. If you define a constants. If you define a constant, for instance CONFIG::DEBUG, to a Boolean value you can turn a block of code on and off from the compilation point of view.</p>
<p style="text-align: justify;">In <strong>Flash IDE</strong>, you can set those constants in PUBLISH SETTINGS&gt; “Settings&#8230;”&gt;”Config constants”.  For other editor you can set the <strong>flex </strong>compiler command line options as follows:<span id="more-343"></span></p>
<p style="text-align: justify;">-define=CONFIG::DEBUG,true .</p>
<p style="text-align: justify;">I have a package level function, called log(), that I use in place of trace() to output in the <strong>JavaScript </strong>console. Here is how I use the compiler constant to turn that feature on and off.</p>
<p style="text-align: justify;">public function log(…args):void</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">CONFIG::DEBUG</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">[callthe debug package and pass the arguments]</p>
<p style="text-align: justify;">When CONFIG::DEBUG is set true, the log is calling the debugging package. Otherwise, the compiler ignores the entire block. Log() turns into an empty method. All references to my debugging stuff are removed, therefore not imported.</p>
<p style="text-align: justify;">All I have to do so is change one constant and all my log() methods are disabled.</p>
<p style="text-align: justify;"><strong>Squeeze for speed</strong><strong></strong></p>
<p style="text-align: justify;">So you’ve spent all that time optimizing your assets , have you considered your data?</p>
<p style="text-align: justify;">While file compression is nothing new, here’s simple solution you may have overlooked. As sites become more complex and data driven, users expect content to download at faster and faster rates, and we often find ourselves trying to optimize our work as much as possible. One area that focused on is the way we load data into our <strong>Flash </strong>sites.</p>
<p style="text-align: justify;"><strong>XML </strong>is by far and away the ‘standard ‘ in regards to maintaining  a dynamic <strong>Flash </strong>website. We figured out that I could optimize the size of <strong>XML </strong>files being loaded into <strong>Flash </strong>by compressing them. In order to do this, we turned to <strong>GZIP</strong> compression and the ability of <strong>Flash </strong>to read binary data. Since then, we have made it a standard to incorporate  <strong>GZIP</strong> compression into my workflow when involving <strong>XML </strong>data, where the resulting compressed     <strong>XML </strong>file is 85-90 percent smaller than the uncompressed original.</p>
<p style="text-align: justify;">My process works as follows:</p>
<ol style="text-align: justify;">
<li>We choose the desired <strong>XML </strong>file      we want to compress and run it through the <strong>GZIP </strong>compressor.  The output is saved as a binary <strong>GZ </strong>file.(You can download the <strong>GZIP </strong>compressor at <a href="http://www.gzip.org/">http://www.gzip.org</a> ). Compression can be done via a manual process or an automated (for      example via a <strong>CMS</strong>).</li>
<li>In Flash, I load the.gz filevia <strong> URLLoader</strong>, making sure I set the <strong>URLLoader</strong>’s dataFormat property to      binary.</li>
<li>When loaded, we save the data      as a <strong>ByteArray </strong>,uncompress it, and reset its position property to 0;</li>
<li>Using the method <strong>readUTFBytes </strong>on the <strong>byteArray </strong>object and passing the property <strong>bytesAvailable</strong>, we      convert the loaded binary file into a String which in essence is the <strong>XML </strong>we are looking for.</li>
<li>The last step is crating my XML      object, which is created by passing my converted string into the      constructor.</li>
</ol>
<p><img class="aligncenter size-full wp-image-349" title="ActionScript 3.0 in Flash CS3 Professional Essential Training" src="http://artfantasy.revivalx.com/wp-content/uploads/2009/11/ActionScript-3.0-in-Flash-CS3-Professional-Essential-Training1.jpg" alt="ActionScript 3.0 in Flash CS3 Professional Essential Training" width="112" height="160" /></p>
<p><a href="http://www.amazon.com/gp/product/1596712627?ie=UTF8&amp;tag=revivproje-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1596712627">ActionScript 3.0 in Flex Builder Essential Training</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=revivproje-20&amp;l=as2&amp;o=1&amp;a=1596712627" border="0" alt="" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/11/05/pro-flash-techniquespart2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pro Flash Techniques(part1)</title>
		<link>http://artfantasy.revivalx.com/2009/11/02/top-50-pro-flash-techniquespart1/</link>
		<comments>http://artfantasy.revivalx.com/2009/11/02/top-50-pro-flash-techniquespart1/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 19:11:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://artfantasy.revivalx.com/?p=331</guid>
		<description><![CDATA[Animating in a circle using ActionScript 3.0

First you need to find or create an image no bigger then 150&#215;200 pixels. Import that into the library, open up your library and drag it onto the stage.
Then, if need be you can scale your image down by selecting it. Press Ctrl+Alt +S  at the same time to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Animating in a circle using ActionScript 3.0</strong></p>
<ol>
<li>First you need to find or create an image no bigger then 150&#215;200 pixels. Import that into the library, open up your library and drag it onto the stage.</li>
<li>Then, if need be you can scale your image down by selecting it. Press Ctrl+Alt +S  at the same time to scale your image down 50 percent.</li>
<li>Then click on your image and press F8 to convert it to a Movie Clip, making sure your registration point is centred . Then delete your Movie Clip from the stage.</li>
<li>Open up your library and right click on your Movie Clip and select linkage  and choose ‘Export for ActionScript ‘ and name the class “Image” with a capital”I”.</li>
<li>Now name your only layer “Action”, press F9 to open up your actions panel and copy the ActionScript that is. Then Ctrl+Enter to test your movie.<span id="more-331"></span></li>
</ol>
<p><strong>Using Code injection to write with Javascript code in your AS file.</strong></p>
<p>When playing with ExternalInterface.call(), sometimes you need to do more than just calling a function. For instance you can define a Javascript function that you’ll be using later. ??</p>
<p>This is simply done by using an XML:</p>
<p>Var initObJS:XML=</p>
<p>&lt;script&gt;</p>
<p>&lt;![CDATA[</p>
<p>Function(objlD)[</p>
<p>Try</p>
]]></content:encoded>
			<wfw:commentRss>http://artfantasy.revivalx.com/2009/11/02/top-50-pro-flash-techniquespart1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
