{"id":8267,"date":"2011-05-23T04:44:04","date_gmt":"2011-05-23T08:44:04","guid":{"rendered":"http:\/\/info.template-help.com\/?p=8267"},"modified":"2020-01-31T03:38:30","modified_gmt":"2020-01-31T08:38:30","slug":"how-to-assign-link-to-text","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-assign-link-to-text.html","title":{"rendered":"How to assign link to text"},"content":{"rendered":"<p>\r\n<p>First of all you should open source <strong>&ldquo;FLA&rdquo;<\/strong> file in Adobe Flash editor. To add links to the button symbols in your flash  movie do the following. First of all you should locate button symbol you want  links be assigned to. Open the library (CTRL+L) and locate pages movie clip.  Usually called &ldquo;pages_all&rdquo;, &ldquo;pages&rdquo;, &ldquo;pages2&rdquo;, &ldquo;content&rdquo; or &ldquo;all_content&rdquo;. <\/p>\r\n<p>Using  the timeline slider, navigate to the page where your text is. Locate the text  and click on it to select. Now you should check whether it is a button layer or  not. It must be a <strong>&ldquo;Button&rdquo;<\/strong>. If it is <strong>&ldquo;Movie Clip&rdquo;<\/strong>, <strong>&ldquo;Graphics&rdquo;<\/strong> or some other that differs from <strong>&ldquo;Button&rdquo;<\/strong> you can&rsquo;t assign links to it in  the right way. Don&rsquo;t change it to the <strong>&ldquo;Button&rdquo;<\/strong> because it will damage  original rollover structure.<\/p>\r\n<p align=\"center\"><a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/assign_link_to_text-1.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/assign_link_to_text-1-300x190.jpg\" alt=\"\" title=\"assign_link_to_text-1\" width=\"300\" height=\"190\" class=\"aligncenter size-medium wp-image-8268\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/assign_link_to_text-1-300x190.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/assign_link_to_text-1-150x95.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/assign_link_to_text-1-768x487.jpg 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/assign_link_to_text-1-1024x650.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/assign_link_to_text-1.jpg 1355w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>As we can see it is not a &ldquo;<strong>Button<\/strong>&rdquo;. <br \/>\r\nDouble click this symbol to get inside of it. Now, we can see the Button layer.  Press <strong>&ldquo;F9<\/strong><strong>\u2033<\/strong> key to  open Actions panel. If this button has rollover effect, you will see following  script code there:<\/p>\r\n<pre class=\"brush:as3\">\r\n  on (rollOver) {<br \/>\r\n  gotoAndPlay(&quot;s1&quot;);<br \/>\r\n  }<br \/>\r\n  on (releaseOutside,  rollOut) {<br \/>\r\n  gotoAndPlay(&quot;s2&quot;);<br \/>\r\n  }<\/pre>\r\n<p> Add there following get URL  action script code:<\/p>\r\n<pre class=\"brush:as3\">\r\n  on (release) {<br \/>\r\n  getURL(&ldquo;your_url_here&rdquo;);<br \/>\r\n}<\/pre>\r\n<p>&nbsp;<\/p>\r\n<p>You should type URL button  will be linked to as get URL function argument. For example, if you want to  link button to your contacts page type the following:<\/p>\r\n<pre class=\"brush:as3\">\r\n  on (release) {<br \/>\r\n  getURL(&ldquo;http:\/\/mywebsite.com\/contacts.html&rdquo;);<br \/>\r\n}\r\n<\/pre>\r\n<p>Actually, get URL function  accepts three arguments: URL, window type and variables send method. Window  type argument specifies where new URL will be opened. If this argument is blank  the link will be open in the same window. If you want to open it in a new  window, use the <strong>&ldquo;_blank&rdquo;<\/strong> argument. Variables send method should be used  if you are parsing some variables through the URL string. The available options  are <strong>&ldquo;GET&rdquo;<\/strong> and <strong>&ldquo;POST&rdquo;<\/strong>. Next action script example calls products  page with &ldquo;item&rdquo; variable with &ldquo;9\u2033  value in the same window using a GET method.<\/p>\r\n<pre class=\"brush:as3\">\r\n  <br \/>\r\n  on (release) {<br \/>\r\n  getURL(&ldquo;http:\/\/mywebsite.com\/products.php?item=9\u2033,  &ldquo;_self&rdquo;, &ldquo;GET&rdquo;);<br \/>\r\n}<\/pre>\r\n<p>Here is  what we have in our particular example:<\/p>\r\n<pre class=\"brush:as3\">\r\n  on (rollOver) {<br \/>\r\n  gotoAndPlay(&quot;s1&quot;);<br \/>\r\n  }<br \/>\r\n  on (releaseOutside, rollOut) {<br \/>\r\n  gotoAndPlay(&quot;s2&quot;);<br \/>\r\n  }<br \/>\r\n  on (release){<br \/>\r\n  getURL(&quot;http:\/\/template-help.com&quot;);<br \/>\r\n}<\/pre>\r\n<p>&nbsp;<\/p>\r\n<p align=\"center\"><a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/assign_link_to_text-2.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/05\/assign_link_to_text-2-300x192.jpg\" alt=\"\" title=\"assign_link_to_text-2\" width=\"300\" height=\"192\" class=\"aligncenter size-medium wp-image-8269\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/assign_link_to_text-2-300x192.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/assign_link_to_text-2-1024x655.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/assign_link_to_text-2.jpg 1346w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>  Publish the .FLA file. You may use(CTRL+ENTER) short key or go to  <strong>File-&gt;Publish Preview-&gt; Flash <\/strong><\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p>how to change Google Map location in WordPress<br \/><\/p>","protected":false},"excerpt":{"rendered":"<p>First of all you should open source &ldquo;FLA&rdquo; file in Adobe Flash editor. To add links to the button symbols in your flash movie do the following. First of all you should locate button symbol you want links be assigned to. Open the library (CTRL+L) and locate pages movie clip. Usually called &ldquo;pages_all&rdquo;, &ldquo;pages&rdquo;, &ldquo;pages2&rdquo;, [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[279],"tags":[882,923,486,521,518],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8267"}],"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=8267"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8267\/revisions"}],"predecessor-version":[{"id":86029,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8267\/revisions\/86029"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=8267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=8267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=8267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}