in navigateToURL keep the second parameter “_self” example: navigateToURL (url,”_self”);. if you want to show your your file in a window then you will have to. navigateToURL(new URLRequest(“http://”), “_blank”);. OR Think you guys can do something about it for Flex 3? This was not an issue. Steps to reproduce: 1. Create AIR application 2. create a function simlar to what follows, using the POST method: var variables:URLVariables = new.
|Published (Last):||1 September 2010|
|PDF File Size:||13.81 Mb|
|ePub File Size:||12.52 Mb|
|Price:||Free* [*Free Regsitration Required]|
Opens or replaces a window in the application that contains the Flash Player container usually a browser.
Navibatetourl or replaces a window in the application that contains the Flash Player container usually a browser. Example The following example passes data about a user session, captured in a URLVariables object, to the application at http: You can enter the name of a specific window or use one of the following values: Class Looks up a class that previously had an alias registered through a call to the registerClassAlias method.
URI schemes are supported. You can avoid this situation by reclassifying this SWF file as local-with-networking or trusted. If the registerClassAlias call were removed, the code would output false. If you do not specify a value for this parameter, a new empty window is created.
This example uses the registerClassAlias function to register an alias com.
The following example opens the URL http: The following example illustrates the syntax for launching the device telephone dialer with a specified number.
When code in a SWF file that is navigateturl in the local-with-filesystem sandbox calls the navigateToURL function and specifies a custom window name for the window parameter, the window name is transfered into javigatetourl random name.
Sends a URL request to a server, but ignores any response. When you navigate to a URL using one of these schemes, navigaettourl runtime opens the URL in the default application for handling the scheme. The other values don’t apply. A separate application or utility, such as a phone dialer must be available to process the URL. This method does navigaretourl interact with the flash. Throws TypeError — If either parameter is null.
If not found, an exception will be thrown.
Similarly, if the decoding context does not have the same alias registered, an anonymous object is created for the decoded data.
SecurityError — This error is thrown in the following situations: Good data validation for URLs can mean different things depending on the usage of the URL within the overall application.
The encoding and decoding contexts do not need to use the same class for an alias; they can intentionally change classes, provided that the destination class contains all of the members that the source class serializes. The following URL schemes are allowed:. The following example illustrates the syntax for launching the device text message application with a specified receipient. Thus, navigating to tel: Throws SecurityError — This error is thrown in the following situations: TypeError — If either parameter is null.
The following URL schemes are allowed: The POST operation must be performed in response navigatetiurl a user-initiated action, such as a mouse click or key press. The following example opens the URL http: If not found, an exception will be thrown.
If the registerClassAlias call were removed, the anvigatetourl would output false. If you do not specify a value for this parameter, a new empty window is created.
IOError — The digest property of the request object is not null. When navigahetourl in a SWF file that is running in the local-with-filesystem sandbox calls the navigateToURL function and specifies a custom window name for the window parameter, the window name is transfered into a random name.
See also ObjectEncoding class. If the syntax appears to be invalid, the POST operation is subject to the security rules applied to uploads. A navigate operation attempted to evaluate a scripting pseudo-URL, but the containing document usually an HTML document in a browser is from a sandbox to which you do not have access. You cannot navigate a window with a nondefault name from within a SWF file that is in the local-with-filesystem sandbox.