【www.gdgbn.com--组件控件开发】
stop ();
if (myxml == undefined)
{
myxml = "images_2/flash2/shell.xml";
} // end if
doc = new XML();
doc.load(myxml);
doc.ignoreWhite = true;
doc.onLoad = function (success)
{
if (success)
{
play ();
} // end if
};
function fx()
{
var _loc4 = new Object();
_root.resource_info = [];
if (doc.firstChild.hasChildNodes())
{
var _loc3 = doc.childNodes[0];
for (var _loc2 = 0; _loc2 < _loc3.childNodes.length; ++_loc2)
{
_root.resource_info[_loc2] = _loc3.childNodes[_loc2].firstChild.nodeValue;
} // end of for
play ();
} // end if
} // End of the function
stop ();
fx();