Re: [Flashcoders] Event Listeners

2010-05-14 Thread John Singleton
- Original Message > From: "Merrill, Jason" > To: Flash Coders List > Sent: Thu, May 13, 2010 2:56:28 PM > Subject: RE: [Flashcoders] Event Listeners > > OK, then you're AllDone(). :) LOL! John ___

Re: [Flashcoders] Event Listeners

2010-05-13 Thread John R. Sweeney Jr
I KNEW that was comingĀŠ ;) on 5/13/10 1:56 PM, Merrill, Jason at jason.merr...@bankofamerica.com wrote: > OK, then you're AllDone(). :) John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive Inc 945 Washington Blvd. Hoffman Estates, IL 60169 Office/Fax: 847.310.5959 Cellul

RE: [Flashcoders] Event Listeners

2010-05-13 Thread Merrill, Jason
-Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John Singleton Sent: Thursday, May 13, 2010 2:44 PM To: Flash Coders List Subject: Re: [Flashcoders] Event Listeners - Original Message > From: "Merr

Re: [Flashcoders] Event Listeners

2010-05-13 Thread John Singleton
- Original Message > From: "Merrill, Jason" > To: Flash Coders List > Sent: Thu, May 13, 2010 2:11:39 PM > Subject: RE: [Flashcoders] Event Listeners > > To answer your question, it's a matter of a where and a when which are not > apparent in y

Re: [Flashcoders] Event Listeners

2010-05-13 Thread Glen Pike
Remember that events happen in the future - so you want to set up all your listeners on an object before you ask it to do something - in the code below, you call "loader.load" before adding the listeners - that may not work if the thing loaded is small / cached. Also, you might want to be care

RE: [Flashcoders] Event Listeners

2010-05-13 Thread Merrill, Jason
ders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John Singleton Sent: Thursday, May 13, 2010 2:06 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Event Listeners Hi; I struggle with event listeners and knowing to what objects to attach them. I have the

[Flashcoders] Event Listeners

2010-05-13 Thread John Singleton
Hi; I struggle with event listeners and knowing to what objects to attach them. I have the following code: function SpinMiddle() { big_container.addChild(container_middle2) var path:String = "images/mid" + j + ".png"; var req:URLRequest = new UR

[Flashcoders] Event listeners for MovieClip subclass instances.

2006-06-29 Thread Jason Lutes
How can I set up event listeners (for a roll-over event, for example) so that someone else can't later clobber functionality I assign to an instance from within a class by overwriting built-in handler functions (onRollOver, for example)? I need to have both my class-described event handling and a p

Re: [Flashcoders] Event listeners and memory waste...

2006-04-27 Thread Julien
Thanks for the link Manuel! I guess I will have to create a reference to the delegated function for each of my events... I'll try to do it and see if my objects are now well destroyed in the memory. By the way I found this article about the scope chain and persistent activation of objects, whic

Re: [Flashcoders] Event listeners and memory waste...

2006-04-27 Thread Manuel Saint-Victor
Here's an example I came across this morning that has helped me to cut back on my ram waste http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=2401.html On 4/27/06, Julien Vignali <[EMAIL PROTECTED]> wrote: > > Hi guys, > I am

[Flashcoders] Event listeners and memory waste...

2006-04-27 Thread Julien Vignali
Hi guys, I am getting memory problems when I remove and recreate all my objects several times (the flash player eats up RAM, and I have to minimize it and maximize to force the garbage collector).There must be something wrong in the way I destroy my objects :-( So I am wondering what is the b