Detect host of flash file


/ Published in: ActionScript 3
Save to your folder(s)

"scope" is project-specific and is probably optional. The object issuing the call needs to be added to the stage.


Copy this code and paste it in your HTML
  1. if (scope.root.loaderInfo.loaderURL.toString().toLowerCase().split(":")[0] == "file") {

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.