Made a parameter name more descriptive (as well as reversing the meaning...).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4290 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -10,10 +10,10 @@ public class NetUtil
|
|||||||
* having to worry about SecurityErrors in various conditions.
|
* having to worry about SecurityErrors in various conditions.
|
||||||
*/
|
*/
|
||||||
public static function navigateToURL (
|
public static function navigateToURL (
|
||||||
url :String, newWindow :Boolean = false) :void
|
url :String, preferSameWindowOrTab :Boolean = true) :void
|
||||||
{
|
{
|
||||||
var ureq :URLRequest = new URLRequest(url);
|
var ureq :URLRequest = new URLRequest(url);
|
||||||
if (!newWindow) {
|
if (preferSameWindowOrTab) {
|
||||||
try {
|
try {
|
||||||
flash.net.navigateToURL(ureq, "_self");
|
flash.net.navigateToURL(ureq, "_self");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user