{"id":18036,"date":"2012-05-04T05:19:52","date_gmt":"2012-05-04T09:19:52","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=18036"},"modified":"2012-05-04T05:19:52","modified_gmt":"2012-05-04T09:19:52","slug":"xml-flash-how-to-create-inner-pages-links","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/xml-flash-how-to-create-inner-pages-links.html","title":{"rendered":"XML Flash. How to create inner pages links"},"content":{"rendered":"<p>In this tutorial you will learn how to create Inner Page links in XML Flash templates (AS2)<\/p>\r\n\r\n<p>Open &#8216;tfile_main.xml&#8217; file from &#8216;sources\/flash&#8217; folder. in some cases, we will find &#8216;main.xml&#8217; file in &#8216;sources\/flash\/xml&#8217; folder.<\/p>\r\n<p>Find a page, on which we want add button with link to inner page.<\/p>\r\n<p>Add new text:<\/p>\r\n\r\n<p><pre class==\"brush:xml\"> <pageText><![CDATA[Fresh Portfolio]]><\/pageText><\/pre><\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_1-300x225.jpg\" alt=\"\" title=\"inner_page_link_1\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-18037\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_1-300x225.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Save this file.<\/p>\r\n\r\n<p>Open &#8216;.fla&#8217; file, located in the &#8216;sources\/flash&#8217; folder.<\/p>\r\n<p>Find &#8216;menu&#8217; movie clip in the library. Usually called &#8216;menu&#8217;, &#8216;menu_mov&#8217; or &#8216;menu all&#8217;<\/p>\r\n<p>Find a button layer for the menu item and open Action Script panel.<\/p>\r\n<p>we should find and copy the <strong> on (release) { <\/strong> script<\/p>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_2-300x225.jpg\" alt=\"\" title=\"inner_page_link_2\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-18038\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_2-300x225.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Find all pages movie clip in the library. Usually called &#8216;all_pages&#8217;, &#8216;pages2&#8217;, &#8216;all_content&#8217; or &#8216;content&#8217;<\/p>\r\n<p>Create new text field. <\/p>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_3-300x189.jpg\" alt=\"\" title=\"inner_page_link_3\" width=\"300\" height=\"189\" class=\"alignnone size-medium wp-image-18039\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_3-300x189.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_3.jpg 933w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Specify Instance name in the properties panel and add Action Script for this text <\/p>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_3_a.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_3_a-300x189.jpg\" alt=\"\" title=\"inner_page_link_3_a\" width=\"300\" height=\"189\" class=\"alignnone size-medium wp-image-18040\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_3_a-300x189.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_3_a.jpg 933w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Using a Rectangular tool, create object to cover our new text field. <\/p>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_4-300x189.jpg\" alt=\"\" title=\"inner_page_link_4\" width=\"300\" height=\"189\" class=\"alignnone size-medium wp-image-18041\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_4-300x189.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_4.jpg 933w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Convert new object to a button<\/p>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_4_a.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_4_a-225x300.jpg\" alt=\"\" title=\"inner_page_link_4_a\" width=\"225\" height=\"300\" class=\"alignnone size-medium wp-image-18042\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_4_a-225x300.jpg 225w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_4_a.jpg 412w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/><\/a>\r\n\r\n<p>Cover text field with new button created. <\/p>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_5-300x187.jpg\" alt=\"\" title=\"inner_page_link_5\" width=\"300\" height=\"187\" class=\"alignnone size-medium wp-image-18043\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_5-300x187.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_5.jpg 942w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Open Action Script panel of new button and paste the script which we have copied from the menu item.<\/p>\r\n\r\n<p>Change &#8216;link_num&#8217; to a page number. <\/p>\r\n\r\n<p>For example, since we want our new button to open a Contact page, we should replace &#8216;link_num&#8217; with number 5<\/p>\r\n<a href=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_5_a.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_5_a-300x187.jpg\" alt=\"\" title=\"inner_page_link_5_a\" width=\"300\" height=\"187\" class=\"alignnone size-medium wp-image-18044\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_5_a-300x187.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/04\/inner_page_link_5_a.jpg 942w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Publish .FLA file to see the preview.<\/p>\r\n\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"\/help\/files\/xml\/creating_inner_page_link_xml_as2(25813).htm\" target=\"blank\">XML Flash. How to create inner pages links.<\/a>","protected":false},"excerpt":{"rendered":"<p>In this tutorial you will learn how to create Inner Page links in XML Flash templates (AS2).<\/p>\n","protected":false},"author":12,"featured_media":18046,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[784,287,760],"tags":[882,1107,1239,521,1192],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/18036"}],"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=18036"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/18036\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/18046"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=18036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=18036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=18036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}