Posted By

rwitten on 06/25/10


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


Detect host of flash file

 / Published in: ActionScript 3

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

  1. if (scope.root.loaderInfo.loaderURL.toString().toLowerCase().split(":")[0] == "file") {

Report this snippet  

You need to login to post a comment.