= 0 || appUrl.indexOf(".as") >= 0) { files[0] = appUrl; } else if (appUrl.indexOf(".swf") == -1) { files[0] = appUrl + ".mxml"; } if (srcUrl != null && srcUrl != "") { // other source files are shown in the subsequence tabs var otherSrc:Array = srcUrl.split("&"); files = files.concat(otherSrc); } for (var i:int = 0; i < files.length ; i++) { tabs[i] = new SourceTab(); tn.addChild(tabs[i]); tabs[i].source = files[i]; tabs[i].app = appUrl; } } } public function thirdPartyWarning():void { tn.removeAllChildren(); tn.addChild(new ThirdPartyTab()); } ]]>