{"id":2171,"date":"2012-11-05T06:02:59","date_gmt":"2012-11-05T10:02:59","guid":{"rendered":"http:\/\/www.searchenginegenie.com\/web-design-blog\/?p=2171"},"modified":"2012-11-05T06:33:48","modified_gmt":"2012-11-05T10:33:48","slug":"floating-gallery-using-flash-cs4","status":"publish","type":"post","link":"https:\/\/www.searchenginegenie.com\/web-design-blog\/floating-gallery-using-flash-cs4\/","title":{"rendered":"Floating Gallery Using Flash Cs4"},"content":{"rendered":"<p><object width=\"600\" height=\"540\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"quality\" value=\"high\" \/><param name=\"src\" value=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/rotating-gallery2.swf\" \/><param name=\"pluginspage\" value=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" \/><embed width=\"600\" height=\"540\" type=\"application\/x-shockwave-flash\" src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/rotating-gallery2.swf\" quality=\"high\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" \/><\/object><br \/>\nStep 1: open a new flash file. Set the width to 600 pixels and the height to 540 pixels. For this pictorial we need 8 images. We have to resize them with 330*330 for the main image and 75*75 thumbnail images. Name the images image-0 to image-7 and thumb-0 to thumb-7 and then import them into the library (File-&gt; import-&gt;import to library).<br \/>\n<a name=\"imageclose-2172\"><div class=\"lb-album\"><a href=\"#image-2172\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/1.jpg\"  class=\"alignleft size-full wp-image-2173\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2172\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2172\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/1.jpg\" alt=\"image-2172\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 2: By using oval tool (O) to creating a dark grey circle (#323232) circle, without an outline by using dimensions and positions below. I have reduced the magnification in Flash to 50%, so that it&#8217;s easier to see.<br \/>\n<a name=\"imageclose-2173\"><div class=\"lb-album\"><a href=\"#image-2173\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/2.jpg\"  class=\"alignleft size-full wp-image-2174\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2173\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2173\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/2.jpg\" alt=\"image-2173\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 3: To convert the oval into an MOVIE CLIP (Movie Clip Symbol) called &#8220;background&#8221;, by pressing F8.<br \/>\n<a name=\"imageclose-2174\"><div class=\"lb-album\"><a href=\"#image-2174\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/3.jpg\"  class=\"alignleft size-full wp-image-2175\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2174\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2174\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/3.jpg\" alt=\"image-2174\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 4: Convert this Movie Clip into another one called &#8220;gallery&#8221; and then, from the properties panel, give it the instance name &#8220;gallery&#8221;. After that action script will be used to give the gallery some functionality and the instance names given to the MOVIE CLIP&#8217;s will be used to reference them.<br \/>\n<a name=\"imageclose-2175\"><div class=\"lb-album\"><a href=\"#image-2175\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/4.jpg\"  class=\"alignleft  wp-image-2176\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2175\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2175\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/4.jpg\" alt=\"image-2175\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 5: Double click on the \u201cgallery\u201d movie clip and then on the \u201cbackground\u201d movie clip. Name the layer with the dark oval \u201cbackground 1\u201d. Create the second layer called \u201cbackground\u201d and with the lighter grey (#505050) oval on this layer.<br \/>\n<a name=\"imageclose-2176\"><div class=\"lb-album\"><a href=\"#image-2176\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/5.jpg\"  class=\"alignleft size-full wp-image-2177\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2176\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2176\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/5.jpg\" alt=\"image-2176\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 6: From the properties panel, set the dimensions and positions, as shown below.<br \/>\n<a name=\"imageclose-2177\"><div class=\"lb-album\"><a href=\"#image-2177\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/6.jpg\"  class=\"alignleft size-full wp-image-2178\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2177\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2177\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/6.jpg\" alt=\"image-2177\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 7: Next, drag image 0 onto the &#8220;images&#8221; layer as shown below. Convert the image to a Movie Clip (F8) called &#8220;image0&#8221;, selection &#8220;export for action script&#8221;. This will allow the image to be attached with action script, using the &#8220;identifier&#8221; as a reference.<br \/>\n<a name=\"imageclose-2178\"><div class=\"lb-album\"><a href=\"#image-2178\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/7.jpg\"  class=\"alignleft size-full wp-image-2179\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2178\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2178\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/7.jpg\" alt=\"image-2178\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 8: Convert the Movie Clip again (F8) into another Movie Clip called &#8220;image Holder&#8221;.<br \/>\n<a name=\"imageclose-2179\"><div class=\"lb-album\"><a href=\"#image-2179\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/8.jpg\"  class=\"alignleft size-full wp-image-2180\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2179\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2179\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/8.jpg\" alt=\"image-2179\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 9: Use the Oval Tool to create an oval on the mask layer, setting it to have the dimensions and positions as shown below. Right click on the mask layer and choose &#8220;mask&#8221;.<br \/>\nFig (a):<br \/>\n<a name=\"imageclose-2180\"><div class=\"lb-album\"><a href=\"#image-2180\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/9.jpg\"  class=\"alignleft size-full wp-image-2181\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2180\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2180\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/9.jpg\" alt=\"image-2180\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Fig (b):<br \/>\n<a name=\"imageclose-2181\"><div class=\"lb-album\"><a href=\"#image-2181\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/9b.jpg\"  class=\"alignleft size-full wp-image-2182\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2181\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2181\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/9b.jpg\" alt=\"image-2181\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 10: The circle should now be masking the image, as shown below.<br \/>\n<a name=\"imageclose-2182\"><div class=\"lb-album\"><a href=\"#image-2182\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/10.jpg\"  class=\"alignleft size-full wp-image-2183\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2182\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2182\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/10.jpg\" alt=\"image-2182\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 11: Now we are going to create a temporary guide which will be used to place the thumbnails. Create a new layer called &#8220;guide&#8221; and see the Oval Tool to create a circle with just the stroke color and no fill. Set the dimensions and positions as figure shown below.<br \/>\n<a name=\"imageclose-2183\"><div class=\"lb-album\"><a href=\"#image-2183\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/11.jpg\"  class=\"alignleft size-full wp-image-2184\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2183\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2183\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/11.jpg\" alt=\"image-2183\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 12: Convert the ring into a Movie Clip (F8) called &#8220;guide&#8221;.<br \/>\n<a name=\"imageclose-2184\"><div class=\"lb-album\"><a href=\"#image-2184\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/12.jpg\"  class=\"alignleft size-full wp-image-2185\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2184\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2184\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/12.jpg\" alt=\"image-2184\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 13: Double click on the MOVIE CLIP, create a new layer and draw a line, using the dimensions and positions as figure shown below.<br \/>\n<a name=\"imageclose-2185\"><div class=\"lb-album\"><a href=\"#image-2185\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/13.jpg\"  class=\"alignleft size-full wp-image-2186\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2185\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2185\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/13.jpg\" alt=\"image-2185\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 14: Create a vertical line on another new layer as figure shown below.<br \/>\n<a name=\"imageclose-2186\"><div class=\"lb-album\"><a href=\"#image-2186\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/14.jpg\"  class=\"alignleft size-full wp-image-2187\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2186\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2186\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/14.jpg\" alt=\"image-2186\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 15: Now copy the 2 lines onto a single new layer.<br \/>\n<a name=\"imageclose-2187\"><div class=\"lb-album\"><a href=\"#image-2187\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/15.jpg\"  class=\"alignleft size-full wp-image-2188\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2187\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2187\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/15.jpg\" alt=\"image-2187\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 16: Open the transform panel and set &#8220;rotate&#8221; to 45 degrees.<br \/>\n<a name=\"imageclose-2188\"><div class=\"lb-album\"><a href=\"#image-2188\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/16.jpg\"  class=\"alignleft size-full wp-image-2189\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2188\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2188\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/16.jpg\" alt=\"image-2188\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 17: Now, create a new MOVIE CLIP (Insert &gt; New Symbol) called &#8220;thumb0&#8221; and create 2 layers called &#8220;image&#8221; and &#8220;mask&#8221;. Drag the thumbnail thumb_0 on to the &#8220;image&#8221; layer, placing it at the position shown below.<br \/>\n<a name=\"imageclose-2189\"><div class=\"lb-album\"><a href=\"#image-2189\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/17.jpg\"  class=\"alignleft size-full wp-image-2190\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2189\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2189\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/17.jpg\" alt=\"image-2189\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 18: Create a circle on the &#8220;mask layer&#8221;<br \/>\n<a name=\"imageclose-2190\"><div class=\"lb-album\"><a href=\"#image-2190\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/18.jpg\"  class=\"alignleft size-full wp-image-2192\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2190\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2190\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/18.jpg\" alt=\"image-2190\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 19: Right click on the &#8220;mask&#8221; layer and chose &#8220;mask&#8221;.<br \/>\n<a name=\"imageclose-2191\"><div class=\"lb-album\"><a href=\"#image-2191\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/19.jpg\"  class=\"alignleft size-full wp-image-2193\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2191\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2191\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/19.jpg\" alt=\"image-2191\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 20: Convert the mask into an MC (F8) called thumbMask. You can reuse this MC for the other thumbnails.<br \/>\n<a name=\"imageclose-2192\"><div class=\"lb-album\"><a href=\"#image-2192\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/20.jpg\"  class=\"alignleft size-full wp-image-2194\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2192\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2192\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/20.jpg\" alt=\"image-2192\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 21: Create a dark grey (#404040) circle on a layer below the image and mask, using the positions and dimensions shown below.<br \/>\n<a name=\"imageclose-2193\"><div class=\"lb-album\"><a href=\"#image-2193\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/21.jpg\"  class=\"alignleft size-full wp-image-2195\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2193\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2193\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/21.jpg\" alt=\"image-2193\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 22: This will also be reused for the other thumbnails, so convert it to an MC called &#8220;thumbBG&#8221;. So, that&#8217;s the 1st thumbnails created, now create the other 7, using steps 18 &#8211; 23.<br \/>\n<a name=\"imageclose-2194\"><div class=\"lb-album\"><a href=\"#image-2194\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/22.jpg\"  class=\"alignleft size-full wp-image-2196\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2194\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2194\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/22.jpg\" alt=\"image-2194\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 23: Next, create a layer called &#8220;thumbs&#8221; and drag thumb0 MC onto the stage, positioning it at the top over the guide. From the properties panel, give it the instance name &#8220;thumb0&#8221;.<br \/>\n<a name=\"imageclose-2195\"><div class=\"lb-album\"><a href=\"#image-2195\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/23.jpg\"  class=\"alignleft size-full wp-image-2197\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2195\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2195\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/23.jpg\" alt=\"image-2195\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 24: Convert thumb0mc into another MC called thumb Holder. Set the registration point (circled in red) to the center. To rotate the thumbnails with action script, the thumb Holder MC will be rotate so that each thumbnail doesn&#8217;t have to be rotated individually. Setting the registration point to the center makes sure the MC will rotate from the center.<br \/>\n<a name=\"imageclose-2196\"><div class=\"lb-album\"><a href=\"#image-2196\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/24.jpg\"  class=\"alignleft size-full wp-image-2198\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2196\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2196\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/24.jpg\" alt=\"image-2196\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 25: Add all 8 of the thumbnails where the lines intersect with the ring. Place thumb1 at the second point, thumb2 at the 3rd, and so on.<br \/>\n<a name=\"imageclose-2197\"><div class=\"lb-album\"><a href=\"#image-2197\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/25.jpg\"  class=\"alignleft size-full wp-image-2199\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2197\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2197\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/25.jpg\" alt=\"image-2197\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 26: When all the thumbnails have been added, go back to the Gallery Movie Clip and give the thumb Holder MC the instance name &#8220;thumb Holder&#8221;.<br \/>\n<a name=\"imageclose-2198\"><div class=\"lb-album\"><a href=\"#image-2198\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/26.jpg\"  class=\"alignleft size-full wp-image-2200\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2198\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2198\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/26.jpg\" alt=\"image-2198\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 27: Then the image Holder MC and delete the image MC inside of it. This is because we will be adding the image dynamically with action script.<br \/>\n<a name=\"imageclose-2199\"><div class=\"lb-album\"><a href=\"#image-2199\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/27.jpg\"  class=\"alignleft size-full wp-image-2201\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2199\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2199\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/27.jpg\" alt=\"image-2199\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 28: Now we are going to create a gallery with rotating thumbnails. We will now use some action script. To make the thumbnails function and to rotate them around the main image.<br \/>\nStep 29: Code Explanation:<br \/>\nLine 1: A stop() function to stop it from looping<br \/>\nLine 2: A variable to hold the number of images in the gallery<br \/>\nLine 3: A boolean variable which is used to pause \/ unpause the gallery<br \/>\n<a name=\"imageclose-2200\"><div class=\"lb-album\"><a href=\"#image-2200\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/29.jpg\"  class=\"alignleft size-full wp-image-2202\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2200\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2200\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/29.jpg\" alt=\"image-2200\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 30: Code Explanation:<br \/>\nLine 6 &#8211; 7: A for loop is created to assign each thumbnail a property containing the name of it&#8217;s corresponding image. The &#8220;i&#8221; in the loop will start off at 0 and increment by 1 (i++), while i is below 8 (i Line 8: Now that we are storing &#8220;thumb4&#8221; in &#8220;t&#8221;, we give it the property &#8220;image&#8221; and assign it to hold image4 (&#8220;image&#8221;+i)<br \/>\n<a name=\"imageclose-2201\"><div class=\"lb-album\"><a href=\"#image-2201\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/30.jpg\"  class=\"alignleft size-full wp-image-2203\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2201\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2201\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/30.jpg\" alt=\"image-2201\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 31: Code Explanation:<br \/>\nLine 9: An onPress function is create for each thumbnail<br \/>\nLine 10: The last displayed image will be held in current, so we use this function to remove it before the new one is attached (line11), upon pressing the thumbnail<br \/>\nLine 11: We use the t.image property to attach the image to &#8220;imageHolder&#8221; MC. t.image is refered to as this.image because it&#8217;s being called from withing an onPress function.<br \/>\nLine 12: When a thumbnail is rolled over with the mouse, the gallery will be pause (see next step), but when the thumbnail is pressed, we want them to start rotating again, so we set &#8220;pauseGallery&#8221; to equal false.<br \/>\n<a name=\"imageclose-2202\"><div class=\"lb-album\"><a href=\"#image-2202\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/31.jpg\"  class=\"alignleft size-full wp-image-2204\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2202\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2202\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/31.jpg\" alt=\"image-2202\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 32: Code Explanation:<br \/>\nLine 14 &#8211; 16: &#8220;pauseGallery&#8221; is set to equal true when the thumbnail is rolled over.<br \/>\nLine 17 &#8211; 20: &#8220;pauseGallery&#8221; is set to equal false when the thumbnail is rolled out.<br \/>\n<a name=\"imageclose-2203\"><div class=\"lb-album\"><a href=\"#image-2203\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/32.jpg\"  class=\"alignleft size-full wp-image-2206\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2203\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2203\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/32.jpg\" alt=\"image-2203\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 33: Code Explanation:<br \/>\nLine 21: When the gallery start image0 is attached to be displayed.<br \/>\nLine 22: An onEnterFrame function is created which will execute any code inbetween the braces {} repeatedly, at the frame rate (30) of the movie.<br \/>\nLine 23: Another loop is used to rotate each thumb counter clockwise with 0.5 degrees. This needs to be done because when the thumbnail holder is spinning round (line 27) the thumbnails will stop being upright.<br \/>\nLine 25: Last we rotate the thumbHolder by 0.5 degreess. You can change the value of this and line 27 to increase or decrease the speed of the rotation.<br \/>\n<a name=\"imageclose-2204\"><div class=\"lb-album\"><a href=\"#image-2204\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/33.jpg\"  class=\"alignleft size-full wp-image-2207\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2204\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2204\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/33.jpg\" alt=\"image-2204\">\r\n                   <\/div><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Step 34: the final code is<br \/>\n<a name=\"imageclose-2205\"><div class=\"lb-album\"><a href=\"#image-2205\"><img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/34.jpg\"  class=\"alignleft size-full wp-image-2208\"><span><\/span><\/a><\/div>              \r\n<a href=\"#imageclose-2205\" class=\"css3lightbox-close\">\r\n\t\t\t\t   <div class=\"lb-overlay\" id=\"image-2205\">\r\n                   <img src=\"http:\/\/www.searchenginegenie.com\/web-design-blog\/wp-content\/uploads\/2012\/11\/34.jpg\" alt=\"image-2205\">\r\n                   <\/div><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: open a new flash file. Set the width to 600 pixels and the height to 540 pixels. For this pictorial we need 8 images. We have to resize them with 330*330 for the main image and 75*75 thumbnail images. Name the images image-0 to image-7 and thumb-0 to thumb-7 and then import them [&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,4],"tags":[22,29,116,48,19,20,21,24,33],"class_list":["post-2171","post","type-post","status-publish","format-standard","hentry","category-flash","category-photoshop","tag-animation-in-flash","tag-flash-2","tag-flash-actionscript","tag-flash-actionscript-gallery","tag-photo-album-flash","tag-photo-gallery-in-flash","tag-slider-in-flash","tag-spining-of-earth-in-flash","tag-zooming-effect-in-flash"],"_links":{"self":[{"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/posts\/2171","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=2171"}],"version-history":[{"count":22,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/posts\/2171\/revisions"}],"predecessor-version":[{"id":2230,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/posts\/2171\/revisions\/2230"}],"wp:attachment":[{"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/media?parent=2171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/categories?post=2171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.searchenginegenie.com\/web-design-blog\/wp-json\/wp\/v2\/tags?post=2171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}