<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6482716536615733077</id><updated>2024-10-24T04:19:40.719-07:00</updated><category term="flash"/><title type='text'>Tutorials Flash</title><subtitle type='html'>Será postado um tutorial por dia</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tutorialsflash.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6482716536615733077/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tutorialsflash.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6482716536615733077.post-7580294578158749920</id><published>2007-08-14T19:01:00.000-07:00</published><updated>2007-08-14T19:07:24.268-07:00</updated><title type='text'>Flash Loop on Ocean animation Tutorial - Flash Wave ocean agua</title><content type='html'>&lt;h2&gt;&lt;br /&gt;  &lt;div class=&quot;lineBox&quot;&gt;Flash Loop on Ocean animation Tutorial&lt;/div&gt;&lt;br /&gt;&lt;/h2&gt;&lt;br /&gt;&lt;p class=&quot;p1&quot;&gt;&lt;p align=&quot;left&quot;&gt;&lt;br /&gt;&lt;iframe marginwidth=&quot;0&quot; marginheight=&quot;0&quot; src=&quot;http://www.webcodigos.com.br/adbanner/adpeeps.php?bfunction=showad&amp;uid=100000&amp;amp;bmode=off&amp;bzone=retangulo_big336x280&amp;amp;bsize=336x280&amp;btype=4&amp;amp;bpos=default&amp;ver=2.0&amp;amp;btarget=_blank&quot; frameborder=&quot;0&quot; width=&quot;336&quot; scrolling=&quot;no&quot; height=&quot;280&quot;&gt;&lt;br /&gt;&lt;ilayer src=&quot;http://www.webcodigos.com.br/adbanner/adpeeps.php?bfunction=showad&amp;uid=100000&amp;bmode=off&amp;bzone=retangulo_big336x280&amp;bsize=336x280&amp;btype=4&amp;bpos=default&amp;ver=2.0&amp;btarget=_blank&quot; frameborder=&quot;0&quot; width=&quot;336&quot; height=&quot;280&quot;&gt;&lt;/ilayer&gt;&lt;br /&gt;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/p&gt;&lt;span&gt; Required Flash version: MX or higher, I&amp;rsquo;ll be using flash 8.&lt;br /&gt;  Prerequisites: Masking through actionscript, motion tweening. &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  This tutorial discusses a simple yet very effective technique used mostly in animating water reflections or large water surfaces such as the ocean.&lt;br /&gt;  I will walk you through the steps of animating a picture of the ocean using simple actionscript as we&amp;rsquo;ll only use the setMask method together with a simple seamless motion tween. &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  To make you have a better understand on this tutorial, check the flash animated ocean below. This is what we are going to make by the end of this tutorial. &lt;br/&gt;&lt;br /&gt;  &lt;embed allowscriptaccess=&quot;never&quot; &lt;br /&gt;  src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/ocean-flash-loop.swf&quot; &lt;br /&gt;  align=&quot;middle&quot; menu=&quot;false&quot; quality=&quot;high&quot; bgcolor=&quot;Transparent&quot; &lt;br /&gt;  width=&quot;420&quot; height=&quot;160&quot; name=&quot;index&quot; &lt;br /&gt;  type=&quot;application/x-shockwave-flash&quot;  wmode=&quot;transparent&quot; &lt;br /&gt;  pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot;&lt;br /&gt; /&gt;&lt;/embed&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  &lt;p align=&quot;left&quot;&gt;&lt;br /&gt;&lt;iframe SRC=&quot;http://www.webcodigos.com.br/adbanner/adpeeps.php?bfunction=showad&amp;uid=100000&amp;bmode=off&amp;bzone=conteudo468x60&amp;bsize=468x60&amp;btype=4&amp;bpos=default&amp;ver=2.0&amp;btarget=_blank&quot; FRAMEBORDER=&quot;0&quot; WIDTH=&quot;468&quot; HEIGHT=&quot;60&quot; SCROLLING=&quot;no&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot;&gt;&lt;br /&gt;&lt;ilayer SRC=&quot;http://www.webcodigos.com.br/adbanner/adpeeps.php?bfunction=showad&amp;uid=100000&amp;bmode=off&amp;bzone=conteudo468x60&amp;bsize=468x60&amp;btype=4&amp;bpos=default&amp;ver=2.0&amp;btarget=_blank&quot; FRAMEBORDER=&quot;0&quot; WIDTH=&quot;468&quot; HEIGHT=&quot;60&quot;&gt;&lt;/ilayer&gt;&lt;br /&gt;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;  So fire up your flash IDE and start up a new flash movie, make it 420x260 with a white background.&lt;br /&gt;  Start by importing the picture we&amp;rsquo;ll be animating, it&amp;rsquo;s a beautiful sunset scene made with a 3D package by me (sunset.jpg). &lt;br /&gt;  You&amp;rsquo;ll have to reduce the image size by 50 percent so that it fits your stage size, in case you don&amp;rsquo;t know how to do that, here&amp;rsquo;s a quick how-to: &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Select the picture, expand your side panel and click on the Transform tab (if you don&#39;t see one, simply press CTLT + T. Check the constrain checkbox and enter 50 % in either the width or the height box and finally hit enter and there you go, your graphic is resized (figure 1). &lt;br/&gt;&lt;br /&gt;  &lt;img src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/images/transformation_tool.jpg&quot; /&gt;&lt;br/&gt;&lt;br /&gt;  Figure 1 &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Center it up so that it fills the entire visible area of the stage, select it and hit F8, you heard me right, F8 that is convert it to a library symbol, we&amp;rsquo;ll choose a movie clip symbol and we&amp;rsquo;ll leave the default symbol name of symbol 1 (figure 2). &lt;br/&gt;&lt;br /&gt;  &lt;img src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/images/convert_symbol.jpg&quot; /&gt;&lt;br/&gt;&lt;br /&gt;  Figure 2&lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Now once this preparatory stage is done, we start building the core of the animation, the waves&amp;hellip;&lt;br /&gt;  The whole effect relies on making the wavy water surface move realistically, for that purpose we&amp;rsquo;ll need a movie clip and we&amp;rsquo;ll need to motion tween this clip then assign it as mask  that will reveal an underlying picture slightly different than the one we already have on stage. &lt;br /&gt;  So let&amp;rsquo;s start with the easy part, select the first frame in the timeline, right click and choose copy frame, then make a new layer, by default this new layer (layer 2) will be placed above layer 1, right click on the first empty frame of layer 2 and choose paste frame (figure 3). &lt;br/&gt;&lt;br /&gt;  &lt;img src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/images/copy_frame.jpg&quot; /&gt;&lt;img src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/images/paste_frame.jpg&quot; /&gt; &lt;br/&gt;&lt;br /&gt;  Figure 3 &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Now this is very important for the effect, right click on the copy of the image on layer 2, select break apart and then select with your mouse the upper part of the picture, yes everything above the sea and just hit delete to remove it! &lt;b&gt;Then, using the Up arrow key, move the dropped copy of the image on layer 2 few pixels down. To end up with this step, click on the cropped picture and press F8 to convert it to a movie clip, give this movie clip the instance name of &lt;i&gt;masked&lt;/i&gt; (Figure 4).&lt;/b&gt;&lt;br/&gt;&lt;br /&gt;  &lt;img src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/images/masked.jpg&quot; /&gt;&lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Now for the last part, draw a horizontal line with the line tool, let it be stage wide, change its  stroke height to 3 then click the modify menu and choose Modify &amp;gt; Shape &amp;gt; Convert Lines to Fills (figure 5) and then press F8 to convert it to a movie clip. Give it the instance of &lt;i&gt;myMask&lt;/i&gt;.&lt;br/&gt;&lt;br /&gt;  &lt;img src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/images/convert_line_to_fill.jpg&quot; /&gt; &lt;img src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/images/mymask.jpg&quot; /&gt;&lt;br/&gt;&lt;br /&gt;  Figure 5 &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Double click on this movie clip of the horizontal line and once you&amp;rsquo;re inside its timeline, position it 5 pixels higher than the horizon (of the original image on layer 1) then press and hold the ctrl button on your keyboard and make several copies of the line, let them be 5 pixels away from one another, keep on making copies till you reach the lower end of your stage (figure 6).&lt;br/&gt;&lt;br /&gt;  &lt;img src=&quot;http://cambodiaxp.com/flash_kits/tutorial_kits/23/images/horizontal_line.jpg&quot; /&gt;&lt;br/&gt;&lt;br /&gt;  Figure 6 &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Notice that the color of the lines doesn&amp;rsquo;t matter as it won&amp;rsquo;t appear at all, only the thickness, the number and the spacing of lines will affect the final visual aspect of the moving waves.&lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Now, select all the lines (ctrl+A), press F8 and choose movie clip as symbol type. Go to frame 20 on the timeline, right click and choose insert keyframe. &lt;br /&gt;  Still on the timeline, click anywhere between frame 1 and 20 and from the properties panel choose &lt;a href=&quot;http://www.cambodiaxp.com/flash-tutorial2-1.html&quot;&gt;motion tween&lt;/a&gt;. Now move the playhead to frame 20, select the lines on the stage and nudge them down a few pixels with the Down arrow key. &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  The last thing we&amp;rsquo;re going to do is to assign the moving lines as a mask to the masked movie clip, this is where the effect really comes together.&lt;br /&gt;  So go up one level, back to the main timeline, make a new layer, rename it to actions and lock it so you wouldn&amp;rsquo;t accidently place any content on it (it&amp;rsquo;s always a good idea to separate design from code), on the first frame on this actions layer, right click and choose Actions then type this simple line of code: &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  &lt;textarea name=&quot;textarea&quot; cols=&quot;30&quot; rows=&quot;2&quot; style=&quot;background-color:#dddddd&quot;&gt;masked.setMask (myMask );&lt;/textarea&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  That&amp;rsquo;s it! Our effect is now ready for testing. Hit ctrl+Enter and enjoy the soft waves of this virtual ocean. &lt;br/&gt;&lt;br /&gt;  &lt;br /&gt;&lt;p align=&quot;left&quot;&gt;&lt;br /&gt;&lt;iframe SRC=&quot;http://www.webcodigos.com.br/adbanner/adpeeps.php?bfunction=showad&amp;uid=100000&amp;bmode=off&amp;bzone=conteudo468x60&amp;bsize=468x60&amp;btype=4&amp;bpos=default&amp;ver=2.0&amp;btarget=_blank&quot; FRAMEBORDER=&quot;0&quot; WIDTH=&quot;468&quot; HEIGHT=&quot;60&quot; SCROLLING=&quot;no&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot;&gt;&lt;br /&gt;&lt;ilayer SRC=&quot;http://www.webcodigos.com.br/adbanner/adpeeps.php?bfunction=showad&amp;uid=100000&amp;bmode=off&amp;bzone=conteudo468x60&amp;bsize=468x60&amp;btype=4&amp;bpos=default&amp;ver=2.0&amp;btarget=_blank&quot; FRAMEBORDER=&quot;0&quot; WIDTH=&quot;468&quot; HEIGHT=&quot;60&quot;&gt;&lt;/ilayer&gt;&lt;br /&gt;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/p&gt;&lt;br/&gt;&lt;br /&gt;  &lt;b&gt;Last thoughts:&lt;/b&gt;&lt;br/&gt;&lt;br /&gt;  Well to end up this tutorial, I would like to explain a bit the single line of code we used to achieve the masking effect. &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  The setMask method of the MovieClip class assigns a movie clip as mask for another, in our case the &amp;ldquo;myMask &amp;ldquo; was the mask and the &amp;ldquo;masked&amp;rdquo; was the movie clip masked by it. This masking allows us to see the masked movie clip only through the filled areas of the mask (and that&amp;rsquo;s why we converted lines to fills) whereas the non-filled space in between the lines will remain perfectly transparent thus allowing us to see the original ocean image through it. Since the cropped image is slightly shifted, the movement of the mask movie clip gives the illusion of small waves on the surface of the ocean.&lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  &lt;b&gt;Further experimentation:&lt;/b&gt;&lt;br/&gt;&lt;br /&gt;  Try to reduce the distance between the lines or even making the lines a bit curved and see what impact would that have on the visual effect.&lt;br /&gt;  You might also want to explore the new bitmapData methods, they offer some noise filters that would greatly enhance what was achieved till now. &lt;br/&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;  Finally, If you feel like spending some few buck, you may wanna check out the &lt;a href=&quot;http://www.flashtrue.com/video-loops.html&quot;&gt;flash loop&lt;/a&gt; collection from FlashTrue.com &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;  &lt;script type=&quot;text/javascript&quot;&gt;&lt;!--&lt;br /&gt;google_ad_client = &quot;pub-0151582219482597&quot;;&lt;br /&gt;google_alternate_ad_url = &quot;http://www.nonsensenet.com/ad.php?s=28&amp;h=60&amp;w=468&amp;style=2&quot;;&lt;br /&gt;google_ad_width = 468;&lt;br /&gt;google_ad_height = 60;&lt;br /&gt;google_ad_format = &quot;468x60_as&quot;;&lt;br /&gt;google_ad_type = &quot;text_image&quot;;&lt;br /&gt;google_ad_channel =&quot;4473636448&quot;;&lt;br /&gt;google_color_border = &quot;666666&quot;;&lt;br /&gt;google_color_bg = &quot;FFFFFF&quot;;&lt;br /&gt;google_color_link = &quot;714823&quot;;&lt;br /&gt;google_color_url = &quot;714823&quot;;&lt;br /&gt;google_color_text = &quot;000000&quot;;&lt;br /&gt;//--&gt;&lt;/script&gt;&lt;br /&gt;  &lt;script type=&quot;text/javascript&quot;&lt;br /&gt;  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;&lt;a href=&#39;http://www.uploadfacil.com.br/show.php/25_oceanflashloop.zip.html&#39; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;br /&gt;  &lt;img border=&#39;0&#39; title=&quot;Free Flash SourceCode Download&quot;src=&quot;http://cambodiaxp.com/images/download2.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;  &lt;br/&gt;&lt;br /&gt;    &lt;br /&gt;  &lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6159503973617584&quot;;
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = &quot;728x15_0ads_al_s&quot;;
google_ad_channel = &quot;&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;000000&quot;;
google_color_text = &quot;000000&quot;;
google_color_url = &quot;999999&quot;;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tutorialsflash.blogspot.com/feeds/7580294578158749920/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6482716536615733077/7580294578158749920' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6482716536615733077/posts/default/7580294578158749920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6482716536615733077/posts/default/7580294578158749920'/><link rel='alternate' type='text/html' href='http://tutorialsflash.blogspot.com/2007/08/flash-loop-on-ocean-animation-tutorial.html' title='Flash Loop on Ocean animation Tutorial - Flash Wave ocean agua'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6482716536615733077.post-3402819406471004291</id><published>2007-08-13T13:52:00.000-07:00</published><updated>2007-08-13T17:11:36.694-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="flash"/><title type='text'>Magic image effect in flash / Efeito mágico da imagem no flash</title><content type='html'>&lt;!-- START Code --&gt;&lt;br /&gt;&lt;p align=&quot;left&quot;&gt;&lt;br /&gt;&lt;iframe SRC=&quot;http://www.webcodigos.com.br/adbanner/adpeeps.php?bfunction=showad&amp;uid=100000&amp;bmode=off&amp;bzone=retangulo_big336x280&amp;bsize=336x280&amp;btype=4&amp;bpos=default&amp;ver=2.0&amp;btarget=_blank&quot; FRAMEBORDER=&quot;0&quot; WIDTH=&quot;336&quot; HEIGHT=&quot;280&quot; SCROLLING=&quot;no&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot;&gt;&lt;br /&gt;&lt;ilayer SRC=&quot;http://www.webcodigos.com.br/adbanner/adpeeps.php?bfunction=showad&amp;uid=100000&amp;bmode=off&amp;bzone=retangulo_big336x280&amp;bsize=336x280&amp;btype=4&amp;bpos=default&amp;ver=2.0&amp;btarget=_blank&quot; FRAMEBORDER=&quot;0&quot; WIDTH=&quot;336&quot; HEIGHT=&quot;280&quot;&gt;&lt;/ilayer&gt;&lt;br /&gt;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;!-- END  Code --&gt;&lt;br /&gt;&lt;br /&gt;In this lesson you have a chance to learn how to create very modern and useful image effect in flash in few steps, using the Gradient Bevel flash filter. You don&#39;t have to use A.S. code to create this lesson.&lt;br /&gt;&lt;embed pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; src=&quot;http://www.uploadfacil.com.br/images.php/i1_468944MagicImageEffectInflash.swf&quot; width=&quot;317&quot; height=&quot;351&quot; type=&quot;application/x-shockwave-flash&quot; quality=&quot;high&quot;&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a href=&quot;http://www.flashfridge.com/img/468944_MagicImageEffectInflash.fla&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First of all, find any image that you want to use for this tutorial.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open a new flash document.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 3&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Choose File &amp;gt; Import &amp;gt; Import to Stage (Shortcut key: Ctrl+R) and import any image into a flash.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 4&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While the image is still selected, press F8 key (Convert to Symbol) to convert that image into a Movie Clip Symbol.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/578942_img1.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 5&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click on frame 5,25 and 30 and press F6 key. After that, go back on frame 5, take the Selection Tool (V) and click once on the image to select it. Then, go to the Properties Panel (Ctrl+F3) below the stage and click on Filters tab. After that, click on the plus icon and select Gradient Bevel filter. Make the adjustements as the picture below shows you.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/178943_img2.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do that also for frame 25.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 6&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Right-click anywhere on the gray area between the frame 1 and frame 5 and frame 25 and 30 on the timeline and choose Create Motion Tween from the menu that appears. See the picture below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/498943_img3.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 7&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Press Ctrl+J key (Document Properties) and for Frame Rate set 28fps (Frames per Second).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/48944_img4.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We&#39;re done!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Test your Movie (Ctrl+Enter).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;download here &lt;a href=&quot;http://www.uploadfacil.com.br/show.php/16_468944MagicImageEffectInflash.rar.html&quot;&gt;File&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;====================================================================================&lt;br /&gt;Tradução&lt;br /&gt;&lt;br /&gt;Nesta lição você tem uma possibilidade aprender como criar o efeito muito moderno e útil da imagem no flash em poucas etapas, usando o filtro do flash do chanfro do Gradient. Você não tem que usar o código de A.S. criar esta lição.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;embed pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; src=&quot;http://www.uploadfacil.com.br/images.php/i1_468944MagicImageEffectInflash.swf&quot; width=&quot;317&quot; height=&quot;351&quot; type=&quot;application/x-shockwave-flash&quot; quality=&quot;high&quot;&gt;&lt;/embed&gt;&lt;br /&gt;&lt;a href=&quot;http://www.flashfridge.com/img/468944_MagicImageEffectInflash.fla&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Etapa 1&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Primeiramente de tudo, encontrar toda a imagem que você quiser usar para este tutorial.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Etapa 2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Abrir um original flash novo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Etapa 3&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Escolher a lima &amp;gt; a importação &amp;gt; a importação a encenar (chave de atalho: Ctrl+R) e importam toda a imagem em um flash.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Etapa 4&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quando a imagem for selecionada ainda, pressionar a chave F8 (converso ao símbolo) para converter essa imagem em um símbolo do grampo do filme.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/578942_img1.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Etapa 5&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Estalar sobre o frame 5.25 e 30 e pressionar a chave F6. Após o esse, ir para trás no frame 5, fazem exame da ferramenta da seleção (V) e do clique uma vez na imagem para selecioná-la. Então, ir ao painel das propriedades (Ctrl+F3) abaixo do estágio e estalar filtra sobre a aba. Após o esse, estalar sobre o ícone positivo e selecionar o filtro chanfrado do Gradient. Fazê-lo aos adjustements como o retrato abaixo das mostras.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/178943_img2.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fazer isso também para o frame 25.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Etapa 6&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;o Direito-clique em qualquer lugar na área cinzenta entre o frame 1 e o frame 5 e o frame 25 e 30 no timeline e escolhe cría o Tween do movimento do menu que aparece. Ver o retrato abaixo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/498943_img3.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Etapa 7&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Pressionar a chave de Ctrl+J (propriedades do original) e para a taxa 28fps ajustado do quadro (quadros por o segundo).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/48944_img4.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Nós somos feitos!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Testar seu filme (Ctrl+Enter).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Apreciar!&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6159503973617584&quot;;
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = &quot;728x15_0ads_al_s&quot;;
google_ad_channel = &quot;&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;000000&quot;;
google_color_text = &quot;000000&quot;;
google_color_url = &quot;999999&quot;;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tutorialsflash.blogspot.com/feeds/3402819406471004291/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6482716536615733077/3402819406471004291' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6482716536615733077/posts/default/3402819406471004291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6482716536615733077/posts/default/3402819406471004291'/><link rel='alternate' type='text/html' href='http://tutorialsflash.blogspot.com/2007/08/magic-image-effect-in-flash.html' title='Magic image effect in flash / Efeito mágico da imagem no flash'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6482716536615733077.post-8352710773579005969</id><published>2007-08-09T22:22:00.000-07:00</published><updated>2007-08-09T22:25:27.389-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="flash"/><title type='text'>Flash Digital Clock</title><content type='html'>Using this little tutorial, you will see how to create simple digital clock in flash using a little action script code.You can use this digital clock for any web site if you like.You will also learn how to design a area for clock, how to create dynamic text field and more.Let&#39;s go!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;embed pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; src=&quot;http://www.uploadfacil.com.br/out.php/i8_48411DigitalClockInFlash.swf&quot; width=&quot;200&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; quality=&quot;high&quot;&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 1&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a new flash doucment.Take the Rectangle Tool (R). In the Colors portion of the Tool panel, block the Stroke color by clicking on the little pencil icon and then on the small square with the red diagonal line. For Fill color choose #19A3CB color and draw a &quot;rectangle&quot; about 180x55px.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While the rectangle is still selected, go to the Align Panel (Ctrl+K) and set the following options:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.Make sure that the Align/Distribute to Stage button is turned on,&lt;br /&gt;&lt;br /&gt;2.Click on the Align horizontal center button and&lt;br /&gt;&lt;br /&gt;3.Click the Align vertical center button.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/45846_img1.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 3&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Take agian the Rectangle Tool (R) and repeat step 1, but for this time, for Fill Color choose #2379CF. Then, draw the another rectangle within the first rectangle about 140x30px. See the picture below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/22847_img2.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After you have drawn the second rectangle within the first rectangle, repeat step 2 to align also the second rectangle with the background.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 4&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Double click on layer 1 to rename its name in background.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 5&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then, click on the seconda frame of layer background and press F5 key. After that, create a new layer above the backround layer and name it dynamic text. See the picture below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/12848_img3.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 6&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select the dynamic text layer and take the Text Tool (A).Then, create a dynamic text field over the white rectangle. See the picture below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/33848_img4.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 7&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While the dynamic text field that we just created is still selected, go to the Properties Panel (Ctrl+F3) below the stage. On the left side, You will find the Instance name input field there. Call this dynamic field Clock_text.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www.flashfridge.com/img/54848_img5.gif&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 8&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a new layer above the dynamic text layer and name it action.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 9&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click on the first frame of layer action and open the Action Script Panel (F9). Then, enter the following code inside the actions panel:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;time=new Date(); // time object&lt;br /&gt;&lt;br /&gt;var seconds = time.getSeconds()&lt;br /&gt;&lt;br /&gt;var minutes = time.getMinutes()&lt;br /&gt;&lt;br /&gt;var hours = time.getHours()&lt;br /&gt;&lt;br /&gt;if (hours&amp;lt;12) {&lt;br /&gt;&lt;br /&gt;ampm = &quot;AM&quot;;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;else{&lt;br /&gt;&lt;br /&gt;ampm = &quot;PM&quot;;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;while(hours &amp;gt;12){&lt;br /&gt;&lt;br /&gt;hours = hours - 12;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if(hours&amp;lt;10)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;hours = &quot;0&quot; + hours;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if(minutes&amp;lt;10)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;minutes = &quot;0&quot; + minutes;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if(seconds&amp;lt;10)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;seconds = &quot;0&quot; + seconds;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Clock_text.text = hours + &quot;:&quot; + minutes + &quot;:&quot; + seconds +&quot; &quot;+ ampm;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong iyrzx=&quot;0&quot; nxqnl=&quot;0&quot;&gt;Step 10&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click on the second frame of layer action and press F6 key. Then, enter this code inside the actions panel:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;gotoAndPlay(1);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Test your Movie (Ctrl+Enter).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We&#39;re done!&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6159503973617584&quot;;
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = &quot;728x15_0ads_al_s&quot;;
google_ad_channel = &quot;&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;000000&quot;;
google_color_text = &quot;000000&quot;;
google_color_url = &quot;999999&quot;;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tutorialsflash.blogspot.com/feeds/8352710773579005969/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6482716536615733077/8352710773579005969' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6482716536615733077/posts/default/8352710773579005969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6482716536615733077/posts/default/8352710773579005969'/><link rel='alternate' type='text/html' href='http://tutorialsflash.blogspot.com/2007/08/flash-digital-clock.html' title='Flash Digital Clock'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>