Use getURL () to open a new web page in Flex

xiaoxiao2021-03-06  38

Depending on the DOC of Flex1.5, use getURL () to open or jump on the web page

The statement of this method is

GetURL

URL: String [,

Window: String [,

"Variables": string]])

: Void URL is a webpage path, or a relative path, such as

http: // localhost: 8080 / flexweb / index.jsp or /flexweb/index.jsp

Window refers to the state of the web page, _BLANK, _SELF, _

PARENT, _TOP, etc. VARIABLES A GET or POST indicates the transmission mode used to pass the parameters after the URL is passed to the background. I add this parameter when I test, getURL does not have the effect, I can only remove it. The following is the example of using GetURL ("Mailto: You@somain.com"); GetURL ("JavaScript: Alert ('You Clicked Me')"); getURL ("http://www.macromedia.com", "_blank", "get") ; // Don't work getURL ("http://www.macromedia.com", "_blank"); // Can work getURL ("http://www.macromedia.com", "_blank", "post") ; //can not work

转载请注明原文地址:https://www.9cbs.com/read-70269.html

New Post(0)