home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Freeware / Adobe Air 1.5 / AdobeAIRInstaller.exe / setup.swf / scripts / mx / utils / LoaderUtil.as < prev    next >
Encoding:
Text File  |  2008-10-29  |  408 b   |  21 lines

  1. package mx.utils
  2. {
  3.    import flash.display.LoaderInfo;
  4.    
  5.    public class LoaderUtil
  6.    {
  7.       public function LoaderUtil()
  8.       {
  9.          super();
  10.       }
  11.       
  12.       public static function normalizeURL(param1:LoaderInfo) : String
  13.       {
  14.          var _loc2_:String = param1.url;
  15.          var _loc3_:Array = _loc2_.split("/[[DYNAMIC]]/");
  16.          return _loc3_[0];
  17.       }
  18.    }
  19. }
  20.  
  21.