{"id":10567,"date":"2011-10-04T06:38:37","date_gmt":"2011-10-04T10:38:37","guid":{"rendered":"http:\/\/info.template-help.com\/?p=10567"},"modified":"2020-02-06T09:13:22","modified_gmt":"2020-02-06T14:13:22","slug":"flash-as3-how-to-set-off-by-default","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/flash-as3-how-to-set-off-by-default.html","title":{"rendered":"Flash. AS3. How to set sound OFF by default Flash."},"content":{"rendered":"<p>Our Support team is ready to present you a new tutorial on how to set sound OFF bt deult in flash AS3 templates. One click on the button and the video will smoothly take you through this step by step. <\/p>\r\n\r\n<!--more-->\r\n\r\n<p>1. Open the .FLA file from  &lsquo;sources\/flash&rsquo; folder in Adobe Flash program.<\/p>\r\n\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off1.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off1-300x113.jpg\" alt=\"\" title=\"sounf_off1\" width=\"300\" height=\"113\" class=\"alignnone size-medium wp-image-10569\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off1-300x113.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off1-1024x388.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off1.jpg 1200w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  \r\n<p>2. Locate the sound layer and open it  to get to the movie clip &lsquo;soundButton&rsquo;.<\/p>\r\n<p>3. On the last key frame, locate the ActionScript  and open the script panel (f9 key).<\/p>\r\n\r\n <a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off2.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off2-300x113.jpg\" alt=\"\" title=\"sounf_off2\" width=\"300\" height=\"113\" class=\"alignnone size-medium wp-image-10570\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off2-300x113.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off2-1024x388.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off2.jpg 1197w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  \r\n<p>4. You will see this code: <\/p>\r\n\r\n<pre class=\"brush:as3\">\r\nstop();\r\nMovieClip(root).soundControll(fullSound);\r\n<\/pre>\r\n\r\n<p>5. Copy the second line of code and  remove it.<\/p>\r\n<p>6. On the same layer, approximately on  the key frame 8 or 10 insert this code:<\/p>\r\n\r\n<pre class=\"brush:as3\">\r\n  MovieClip(root).soundControll(fullSound);\r\n  fullSound.dispatchEvent(new MouseEvent(MouseEvent.CLICK;))\r\n<\/pre>\r\n  \r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off3.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off3-300x115.jpg\" alt=\"\" title=\"sounf_off3\" width=\"300\" height=\"115\" class=\"alignnone size-medium wp-image-10571\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off3-300x115.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off3-1024x395.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off3.jpg 1198w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>7. Navigate back to Scene1 (main  scene). On the timeline, locate the sound and <\/p>\r\n<p>move the &lsquo;start  position&rsquo; further to the right.<\/p>\r\n\r\n <a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off4.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off4-300x103.jpg\" alt=\"\" title=\"sounf_off4\" width=\"300\" height=\"103\" class=\"alignnone size-medium wp-image-10572\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off4-300x103.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off4-1024x354.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off4.jpg 1198w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off5.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/10\/sounf_off5-300x92.jpg\" alt=\"\" title=\"sounf_off5\" width=\"300\" height=\"92\" class=\"alignnone size-medium wp-image-10568\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off5-300x92.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off5-1024x315.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/10\/sounf_off5.jpg 1196w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>8. This is it. You may publish the .fla  file using the short key (CTRL+ENTER) or File-&gt;Publish-&gt;Publish Preview <\/p>\r\n\r\n<p>&nbsp;<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\nFlash. AS3. How to set OFF by default","protected":false},"excerpt":{"rendered":"<p>Our Support team is ready to present you a new tutorial on how to set sound OFF bt deult in flash AS3 templates. One click on the button and the video will smoothly take you through this step by step.<\/p>\n","protected":false},"author":12,"featured_media":10574,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[742,279,760],"tags":[1070,486,516,519],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/10567"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=10567"}],"version-history":[{"count":2,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/10567\/revisions"}],"predecessor-version":[{"id":86394,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/10567\/revisions\/86394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/10574"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=10567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=10567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=10567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}