Skip to content

Commit

Permalink
[ADD] Allow cross-domain loading swf
Browse files Browse the repository at this point in the history
  • Loading branch information
flashphoner committed Oct 13, 2016
1 parent 3252838 commit 3c95bb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flash/com/flashphoner/api2/Main.as
Expand Up @@ -51,6 +51,7 @@ package com.flashphoner.api2 {
}

private function creationHandler(e:FlexEvent):void {
Security.allowDomain("*");
//save config
Main.config = parameters;
scopeId = parameters.id;
Expand Down

0 comments on commit 3c95bb5

Please sign in to comment.