Section 1
//acc_26 (cdeboys_pirate_fla.acc_26)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class acc_26 extends MovieClip {
public function acc_26(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 2
//adddollbox_47 (cdeboys_pirate_fla.adddollbox_47)
package cdeboys_pirate_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class adddollbox_47 extends MovieClip {
public var frame:int;
public var tab_btn:SimpleButton;
public var dollcode:TextField;
public function adddollbox_47(){
addFrameScript(0, frame1, 14, frame15, 29, frame30);
}
function frame15(){
dollcode.text = MovieClip(this.parent).dollcode;
tab_btn.addEventListener(MouseEvent.MOUSE_DOWN, onTabBtnMouseDownHandler);
frame = 16;
stop();
}
function frame1(){
frame = 2;
tab_btn.addEventListener(MouseEvent.MOUSE_DOWN, onTabBtnMouseDownHandler);
stop();
}
function frame30(){
gotoAndStop(1);
}
public function onTabBtnMouseDownHandler(_arg1:MouseEvent):void{
gotoAndPlay(frame);
}
}
}//package cdeboys_pirate_fla
Section 3
//band_22 (cdeboys_pirate_fla.band_22)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class band_22 extends MovieClip {
public function band_22(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 4
//belt_24 (cdeboys_pirate_fla.belt_24)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class belt_24 extends MovieClip {
public function belt_24(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 5
//bot_17 (cdeboys_pirate_fla.bot_17)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class bot_17 extends MovieClip {
public function bot_17(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 6
//eye_21 (cdeboys_pirate_fla.eye_21)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class eye_21 extends MovieClip {
public function eye_21(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 7
//facial_25 (cdeboys_pirate_fla.facial_25)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class facial_25 extends MovieClip {
public function facial_25(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 8
//gloves_19 (cdeboys_pirate_fla.gloves_19)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class gloves_19 extends MovieClip {
public function gloves_19(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 9
//hat_23 (cdeboys_pirate_fla.hat_23)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class hat_23 extends MovieClip {
public function hat_23(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 10
//Main_mc_2 (cdeboys_pirate_fla.Main_mc_2)
package cdeboys_pirate_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Main_mc_2 extends MovieClip {
public var eye:MovieClip;
public var band:MovieClip;
public var facial:MovieClip;
public var e:ReferenceError;
public var i:uint;
public var MusicClass:Class;
public var outer:MovieClip;
public var acc:MovieClip;
public var hat:MovieClip;
public var stop_btn:SimpleButton;
public var bgs:MovieClip;
public var button10:SimpleButton;
public var button11:SimpleButton;
public var button12:SimpleButton;
public var button13:SimpleButton;
public var play_btn:SimpleButton;
public var shoes:MovieClip;
public var belt:MovieClip;
public var item:MovieClip;
public var musicLoops:uint;
public var gloves:MovieClip;
public var button1:SimpleButton;
public var button4:SimpleButton;
public var button5:SimpleButton;
public var button6:SimpleButton;
public var button7:SimpleButton;
public var button9:SimpleButton;
public var button3:SimpleButton;
public var button8:SimpleButton;
public var musicAutoStart:Boolean;
public var button2:SimpleButton;
public var reset:SimpleButton;
public var weap:MovieClip;
public var musicClassName:String;
public var doNotMoveToTopLayer;
public var tops:MovieClip;
public var cde_btn:SimpleButton;
public var bot:MovieClip;
public var box:MovieClip;
public var dollcode:String;
public var musicSound:Sound;
public function Main_mc_2(){
addFrameScript(0, frame1);
}
public function onItemMouseDownHandler(_arg1:MouseEvent):void{
var _local2:MovieClip;
_local2 = (_arg1.currentTarget as MovieClip);
_local2.startDrag();
if (!_local2.doNotMoveToTopLayer){
this.setChildIndex(_local2, (this.numChildren - 1));
};
}
public function onPlayBtnMouseDownHandler(_arg1:MouseEvent):void{
SoundMixer.stopAll();
if (musicSound != null){
musicSound.play(0, musicLoops);
};
}
public function onMyButton10MouseDownHandler(_arg1:MouseEvent):void{
if (eye.currentFrame < eye.totalFrames){
eye.nextFrame();
} else {
eye.gotoAndStop(1);
};
}
public function onMyButton11MouseDownHandler(_arg1:MouseEvent):void{
if (facial.currentFrame < facial.totalFrames){
facial.nextFrame();
} else {
facial.gotoAndStop(1);
};
}
public function onMyButton12MouseDownHandler(_arg1:MouseEvent):void{
if (weap.currentFrame < weap.totalFrames){
weap.nextFrame();
} else {
weap.gotoAndStop(1);
};
}
public function onMyButton14MouseDownHandler(_arg1:MouseEvent):void{
tops.gotoAndStop(1);
bot.gotoAndStop(1);
gloves.gotoAndStop(1);
band.gotoAndStop(1);
belt.gotoAndStop(1);
outer.gotoAndStop(1);
shoes.gotoAndStop(1);
hat.gotoAndStop(1);
acc.gotoAndStop(1);
eye.gotoAndStop(1);
facial.gotoAndStop(1);
weap.gotoAndStop(1);
bgs.gotoAndStop(1);
}
public function onMyButton13MouseDownHandler(_arg1:MouseEvent):void{
if (bgs.currentFrame < bgs.totalFrames){
bgs.nextFrame();
} else {
bgs.gotoAndStop(1);
};
}
function frame1(){
dollcode = "<iframe src ='http://www.cdeboys.com/cde_boygames_link.html?link=games_pirate.html&name=pirate' WIDTH='902' height='702' frameborder='0' scrolling='auto'></iframe>";
musicClassName = "music";
musicLoops = 9999;
musicAutoStart = true;
doNotMoveToTopLayer = [];
if (((!((musicClassName == null))) && (!((musicClassName == ""))))){
try {
MusicClass = (ApplicationDomain.currentDomain.getDefinition(musicClassName) as Class);
} catch(err:ReferenceError) {
err.message = (("Music '" + musicClassName) + "' does not exist in library. Please check that the 'musicClassName' variable is correct in Configuration layer.");
throw (err);
};
musicSound = (new MusicClass() as Sound);
if (musicAutoStart){
musicSound.play(0, musicLoops);
};
};
play_btn.addEventListener(MouseEvent.MOUSE_DOWN, onPlayBtnMouseDownHandler);
stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, onStopBtnMouseDownHandler);
cde_btn.addEventListener(MouseEvent.MOUSE_DOWN, onCDEBtnMouseDownHandler);
stop();
button1.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton1MouseDownHandler);
button2.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton2MouseDownHandler);
button3.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton3MouseDownHandler);
button4.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton4MouseDownHandler);
button5.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton5MouseDownHandler);
button6.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton6MouseDownHandler);
button7.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton7MouseDownHandler);
button8.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton8MouseDownHandler);
button9.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton9MouseDownHandler);
button10.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton10MouseDownHandler);
button11.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton11MouseDownHandler);
button12.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton12MouseDownHandler);
button13.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton13MouseDownHandler);
reset.addEventListener(MouseEvent.MOUSE_DOWN, onMyButton14MouseDownHandler);
stage.addEventListener(MouseEvent.MOUSE_UP, onItemMouseUpHandler2);
i = 0;
while (i < this.numChildren) {
if ((((this.getChildAt(i).name.search("instance") > -1)) || (isInDoNotMoveToTopLayer(this.getChildAt(i))))){
if ((this.getChildAt(i) is MovieClip)){
item = MovieClip(this.getChildAt(i));
item.doNotMoveToTopLayer = isInDoNotMoveToTopLayer(item);
item.addEventListener(MouseEvent.MOUSE_DOWN, onItemMouseDownHandler);
if (!item.doNotMoveToTopLayer){
item.addEventListener(MouseEvent.MOUSE_UP, onItemMouseUpHandler);
};
};
};
i++;
};
stop();
}
public function onItemMouseUpHandler2(_arg1:MouseEvent):void{
if ((_arg1.target is MovieClip)){
_arg1.target.stopDrag();
};
}
public function onStopBtnMouseDownHandler(_arg1:MouseEvent):void{
SoundMixer.stopAll();
}
public function onCDEBtnMouseDownHandler(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.cdeboys.com"), "_blank");
}
public function onItemMouseUpHandler(_arg1:MouseEvent):void{
_arg1.currentTarget.stopDrag();
}
public function isInDoNotMoveToTopLayer(_arg1:DisplayObject):Boolean{
var _local2:*;
for (_local2 in doNotMoveToTopLayer) {
if (doNotMoveToTopLayer[_local2] == _arg1){
return (true);
};
};
return (false);
}
public function onMyButton1MouseDownHandler(_arg1:MouseEvent):void{
if (tops.currentFrame < tops.totalFrames){
tops.nextFrame();
} else {
tops.gotoAndStop(1);
};
}
public function onMyButton2MouseDownHandler(_arg1:MouseEvent):void{
if (bot.currentFrame < bot.totalFrames){
bot.nextFrame();
} else {
bot.gotoAndStop(1);
};
}
public function onMyButton4MouseDownHandler(_arg1:MouseEvent):void{
if (band.currentFrame < band.totalFrames){
band.nextFrame();
} else {
band.gotoAndStop(1);
};
}
public function onMyButton5MouseDownHandler(_arg1:MouseEvent):void{
if (belt.currentFrame < belt.totalFrames){
belt.nextFrame();
} else {
belt.gotoAndStop(1);
};
}
public function onMyButton7MouseDownHandler(_arg1:MouseEvent):void{
if (shoes.currentFrame < shoes.totalFrames){
shoes.nextFrame();
} else {
shoes.gotoAndStop(1);
};
}
public function onMyButton9MouseDownHandler(_arg1:MouseEvent):void{
if (acc.currentFrame < acc.totalFrames){
acc.nextFrame();
} else {
acc.gotoAndStop(1);
};
}
public function onMyButton6MouseDownHandler(_arg1:MouseEvent):void{
if (outer.currentFrame < outer.totalFrames){
outer.nextFrame();
} else {
outer.gotoAndStop(1);
};
}
public function onMyButton8MouseDownHandler(_arg1:MouseEvent):void{
if (hat.currentFrame < hat.totalFrames){
hat.nextFrame();
} else {
hat.gotoAndStop(1);
};
}
public function onMyButton3MouseDownHandler(_arg1:MouseEvent):void{
if (gloves.currentFrame < gloves.totalFrames){
gloves.nextFrame();
} else {
gloves.gotoAndStop(1);
};
}
}
}//package cdeboys_pirate_fla
Section 11
//outer_20 (cdeboys_pirate_fla.outer_20)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class outer_20 extends MovieClip {
public function outer_20(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 12
//pirate_backgrounds_3 (cdeboys_pirate_fla.pirate_backgrounds_3)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class pirate_backgrounds_3 extends MovieClip {
public function pirate_backgrounds_3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 13
//shoes_16 (cdeboys_pirate_fla.shoes_16)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class shoes_16 extends MovieClip {
public function shoes_16(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 14
//SoundContainer_mc_1 (cdeboys_pirate_fla.SoundContainer_mc_1)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class SoundContainer_mc_1 extends MovieClip {
public function SoundContainer_mc_1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 15
//top_18 (cdeboys_pirate_fla.top_18)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class top_18 extends MovieClip {
public function top_18(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 16
//weap_27 (cdeboys_pirate_fla.weap_27)
package cdeboys_pirate_fla {
import flash.display.*;
public dynamic class weap_27 extends MovieClip {
public function weap_27(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package cdeboys_pirate_fla
Section 17
//FlashDollTemplateV2 (com.cde.templates.FlashDollTemplateV2)
package com.cde.templates {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public class FlashDollTemplateV2 extends MovieClip {
private var preloaderLoader:Loader;
private var _frame:Number;
private var showPreloaderWhenDeveloping:Boolean;
private var preloaderMc:MovieClip;
public var main:MovieClip;
private var _percentLoaded:Number;
private var _mainMovieComplete:Boolean;
private var _preloaderURL:String;
public function FlashDollTemplateV2(){
addFrameScript(0, frame1);
stop();
_percentLoaded = 0;
setupUrls();
}
private function setupUrls():void{
var _local1:String;
_local1 = loaderInfo.url;
_preloaderURL = "http://www.cartoondollemporium.com/cdeprofile/modules/as3/";
if (loaderInfo.parameters.hasOwnProperty("preloaderURL")){
_preloaderURL = loaderInfo.parameters.preloaderURL;
} else {
if (_slot2.isLocal(_local1)){
_preloaderURL = "http://dev.cartoondollemporium.com/~andres/cdeprofile/modules/as3/";
} else {
if (_slot2.getRootURL(_local1).search("cdeboys.com") == -1){
_preloaderURL = "http://www.cartoondollemporium.com/cdeprofile/modules/as3/";
} else {
if (_slot2.getRootURL(_local1).search("cdeboys.com") > -1){
_preloaderURL = "http://www.cartoondollemporium.com/cdeprofile/modules/as3/";
};
};
};
};
}
private function onMainMovieProgress(_arg1:ProgressEvent):void{
var _local2:int;
_percentLoaded = (Math.floor(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100)) / 100);
preloaderMc.loadBar.fill.width = (440 * _percentLoaded);
_local2 = (_percentLoaded * 100);
preloaderMc.percent_txt.text = (_local2 + "%");
if (_percentLoaded >= 1){
playAnime();
};
}
private function onMainMovieComplete(_arg1:Event):void{
_mainMovieComplete = true;
if (((_slot2.isLocal(loaderInfo.url)) && (!(showPreloaderWhenDeveloping)))){
showDoll();
return;
};
}
public function loadPreloader(_arg1:String="CDEBoysPreloader.swf", _arg2:String=null):void{
var _local3:String;
preloaderLoader = new Loader();
preloaderLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onPreloaderLoaderComplete);
if (_arg2 != null){
_preloaderURL = _arg2;
};
if (_arg1 != null){
_preloaderURL = (_preloaderURL + _arg1);
};
_local3 = loaderInfo.url;
if (_slot2.isLocal(_local3)){
};
preloaderLoader.load(new URLRequest(_preloaderURL));
loaderInfo.addEventListener(Event.COMPLETE, onMainMovieComplete);
}
function frame1(){
stop();
showPreloaderWhenDeveloping = false;
goToAfterPreloader(3);
loadPreloader("CDEBoysPreloader.swf");
}
public function goToAfterPreloader(_arg1:Number):void{
if (_arg1 < 3){
throw (ArgumentError("Specified frame number must be at least 3!"));
};
_frame = _arg1;
}
private function onInit(_arg1:Event):void{
}
private function playAnime():void{
preloaderMc.addEventListener(Event.COMPLETE, onPlay);
preloaderLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, onPreloaderLoaderComplete);
loaderInfo.removeEventListener(Event.COMPLETE, onMainMovieComplete);
loaderInfo.removeEventListener(ProgressEvent.PROGRESS, onMainMovieProgress);
preloaderMc.removeChild(preloaderMc.loadBar);
preloaderMc.removeChild(preloaderMc.percent_txt);
preloaderMc.anime_mc.play();
}
private function onPlay(_arg1:Event):void{
showDoll();
}
private function onPreloaderLoaderComplete(_arg1:Event):void{
preloaderMc = (preloaderLoader.content as MovieClip);
preloaderMc.loadBar.fill.width = 0;
preloaderMc.anime_mc.stop();
stage.addChild(preloaderLoader);
if (_mainMovieComplete){
playAnime();
} else {
loaderInfo.addEventListener(ProgressEvent.PROGRESS, onMainMovieProgress);
};
}
private function showDoll():void{
if (preloaderMc != null){
preloaderMc.removeEventListener(Event.COMPLETE, onPlay);
preloaderMc.removeEventListener(Event.COMPLETE, onPlay);
};
if (preloaderLoader != null){
preloaderLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, onPreloaderLoaderComplete);
if (stage.contains(preloaderLoader)){
stage.removeChild(preloaderLoader);
};
};
loaderInfo.removeEventListener(Event.COMPLETE, onMainMovieComplete);
loaderInfo.removeEventListener(ProgressEvent.PROGRESS, onMainMovieProgress);
preloaderLoader = null;
if (!isNaN(_frame)){
gotoAndStop(_frame);
} else {
gotoAndStop(3);
};
}
}
}//package com.cde.templates
class URLInfo {
private function URLInfo(){
}
public static function getBaseURL(_arg1:String):String{
var _local2:int;
var _local3:int;
_local2 = _arg1.search(/\?/);
if (_local2 > -1){
_arg1 = _arg1.substr(0, _local2);
};
_local3 = _arg1.search(/\/[^\/]+$/);
_arg1 = _arg1.substr(0, (_local3 + 1));
return (_arg1);
}
public static function isLocal(_arg1:String):Boolean{
if (getRootURL(_arg1).search("file://") > -1){
return (true);
};
return (false);
}
public static function getRootURL(_arg1:String):String{
return (_arg1.substr(0, (_arg1.search(/\w\//) + 2)));
}
}
Section 18
//music (music)
package {
import flash.media.*;
public dynamic class music extends Sound {
}
}//package