Resource icon

Show Mod Info 1.0

Please register for a free account to download
Code:
import flash.display.DisplayObject;

import flash.display.MovieClip;

package flash
{
   public dynamic class Main extends flash.display.MovieClip
   {
     public var lProxy;
     public var g;
     public var main;
     
     public function initl(l)
     {
       main = l;
       var parseMod = lProxy.createProxy(g.customElementLoader, "parseMod");
       parseMod.addPre(printModInfo, true);
       l.unloadMod();
     }

     function printModInfo(incomingMod:Object):void
     {
       if ((incomingMod.mods == null) || (incomingMod.mods.length == 0)) { return; }
       main.updateStatusCol(incomingMod.modName + ", created by: " + incomingMod.modCreator,"#00ff00");
       for each (var modElement:Object in incomingMod.mods) {
         main.updateStatusCol(modElement.modType,"#0000ff");
       }
     }

   }
}
Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.