Return to Snippet

Revision: 27844
at June 25, 2010 03:06 by rwitten


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

Initial URL

                                

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

Initial Title
Detect host of flash file

Initial Tags

                                

Initial Language
ActionScript 3