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."
- Action Applications: getURL framework can be updated
- Bangnigaoding getURL command
- JS achieve browser menu command
- AS BUG in the getURL existence and specific solutions
- Flash ActionScript Learning: getURL function of the use of the Guide
- In establish their own fireworks in Command
- Bangnigaoding getURL command
- Flash help you operate faster JSFL command sets
- Bangnigaoding getURL command
- GetURL function of the use of the Guide




