Bangnigaoding getURL command

Related Tags:

  Since it is a network animation, FLASH animation and the "hyperlink" Contact is essential, we FLASH below in a popular and a very important function ACTION getURL () to do a summary. 

  First getURL trigger There are two main ways: 

  [1] passive audience in the way links in the online animation of a time Fok added getURL command, animation, broadcast to the Fok getURL automatically link to the page address specified parameters. 
  [2] The initiative links the audience to a scene in the form of a button to add a getURL command, was triggered when the button, animation links to pages getURL parameters specified address. 

  ACTION panel in its position: 
  FLASH5.0: ACTIONS - getURL 
  FLASH MX: ACTIONS--Browser/Network--getURL 

  Grammatical forms: getURL ( "url", "window" and "variables"); 

  Parameters: 

  [1] url parameters: url documents used to obtain the unified Position of resources.    Note the time to write complete integrity than www.sina.com.cn address bar in IE can write directly, but here, we must be written http://www.sina.com.cn can, of course, FTP address, CGI scripts are also can be used as parameters. 
  These are absolute address, it complete write a unified position resources. 
  In fact, this can also use relative Address: 
  If SWF and the resources should be opened in the same directory can be directly written to open the file name and suffix.    If getURL ( "aaa.swf); 
  If a directory of resources coming on to / the beginning, such as getURL ( "/ aaa.swf"); 
  If resources in the parent directory, to .. / beginning, as gerURL ("../ aaa.swf) "; 
  Above that refers to the directory SWF files stored directory as the benchmark. 


  [2] windows parameters: establishment of the links to visit the web page window opens way.    Fok can enter their own names or window (with Dreamweaver in the framework of setting).    Also available on the drop-down list options: 
  _self: In the current browser to open links. 
  _blank: In the new window opens website. 
  _parent: In the current location of the browser window on an open link.    In cases of multiple nested in the framework of mutual, and the link to the url film itself only where the replacement page, you can use this option. 
  _top: In the current browser to open a new link above.    If you Dreamweaver framework in a number of settings, in a framework of the film, when you would like to link to the URL does not replace any framework framework on all out now, OK, the election it well. 
  [3] Variable parameters: parameters of the transmission requirements.    In most cases, the default parameters Dont Send.    If you want to submit scripts to the server, we must election Send Using GET or Send Using POST.    "." GET "that will directly add to the list of parameters url, together with the generally applies with few parameters and simple," POST "separate list of parameters that will be submitted in speed will be slow, but not easy to lose data, application and parameters of the situation more complicated. 




  ------------------------------- 
  Other uses URL: 

  [1] mail program triggered by getURL mail procedures to achieve the trigger effect (when you point the button, open automatically, such as the local machine OUTLOOK default mail program) only need to write this getURL ( "mailto: flasher@flasherclub.com") can be, and to the attention of mail is no space between the oh.    His e-mail address on the need to change. 

  [2] desktop shortcut links remember when the last Longgan full-screen animation desktop, the desktop shortcut connecting the address are generally more can it say, as getURL ( "E: \ My Documents \ FLASH \ FLASH GAME"), but Desktop as a must [my computer] [my documents], such as special links bar, I have to tell you I am a failure lesson: If you write getURL ( "My Computer"), is null and void and Below Some are rather special desktop link parameters: 
  Links [my computer] gerURL ( "file &:///::{ 20D04FE0-3AEA-1069-A2D8-08002B30309D)"); 
  Links [my documents] gerURL ( "file &:///::{ 450D8FBA-AD25-11D0-98A8-0800361B1103)"); 
  Links [online neighbors] getURL ( "file &:///::{ 208D2C60-3AEA-1069-A2D7-08002B30309D)"); 
  Links [Navigating] gerURL ( "file &:///::{ 20D04FE0-3AEA-1069-A2D8-08002B30309D }/::{ 21EC2020-3AEA-1069-A2DD-08002B30309D)"); 
  Links [recycle bin] getURL ( "file &:///::{ 645FF040-5081-101B-9F08-00AA002F954E)"); 

  [3] website called the javascript function format: getURL ( "javascript: function ()"); 
  html function of which is the definition of the function or the function of the library. 
  Principle: When animation implementation getURL command, the search will begin this animation swf html pages of documents known as function of the javascript function, and the immediate implementation of the function. 

  For here the most common examples - use getURL call javascript open a new window as follows: 
  The following code will be added to the button on the Flash 
  On (release) ( 
  GetURL ( "javascript: openNewWindow ( 'URL', WindowName, Width, Height, Tool bar, Menu bar, the Location bar, Scroll bar, the Status bar, Resizable)"); 
  ) 

  Set specific parameters are as follows: 
  URL -> pop-up a new window of the page address 
  Width -> width of the window 
  Height -> window height 
  Name -> window of 
  Tool bar -> the need Toolbar 
  Menu bar -> ........ menu bar 
  Location bar -> Address Bar .... 
  Scroll bar -> ..... scroll 
  Status bar -> status bar ...... 
  Resizable -> can change size 

  Published into HTML format, and then open the file, add it to a section of code used to define a function called openNewWindow. 
  <script Language="javascript"> 
  <! -- 
  Function openNewWindow (URL, Name, features) ( 
  Window.open (URL, Name, features); 
  ) 
//-->
  </ Script> 

  This function is to use the function "for the features and characteristics of a new window called Name" open "for the URL address of the website document." 

  Source: World FlashEmpire 

Related articles:

Experience with the summing-up: personal websites key factor in the development of
  First, positioning    1. Clear objectives.    Clear goals are to do site planning in the concept of time to ponder over, and most of them have a "great" goals.    But these objectives are reasonable, it really clear, the need to investigate carefully,...
Flash production practical, chic, the navigation menu
  Demonstration effects:  <embed src=http://bbs.flash8.net/bbs/UploadFile/2005-8/2005816112625606.swf pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width=550 height=150>   Click here to d...
WAP mobile Internet issues Q & A
  One, how do I type the URL?    1, open the phone and go to 'service' options    2, press the 'set' button    3, Check 'bookmark'    4, press' set 'button    5, select 'Add bookmark'    6...
JS capture web browser window closing and refresh
  Operation code box    <script Language="javascript"> <! - Var s = "close"; function window.onunload () (if (s == "fresh") if (window.screenLeft> 10000) (alert ( 'closed') ;) else (alert ( 'refresh');) else alert ( 'close...
Page picture of random
  Random show is a picture of a very wide range of skills.    For example, the random banner that when you enter a Web site, its banner is different, or the total content of different tips (tips), the Internet browser you will often find such examples.    The use of this tec...