diff --git a/org/flixel/system/FlxPreloader.as b/org/flixel/system/FlxPreloader.as index 1ccde431..f0489fc6 100755 --- a/org/flixel/system/FlxPreloader.as +++ b/org/flixel/system/FlxPreloader.as @@ -133,7 +133,8 @@ package org.flixel.system private function goToMyURL(event:MouseEvent=null):void { - navigateToURL(new URLRequest("http://"+myURL)); + var prefix:String = myURL.match(/^https?:/) ? "" : "http://"; + navigateToURL(new URLRequest(prefix+myURL)); } private function onEnterFrame(event:Event):void