Jump to content
Search Community

darkladen

Members
  • Posts

    6
  • Joined

  • Last visited

darkladen's Achievements

0

Reputation

  1. Ah excellent is just what he thought after so many tests and read documentation. Of all forms i implemented otherwise recharging XML file and until the moment i works beautifully. I will continue testing the performance of the player, on everything related to the consumption of memory. Attach the new version of the player because someone could serve and if you want change good ahi is the subject of each. In the future ascend a new version more complete and with many more functions using obviously your work Greensock if i allow. Thank you Greensock by fabulous work. Every time i like most Flash and AS3. Greetings.
  2. Good in truth if you have to do with LoaderMax but over all, has to do with the clean-up operation of memory "(Loader).load(true)" because when I run this command while i reload all content of XML, also i initializes the indexes of instance and for this reason i cannot use "removechild()" on an instance of the previous version of XML that was added in the STAGE then my question is, how do I remove instances that have been added to the STAGE to be visualized if i do not have an index that refers to this object? If i do not use "removechild()" the player and updating of contained within the XML file works wonders but memory begins to grow by that objects clearly not being wiped off the STAGE and memory. I think that my big problem is that i cannot find a way more clear to publicize my situation. I hope that someone can understand and can help with this big problem. Thank you. PD: Iam sorry for my bad english.
  3. Someone will have been found with this problem ??? Please someone could help ???
  4. 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.
  5. Thanks Greensock by respond so quickly. Well, in summary what trying to do is a player files (SWF - MP4). The player i works well once it is loaded XMLPlaylist and performance all walks of wonders until now. The problem is i occurs when attempt reload the XMLPlaylist using the form "(XMLLoader).play(true)" by that i casts errors when attempt remove an instance using the index in "removeChild(DynamicInfo[previous])" but i understand the problem because i'm using an index that is no longer the same as it had prior to reload the XMLPlaylist. Then my question is... How can recharge the XMLPlaylist and continue with the reproduction of playlist and i do not generate problems? Since already Thank you very much.
  6. Well, Hi list, this is my first time in this forum. My problem... i am created a media player (swf and mp4) and runs of wonder but my problem is when i have to recharge the playlist is clearly a XML. I have seen any example and i have read the documentation for recharging XML file but all the test that i am not work. The method i'am use for reload XML is run a TIMER each 4 seconds that execute the command "(loader).play(true)". This command flush content and reload the file XML but i have another process "TIMERNextContent" that make playlist fails when recharging the XML file. Only need to know as recharge the XML file when the file have changes and restart the process "TIMERNextContent" erasing all child that created the playlist (XML file) earlier. Attach the player that i am doing so that somebody help me. LoaderMAX works incredible and i want to maximize its potential. Thank you.
×
×
  • Create New...