class FsXmlLoad { var loader, firstChild, myList, myListLen, _copyright, _movieWidth, _movieHeight, _photoTitleColor, _hoverPhotoTitleColor, _borderSize, _borderColor, _showTitle, _autoScroll, _thumbnailWidth, _thumbnailHeight, _thumbnailBorderSize, _thumbnailBorderColor, _curveSize, _padding, _paddingColor, _thumbnailSpace, _decoration, _movieBackgroundColor, _loadStyle, _socusoftMenu, _musicPath, _musicLoop, _hideAdobeMenu, _enableURL, _musicStream, __get__URLTarget, __get__autoScroll, __get__borderColor, __get__borderSize, __get__continuum, __get__copyright, __get__curveSize, __get__decoration, __get__enableURL, __get__hideAdobeMenu, __get__hoverPhotoTitleColor, __get__loadStyle, __get__movieBackgroundColor, __get__movieHeight, __get__movieWidth, __get__musicLoop, __get__musicPath, __get__musicStream, __get__padding, __get__paddingColor, __get__photoArray, __get__photoThumbnailArray, __get__photoTimeArray, __get__photoTitleArray, __get__photoTitleColor, __get__photoUrlArray, __get__showTitle, __get__socusoftMenu, __get__startAutoPlay, __get__thumbnailBorderColor, __get__thumbnailBorderSize, __get__thumbnailHeight, __get__thumbnailSpace, __get__thumbnailWidth, __get__transitionArray; function FsXmlLoad() { mx.events.EventDispatcher.initialize(this); var owner = this; loader = new XML(); loader.ignoreWhite = true; loader.onLoad = function (success) { if (success) { var _loc9 = firstChild; owner._copyright = _loc9.attributes.copyright; myList = firstChild.childNodes[1].childNodes; myListLen = myList.length; var _loc4 = firstChild.firstChild.firstChild.firstChild; owner._movieWidth = _loc4.attributes.movieWidth; owner._movieHeight = _loc4.attributes.movieHeight; owner._loadStyle = _loc4.attributes.loadStyle; owner._socusoftMenu = _loc4.attributes.socusoftMenu; owner._movieBackgroundColor = _loc4.attributes.backgroundColor; owner._enableURL = _loc4.attributes.enableURL; var _loc7 = firstChild.firstChild.firstChild.childNodes[1]; owner._showTitle = _loc7.attributes.showTitle; owner._photoTitleColor = _loc7.attributes.photoTitleColor; owner._hoverPhotoTitleColor = _loc7.attributes.hoverPhotoTitleColor; var _loc6 = firstChild.firstChild.firstChild.childNodes[2]; owner._musicPath = _loc6.attributes.path; owner._musicLoop = _loc6.attributes.loop; owner._musicStream = _loc6.attributes.stream; var _loc3 = firstChild.firstChild.firstChild.childNodes[3]; owner._autoScroll = _loc3.attributes.autoScroll; owner._thumbnailWidth = _loc3.attributes.thumbnailWidth; owner._thumbnailHeight = _loc3.attributes.thumbnailHeight; owner._thumbnailBorderSize = _loc3.attributes.thumbnailBorderSize; owner._thumbnailBorderColor = _loc3.attributes.thumbnailBorderColor; owner._curveSize = _loc3.attributes.curveSize; owner._padding = _loc3.attributes.padding; owner._paddingColor = _loc3.attributes.paddingColor; owner._thumbnailSpace = _loc3.attributes.thumbnailSpace; var _loc8 = firstChild.firstChild.firstChild.childNodes[4]; owner._borderSize = _loc8.attributes.borderSize; owner._borderColor = _loc8.attributes.borderColor; owner._hideAdobeMenu = _loc4.attributes.hideAdobeMenu; var _loc5 = myListLen; for (var _loc2 = 0; _loc2 < _loc5; ++_loc2) { owner._photoArray[_loc2] = myList[_loc2].attributes.d_URL; owner._transitionArray[_loc2] = myList[_loc2].attributes.transition; owner._photoTimeArray[_loc2] = myList[_loc2].attributes.phototime; owner._photoTitleArray[_loc2] = myList[_loc2].attributes.title; owner._photoThumbnailArray[_loc2] = myList[_loc2].attributes.jpegURL; owner._photoUrlArray[_loc2] = myList[_loc2].attributes.url; owner._URLTarget[_loc2] = myList[_loc2].attributes.URLTarget; } // end of for owner.dispatchEvent(new Event(FsXmlLoad.COMPLETE)); } else { owner.dispatchEvent(new Event(FsXmlLoad.FAIL)); } // end else if }; } // End of the function function load(url) { loader.load(url); } // End of the function function get copyright() { return (_copyright); } // End of the function function get continuum() { return (_continuum); } // End of the function function get startAutoPlay() { return (_startAutoPlay); } // End of the function function get movieWidth() { return (Number(_movieWidth)); } // End of the function function get movieHeight() { return (Number(_movieHeight)); } // End of the function function get photoTitleColor() { return (_photoTitleColor); } // End of the function function get hoverPhotoTitleColor() { return (Number(_hoverPhotoTitleColor)); } // End of the function function get borderSize() { return (Number(_borderSize)); } // End of the function function get borderColor() { return (_borderColor); } // End of the function function get showTitle() { return (_showTitle); } // End of the function function get autoScroll() { return (_autoScroll); } // End of the function function get thumbnailWidth() { return (Number(_thumbnailWidth)); } // End of the function function get thumbnailHeight() { return (Number(_thumbnailHeight)); } // End of the function function get thumbnailBorderSize() { return (Number(_thumbnailBorderSize)); } // End of the function function get thumbnailBorderColor() { return (Number(_thumbnailBorderColor)); } // End of the function function get curveSize() { return (Number(_curveSize)); } // End of the function function get padding() { return (Number(_padding)); } // End of the function function get paddingColor() { return (Number(_paddingColor)); } // End of the function function get thumbnailSpace() { return (Number(_thumbnailSpace)); } // End of the function function get decoration() { return (_decoration); } // End of the function function get photoArray() { return (_photoArray); } // End of the function function get transitionArray() { return (_transitionArray); } // End of the function function get photoTimeArray() { return (_photoTimeArray); } // End of the function function get photoTitleArray() { return (_photoTitleArray); } // End of the function function get photoThumbnailArray() { return (_photoThumbnailArray); } // End of the function function get photoUrlArray() { return (_photoUrlArray); } // End of the function function get movieBackgroundColor() { return (Number(_movieBackgroundColor)); } // End of the function function get loadStyle() { return (_loadStyle); } // End of the function function get socusoftMenu() { return (_socusoftMenu); } // End of the function function get musicPath() { return (_musicPath); } // End of the function function get musicLoop() { return (_musicLoop); } // End of the function function get hideAdobeMenu() { return (_hideAdobeMenu); } // End of the function function get URLTarget() { return (_URLTarget); } // End of the function function get enableURL() { return (_enableURL); } // End of the function function get musicStream() { return (_musicStream); } // End of the function static var FAIL = "fail"; static var COMPLETE = "succeed"; var _startAutoPlay = "true"; var _continuum = "true"; var _photoArray = Array(); var _transitionArray = Array(); var _photoTimeArray = Array(); var _photoTitleArray = Array(); var _photoThumbnailArray = Array(); var _photoUrlArray = Array(); var _URLTarget = Array(); } // End of Class