Re: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread Ian Thomas
Just out of interest - why are you recreating the Loader() and re-adding the listeners each time? It should work if you just create the Loader once, add the listeners once - then every time you call load() with a new URLRequest, you'll get new progress and complete events. Might help with your

[Flashcoders] Flash http request does not call back inside IE ActiveX occasionally.

2009-10-01 Thread Pavel Repkin
My Windows (C++) program hosts Flash ActiveX. I use XML.sendAndLoad() to communicate to the server inside Flash part of the application. Occasionally XML.sendAndLoad() does not call back. That makes the whole application useless. Only restart helps. I have found using HTTP Analyser, that the

[Flashcoders] Ads inside Flash application

2009-10-01 Thread Pavel Repkin
I want to publish ads inside Flash application. Do you know any ad-network that allows publishing ads inside Flash apps? There is a Mochi ads network, they do publish the ads inside Flash, but they accept only games. And my app is not a game. ___

Re: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread Juan Pablo Califano
Every time it reloads however, I watch firefox take away memory consistently and when I refresh that page memory use drops back to normal. First and most important, are you sure it's leak? The fact that Firefox (not even the player itself) doesn't release memory right away doesn't mean

Re: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread Jim Lafser
Problem might be with the XML class. I've seen problems in Flash Lite 3 where the idMap property of the XML class had to be deleted to prevent a memory leak. Tracing idMap will say undefined, must use ObjectDumper to see what it's actually pointing at. It appears that it will leak only if the

RE: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread TS
Well I'm going to use gskinner's workaround by pulling the content swf from a subdomain. I am not looking at task manager overall sys memory but, at the privat working set from the processes tab. And I can see it get loaded then every refresh it adds 2-4MB to the working set. On page refresh it

RE: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread TS
I was just trying to clear that var. I thought if I said loader = new Loader() it would make sure to kill the old loader and it's content? Thanks, T -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ian

Re: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread Juan Pablo Califano
I see. But when you refresh the page, the Flash Player instance is tore down, so the player's memory is released. When you reload a stub swf, the memory used by the player might or might not be released immediately. Most likely it won't. That's not necessarily a bug or a leak. It could be, but my

RE: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread Kerry Thompson
Juan Pablo Califano wrote: The mere fact that the memory footprint grows doesn't mean there's a leak. Juan Pablo is correct, and it's important to understand why. (If you already understand garbage collection, you need read no further, unless you want to check the accuracy of my description

RE: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread TS
The mere fact that the memory footprint grows doesn't mean there's a leak. So, is there a way to keep that footprint from growing. Is it poor garbage collection? Thanks, T -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

RE: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread TS
Yes I understand garbage collection(GC) and how it's SUPPOSE to work :) However, there still remains the fact that my browser is at say 146,000K private working set memory. Let my swf file sit there for a half hour or more and now the working set is up to 300,000K. Refresh the page that the swf is

Re: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread Gregory Boland
TS, what is the content that you are loading from this external swf every 30,000 milliseconds? It is feasible that what you are loading is causing the memory of the Flash player to increase? I never saw where you ready the swf itself for garbage collection. I see that you are setting the

RE: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread TS
I have 2 swfs. 1) Loader SWF: no assets are on stage nor are they loaded into other than the content swf. The code is a timer and a loader. The timer reloads the loader every 30 seconds which pulls in the content swf. And yes the remove something from the display list at position 0. is the

RE: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread TS
Been letting it run for a few hrs now and firefox is now using almost a gig of memory. Thanks, T -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Gregory Boland Sent: Thursday, October 01, 2009 3:39 PM To:

[Flashcoders] ASDoc Help

2009-10-01 Thread pedro
Does anybody have any references or tutorials on how to modify ASDoc output? I'm not talking about adding ASDoc comments, I know how to write those, but information on how to modify the docs that it creates. I managed to figure out how to add appendixes with the link below. But how do I

[Flashcoders] AS3 fl.controls.List instance change events not bubbling

2009-10-01 Thread Stephen Downs
Change events sent by instances of fl.controls.List in my Flash AS3 project have lost their effervescence. The AS3 Language and Components Reference states that change events sent by List bubble by default, but when I check the event being sent it has the bubbles property set to false.

Re: [Flashcoders] [MEMORY LEAK]

2009-10-01 Thread Gregory Boland
All I can say is that you aren't releasing all of the references to this material that you are trying to release from memory. So after you make this call addChild(loadEvent.currentTarget.content); make that = to null as well as any other time that you are referring to this content you are