Skip to content

Commit

Permalink
Merge pull request AdamAtomic#71 from IQAndreas/fix_issue_193
Browse files Browse the repository at this point in the history
Fix issue #38, AdamAtomic#193 - FlxPreloader.myURL should take a proper URL
  • Loading branch information
moly committed Sep 15, 2012
2 parents 2886406 + 11c62d1 commit dde536b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion org/flixel/system/FlxPreloader.as
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dde536b

Please sign in to comment.