{"id":441,"date":"2010-12-28T03:11:30","date_gmt":"2010-12-28T07:11:30","guid":{"rendered":"http:\/\/www.searchenginegenie.com\/web-design-blog\/?p=441"},"modified":"2011-02-22T05:46:46","modified_gmt":"2011-02-22T09:46:46","slug":"globe-rotation-using-flash","status":"publish","type":"post","link":"https:\/\/www.searchenginegenie.com\/web-design-blog\/globe-rotation-using-flash\/","title":{"rendered":"Globe rotation using flash"},"content":{"rendered":"<p>1. Open a new document about 400X350 pixels.<\/p>\n<p><a name=\"imageclose-442\"><div class=\"lb-album\"><a href=\"#image-442\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-1.jpg\" alt=\"globe-rotation-using-flash\" class=\"aligncenter size-full wp-image-442\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-442\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-442\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-1.jpg\" alt=\"image-442\">\r\n                   <\/div><\/a><\/p>\n<p>2. Import (ctrl+r) a globe image or draw by your own in flash using gradient effects as like below in Layer-1(name it as globe). Select 30th Keyframe and give F5<\/p>\n<p><a name=\"imageclose-443\"><div class=\"lb-album\"><a href=\"#image-443\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-2.jpg\" alt=\"globe-rotation-using-flash\" class=\"aligncenter size-full wp-image-443\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-443\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-443\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-2.jpg\" alt=\"image-443\">\r\n                   <\/div><\/a><\/p>\n<p>3. Create Layer-2 , name it as map and import world map. The below world map I have created here by the following steps:<\/p>\n<p>A) Go to Start &#8211;&gt; All Programs &#8211;&gt; Accessories &#8211;&gt; System Tools &#8211;&gt; Character Map &#8211;&gt; Select font from font drop down box &#8211;&gt; webdings &#8211;&gt; Select map and respective code is 0xFB &#8211;&gt; Click on select button and click copy button.<\/p>\n<p>B) Open Photoshop pick text tool then select webdings font and paste it.<br \/>\nC) Adjust the color and size of map by increasing the font color and font size. Here I set 200 point.<\/p>\n<p><a name=\"imageclose-444\"><div class=\"lb-album\"><a href=\"#image-444\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-3.jpg\" alt=\"globe-rotation-using-flash\" class=\"aligncenter size-full wp-image-444\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-444\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-444\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-3.jpg\" alt=\"image-444\">\r\n                   <\/div><\/a><\/p>\n<p>4. Change the map into movieclip and select 15th Keyframe, then press F6. Now copy the map layer frames by selecting the Keyframe from 1 to 15 then paste it on 16th frame. So the frame end at 30th frame.<\/p>\n<p>5. Now create third layer name it as shadow, and repeat 3rd and 4th step. Note that your shadow layer map should be in black or gray color.<\/p>\n<p><a name=\"imageclose-445\"><div class=\"lb-album\"><a href=\"#image-445\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-4.jpg\" alt=\"globe-rotation-using-flash\" class=\"aligncenter size-full wp-image-445\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-445\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-445\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-4.jpg\" alt=\"image-445\">\r\n                   <\/div><\/a><\/p>\n<p>6. Create another layer (name it as mask) for masking and draw the circle to the respective size of globe image.<\/p>\n<p><a name=\"imageclose-446\"><div class=\"lb-album\"><a href=\"#image-446\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-5.jpg\" alt=\"globe-rotation-using-flash\" class=\"aligncenter size-full wp-image-446\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-446\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-446\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-5.jpg\" alt=\"image-446\">\r\n                   <\/div><\/a><\/p>\n<p>7. Just check that you have 4 layers in the order of globe, map, shadow, mask (bottom to top).<\/p>\n<p><a name=\"imageclose-447\"><div class=\"lb-album\"><a href=\"#image-447\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-6.jpg\" alt=\"globe-rotation-using-flash\" class=\"aligncenter size-full wp-image-447\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-447\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-447\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-6.jpg\" alt=\"image-447\">\r\n                   <\/div><\/a><\/p>\n<p>8. Right click on mask layer and select mask option. We should mask both map and shadow layers.  See the below masked layers.<\/p>\n<p><a name=\"imageclose-448\"><div class=\"lb-album\"><a href=\"#image-448\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-7.jpg\" alt=\"globe-rotation-using-flash\" class=\"aligncenter size-full wp-image-448\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-448\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-448\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/globe-rotation-using-flash-7.jpg\" alt=\"image-448\">\r\n                   <\/div><\/a><\/p>\n<p>9. Set the frame rate according to the speed you want.<\/p>\n<p>10. Give  Ctrl+Enter  to run the program.<\/p>\n<p><object id=\"test\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"300\" height=\"300\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"src\" value=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/Globe-rotation.swf\" \/><param name=\"name\" value=\"test1\" \/><embed id=\"test\" type=\"application\/x-shockwave-flash\" width=\"300\" height=\"300\" src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/Globe-rotation.swf\" name=\"test1\"><\/embed><\/object><\/p>\n<p><strong><span style=\"color: #3366ff;\">Click here to download the source <a href=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2010\/12\/Globe-rotation.zip\">Globe rotation<\/a><\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Open a new document about 400X350 pixels. 2. Import (ctrl+r) a globe image or draw by your own in flash using gradient effects as like below in Layer-1(name it as globe). Select 30th Keyframe and give F5 3. Create Layer-2 , name it as map and import world map. The below world map I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[25,24],"class_list":["post-441","post","type-post","status-publish","format-standard","hentry","category-flash","tag-globe-rotation-using-flash","tag-spining-of-earth-in-flash"],"_links":{"self":[{"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/posts\/441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/comments?post=441"}],"version-history":[{"count":10,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/posts\/441\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/posts\/441\/revisions\/558"}],"wp:attachment":[{"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/media?parent=441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/categories?post=441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/tags?post=441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}