{"id":8202,"date":"2011-05-20T06:36:04","date_gmt":"2011-05-20T10:36:04","guid":{"rendered":"http:\/\/info.template-help.com\/?p=8202"},"modified":"2020-01-29T03:55:11","modified_gmt":"2020-01-29T08:55:11","slug":"xml-flash-create-button-assign-link-as-3-0","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/xml-flash-create-button-assign-link-as-3-0.html","title":{"rendered":"XML Flash. Create button &amp; assign link (AS 3.0)"},"content":{"rendered":"<p>This tutorial will show  you how to create a button and assign an External link in Flash XML  template,\u00a0 using AS3 (actions script 3.0)<\/p>\r\n\r\n  <p>1)  Locate &quot;All Content&quot; movie clip. It may also be named as  &quot;pages&quot;, &quot;pages_all&quot; &quot;pages2&quot;<\/p>\r\n  \r\n\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/pages.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/pages-300x113.jpg\" alt=\"\" title=\"pages\" width=\"300\" height=\"113\" class=\"aligncenter size-medium wp-image-8208\" \/><\/a>\r\n\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/content.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/content-261x300.jpg\" alt=\"\" title=\"content\" width=\"261\" height=\"300\" class=\"aligncenter size-medium wp-image-8203\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/content-261x300.jpg 261w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/content.jpg 282w\" sizes=\"(max-width: 261px) 100vw, 261px\" \/><\/a>\r\n  \r\n <p> 2) Import an image to your library: File  &#8211; Import &#8211; Import to Library<\/p>\r\n \r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/import.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/import-261x300.jpg\" alt=\"\" title=\"import\" width=\"261\" height=\"300\" class=\"aligncenter size-medium wp-image-8205\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/import-261x300.jpg 261w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/import.jpg 445w\" sizes=\"(max-width: 261px) 100vw, 261px\" \/><\/a>\r\n  \r\n<p>Then  locate this image in the library and drag it into the Scene.<\/p>\r\n\r\n<p>3)  Convert this image into the button:<\/p>\r\n\r\n<p>right  click on the image and choose Convert to Symbol option choose  button and click OK<\/p>\r\n\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/convert.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/convert-300x128.jpg\" alt=\"\" title=\"convert\" width=\"300\" height=\"128\" class=\"aligncenter size-medium wp-image-8204\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/convert-300x128.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/convert.jpg 412w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Select  your new button and navigate to Properties panel.<\/p>\r\n<p>There,  you should spcify the &quot;instance name&quot;<\/p>\r\n\r\n<p>This  can be anything you wish. We are going to use &quot;imagenew&quot; in this  example:<\/p>\r\n\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/instancename.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/instancename-300x129.jpg\" alt=\"\" title=\"instancename\" width=\"300\" height=\"129\" class=\"aligncenter size-medium wp-image-8206\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/instancename-300x129.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/instancename.jpg 705w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  \r\n<p>4)  Navigate to the timeline, and create a new layer.<\/p>\r\n\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/layer_script.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/layer_script-300x238.jpg\" alt=\"\" title=\"layer_script\" width=\"300\" height=\"238\" class=\"aligncenter size-medium wp-image-8207\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/layer_script-300x238.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/layer_script.jpg 703w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Press  F9 key to open the action script panel and insert a script:<\/p>\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/script.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/script-300x69.jpg\" alt=\"\" title=\"script\" width=\"300\" height=\"69\" class=\"aligncenter size-medium wp-image-8209\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/script-300x69.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/script.jpg 649w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  \r\n<ul>\r\n  <li>specify your &quot;instance name&quot; here<\/li>\r\n  <li>specify your\u00a0 website URL  address\u00a0 here<\/li>\r\n  <li>use &quot;_blank&quot; for opening page in New Window and use  &quot;_top&quot; to open in the same window.<\/li>\r\n<\/ul>\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n<p>5)  Publish your .fla file:  press  CTRL+ENTER or  File-&gt;  Publish Preview-&gt; Flash<\/p>\r\n\r\n<p class=\"note\">Note:  this button will only work once uploaded to the server. It will not open the  URL while previewing the .SWF file itself.<\/p>\r\n\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n\r\nFeel free to check the detailed video tutorial below:\r\ncreate button assign link as3 xml flash","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to create a button and assign an External link in Flash XML template,\u00a0 using AS3 (actions script 3.0) 1) Locate &quot;All Content&quot; movie clip. It may also be named as &quot;pages&quot;, &quot;pages_all&quot; &quot;pages2&quot; 2) Import an image to your library: File &#8211; Import &#8211; Import to Library Then locate [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[287],"tags":[924,923,536,486,521,570],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8202"}],"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=8202"}],"version-history":[{"count":2,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8202\/revisions"}],"predecessor-version":[{"id":85759,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8202\/revisions\/85759"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=8202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=8202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=8202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}