Jump to content
Search Community

jlressia

Members
  • Posts

    6
  • Joined

  • Last visited

jlressia's Achievements

0

Reputation

  1. Thanks for your answer! Only remains one doubt about item one.. When you said.. I need the LoaderContext because if I not set it I get a security error when I try to load it. So.. How should I manage this loaders to be able to unload them later? Any advice will be appreciated! Thanks again!
  2. Hi, I have a conflict with LoaderMax. I did a proyect that it was loading a main container (main.swf) and a lot of childs. This is the structure that I'm using: main.swf => a.swf b.swf c.swf => d.swf e.swf For load I use the following code... in main.swf: var myContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain); var queue:LoaderMax = new LoaderMax( { name:"mainQueue", onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler, requireWithRoot:this.root} ); queue.append( new SWFLoader("a.swf", { name:"sectionA", estimatedBytes:3000, container:emptyContainerSection, x:0, autoPlay:false,autoDispose:false , context:myContext} ) ); queue.load(); then in a.swf tried this var myContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain); var queue:LoaderMaxqueue = new LoaderMax( { name:"mainQueue", onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler, requireWithRoot:this.root } ); queue.append( new SWFLoader("b.swf", { name:"sectionB", estimatedBytes:3000, container:this, x:0, autoPlay:false, autoDispose:false , context:myContext } ) ); queue.append( new SWFLoader("c.swf", { name:"sectionC", estimatedBytes:3000, container:this, x:0, autoPlay:false, autoDispose:false , context:myContext } ) ); queue.load(); then in c.swf var myContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain); var queue:LoaderMaxqueue = = new LoaderMax( { name:"mainQueue", onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler, requireWithRoot:this.root } ); queue.append( new SWFLoader("d.swf", { name:"sectionD", estimatedBytes:3000, container:this, x:0, autoPlay:false, autoDispose:false , context:myContext } ) ); queue.load(); at the end d.swf tried this var myContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain); var queue:LoaderMaxqueue = = new LoaderMax( { name:"mainQueue", onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler, requireWithRoot:this.root } ); queue.append( new SWFLoader("d.swf", { name:"sectionE", estimatedBytes:3000, container:this, x:0, autoPlay:false, autoDispose:false , context:myContext } ) ); queue.load(); The problem is when i need to unload all the swf and remove the virtual memory that were using. i tried this in main.swf queue.unload(); and it didnt work but allegedly the progress turn 0% but the flash profiler show me that the objects never has been removed. I tried too, the LoaderMax's empty method with the same results. thanks!
  3. Thanks for your reply! You are right! Now all works fine. Thanks!
  4. Hi! We need to manage sub-loaders when loads SWFs. We was using LoaderMax with the parameter "RequiredWithRoot " but "RequiredWithRoot" fails using LoaderMax but works fine using specifics loaders.. For example.. If I have this structure: A.swf -> Load "B.swf" and "C.swf" C.swf -> Load "D.swf" If I use specifcs loaders (in this case swfLoader) I get at the end, the Complete event of component "A.swf". But, If I made the same work using LoaderMax, I get the Complete event of component "A.swf" first and later the rest of events. LoaderMax+SWFLoader.rar - Contains the source code that not works. SWFLoader.rar - Contains the source code taht works fine. Any help about this issue will be appreciated! Regards Jose Luis [attachment=0]SWFLoader.rar[/attachment] [attachment=1]LoaderMax+SWFLoader.rar[/attachment]
  5. Yes, If I edit the XML all works fine.. but the XML it's generated by other app and I can't modify it. Maybe I could load the file like a "text" using DataLoader and replace the the string "SS:" when it will be loaded. Thanks for your quick answer!
  6. Hi everyone! I'm using XMLLoader to load an XML created from an application made in VisualBasic. The XML has the following format (this is the format ): <?xml version="1.0"?> the inside linebacker showed blitz but dropped into zone pass coverage When I try to load the XML I get the following error: Loading error on XMLLoader 'myFrases' (data/frases.xml): Error #1083: El prefijo "ss" del elemento "ss:StyleID" no está vinculado. Any help about it will be helpful!! Jose Luis
×
×
  • Create New...