Well i'am sorry my english y very poor. The file to attach is the full version of the player. The only thing that are lacking the MP4 files in the folder "videos" and flash(swf) in the folder "flash".
Try to explain in detail the problem. When loading the function MAIN, are preparing the TIMER'S, is preparing the loader (xml = new XMLLoader...) and continued to this burden the XMLPlaylist (xml.load.) Once it is loaded XMLPlaylist runs the function "onXmlLoaded" and this makes a dump the bodies in "DynamicInfo" and newly here are initiated the TIMER'S (TimerNextContent.start(), TimerXmlReload.start.) The TIMER "TimerNextContent" calls to the role "onNextContent" that burden the instances of each content in order according to the XML file. In the role "onNextContent" when loading a content with TweenLite and runs the function "onComplete", the condition "if (previous) { removeChild(DynamicInfo[previous]); }" gives an error when the XMLPlaylist has been busy and the index in "DynamicInfo" has been changed and the message that generates is as follows:
------------
ArgumentError: Error #2025: The object DisplayObject provided must be a secondary element of caller.
at flash.display::DisplayObjectContainer/removeChild()
at MethodInfo-251()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at com.greensock.core::TweenCore/complete()
at com.greensock::TweenLite/renderTime()
at com.greensock.core::SimpleTimeline/renderTime()
at com.greensock::TweenLite$/updateAll()
------------
As I understand, this happens that the LOADER and the bodies have been updated and for this reason we lose the index "previous". Then, what i need is able to detect changes in the XML file and recharge when necessary and at the time to do so restart the Loader and eliminate all their bodies. I can detect changes in the XML file with functions outside the flash but i still have the problem is that when surcharge the XML file will lose the indexes and i cannot erase the body "previous" that its index has changed.
I hope to have been more clear with the problem i have, and again i apologize to my english.
Thank you.