This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 1. Imports */ | |
| import flash.display.LoaderInfo; | |
| import flash.display.Loader; | |
| import flash.net.URLRequest; | |
| import flash.events.Event; | |
| import flash.system.Security; | |
| /* 2. Get the url from the flashvars */ | |
| var params:Object = LoaderInfo(root.loaderInfo).parameters; /* Access to the root object is required */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 1. Imports */ | |
| import flash.display.LoaderInfo; | |
| import flash.display.Loader; | |
| import flash.net.URLRequest; | |
| import flash.events.Event; | |
| import flash.system.Security; | |
| /* 2. Get the url from the flashvars */ | |
| var params:Object = LoaderInfo(root.loaderInfo).parameters; /* Access to the root object is required */ |