Re: [Flashcoders] UML tool for AS2

2006-02-17 Thread Janis Radins
Tnx Scott! Looks very mutch like what I've been looking for. 2006/2/17, Scott Mathieson [EMAIL PROTECTED]: enterprise architect http://www.sparxsystems.com.au/products/ea.html actionscript support straight of the box On Friday 17 February 2006 06:54, Janis Radins wrote: Hye ppl!

RE: [Flashcoders] UML tool for AS2

2006-02-17 Thread Jim Tann
While we are on the UML topic, can anyone recommend a good book on the subject? Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Janis Radins Sent: 17 February 2006 08:26 To: Flashcoders mailing list Subject: Re: [Flashcoders] UML tool for AS2 Tnx

[Flashcoders] XML Form Collection Names

2006-02-17 Thread Yotam Laufer
Hello List, I am trying to sendAndLoad XML data to a web service that requires that I set the name of the data in the Form Collection. My server-side people insist that this is how it should be done, although I never needed to set anyhing and sendAndLoad would always just work in the past. This

Re: [Flashcoders] UML tool for AS2

2006-02-17 Thread Jim Kremens
actionscript support straight of the box Can it do reverse engineering with Actionscript? Jim Kremens ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] UML tool for AS2

2006-02-17 Thread Janis Radins
it claims that it can. tho i didnt found how :) 2006/2/17, Jim Kremens [EMAIL PROTECTED]: actionscript support straight of the box Can it do reverse engineering with Actionscript? Jim Kremens ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] Guy Watson's FileSystem Extension

2006-02-17 Thread eric dolecki
Okay - nice work - but after installing Guy Watson's extension, and then disabling it, I get a native error for this line of code: var classLocation = fl.configURI+/Classes/; The error: Exception thrown in native function. Any clue whats going on? Before installing the extension, that line

Re: [Flashcoders] gotoandlearn()

2006-02-17 Thread Bas Quentin / Byontik
Did you try removing the player with the macromedia uninstaller? http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15511#remove I just read about a similar problem on the FlashObject List.. i've only seen detection problems arise when you don't use the official macromedia

Re: [Flashcoders] Guy Watson's FileSystem Extension

2006-02-17 Thread eric dolecki
nm - didn't have a document open, just the IDE - sorry for the noise ;) On 2/17/06, eric dolecki [EMAIL PROTECTED] wrote: Okay - nice work - but after installing Guy Watson's extension, and then disabling it, I get a native error for this line of code: var classLocation =

[Flashcoders] Flash Player bug?

2006-02-17 Thread Tuomas Glad
Hello everybody, I was wondering how this is possible? var test:Number = undefined; trace(test = 0); // true trace(test == 0); // false trace(test 0); // undefined - tuomas Tuomas Glad Goodmood Productions Oy user interface designer PL 132, Ruukinkatu 4 C 20101 Turku Finland Tel. +359 -

Re: [Flashcoders] Flash Player bug?

2006-02-17 Thread Morten Barklund TBWA\\Play
Tuomas Glad wrote: var test:Number = undefined; trace(test = 0); // true a=b is defined as !(ab) - and undefined0 is undefined. This undefined = 0 is true - for quite annoying reasons. :) -- Morten Barklund - Information Architect - TBWA\Play Gothersgade 49, 4th floor - DK-1123 Copenhagen

[Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread Manuel Saint-Victor
I've seen this done in a few tutorial where the code placed in the main time line is written as if it were in a class file. By this I mean things like writing addEventListener(this); and having the functions sitting in the main timeline that handles the event. I think this is a convenient

[Flashcoders] Sending Bitmap Object with Flash Remoting

2006-02-17 Thread Dave Campos
Is it possible to send the Bitmap Object in Flash 8 with Flash Remoting. When I attempt to send it I nothing happens. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] UML tool for AS2

2006-02-17 Thread Josh Buhler
enterprise architect That looks pretty good, but I didn't see a Mac version. Anybody know of a good tool for OSX? - Josh On Feb 17, 2006, at 12:22 AM, Scott Mathieson wrote: enterprise architect http://www.sparxsystems.com.au/products/ea.html actionscript support straight of the box

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Andreas Rønning
Philip Smith wrote: Hi there, I'm looking for an AS2 class that will provide a drop shadow for a window pane that is continually resizing. I would prefer a class with an easy interface, that allows a movie clip to be registered as the clip to be shadowed, with a constant loop running

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread eric dolecki
You don't even need a class to do that really... apply a dropShadow filter to it and you're done. - edolecki On 2/27/06, Philip Smith [EMAIL PROTECTED] wrote: Hi there, I'm looking for an AS2 class that will provide a drop shadow for a window pane that is continually resizing. I would

[Flashcoders] WindowSWF buggy ?

2006-02-17 Thread Manuel Saint-Victor
I've been having quite a bit of trouble with installing WindowSWF custom panels- Many come up with different content than the intended swf file even when I install mxp files from third parties. Is this a known issue or is it just my installation and does anyone know of any workarounds for this?

[Flashcoders] stellar FLV preloader?

2006-02-17 Thread code
Hi there, Has anyone come across a solid method for preloading FLVs? I've been using a slight variation on the plain vanilla one from Flash docs(http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htmcontext=LiveDocs_Partsfile=1573.html) but am finding it

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Charles Parcell
I wouldn't have such a class loop to keep checking the dropshadow. There really is no need. The dropshadow is always rendered from the visible part of a MC. So if the MC is resized then it too resizes. Charles P. On 2/27/06, Philip Smith [EMAIL PROTECTED] wrote: Hi there, I'm looking for

RE: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Mike Mountain
We're assuming you're using Flash 8 If not then a drop shadow class is a perfectly reasonable thing to try and tackle in mx04 M On 2/27/06, Philip Smith [EMAIL PROTECTED] wrote: Hi there, I'm looking for an AS2 class that will provide a drop shadow for a window pane that

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread JesterXL
What aren't you comfortable with? Some don't like extending the timeline, and do something like: class MyController { private var view:MovieClip; function MyController ( mc:MovieClip ) { view = mc; } } And then on _root; controller = new MyController(this); or:

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread eric dolecki
http://www.quasimondo.com/archives/000202.php Quasi is mondo :) Not a class - but check it out. On 2/17/06, Mike Mountain [EMAIL PROTECTED] wrote: We're assuming you're using Flash 8 If not then a drop shadow class is a perfectly reasonable thing to try and tackle in mx04 M On

[Flashcoders] Set import for runtime sharing at runtime

2006-02-17 Thread Jim Tann
I realize this is a bit of an out there question, but is it possible to flag a movie clip created at runtime to be imported from a shared library? I have a shared library with a lot of clips but don't want to have to have the place holder in the movies importing them. Jim -Original

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Philip Smith
Ok smartie, let's see you write your own drop shadow class for the Flash 7 player in 1minute... Philip - Original Message - From: Andreas Rønning [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, February 17, 2006 9:31 AM Subject: Re:

RE:[Flashcoders] dispatching events at creation time?

2006-02-17 Thread azsl1326-email
A little late in the (reply) game, but you could try: MovieClip.prototype.onConstruct = function() { trace(created) } This will be called anytime a new clip is created. You could, however, weed out the unwanted dispatching of events, by dispatching based upon the name of the clip created,

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Philip Smith
Thanks for the responses. Is there an AS 2.0 equivalent AS 2.0 Flash 7 version of the Quasi file? I know the drop shadow can be created with a shape tweening class from scratch, but there is not enough time in this project for that. I found the Flash 8 DropShadowFilter class which enabled

Re: [Flashcoders] dispatching events at creation time?

2006-02-17 Thread Aaron Smith
if you subclass movieclip then you have access to the onLoad method. Just overload that and put your dispatch in there public function onLoad():Void { dispatchEvent({type:'onload', target:this}); } [EMAIL PROTECTED] wrote: A little late in the (reply) game, but you could try:

RE: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Jim Tann
Can you duplicate the movie you want the shadow on and tint it to be black set its alpha to 35% and offset it from the original slightly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Smith Sent: 28 February 2006 04:30 To: Flashcoders mailing

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread eric dolecki
Right... nesting can do all of this for you hopefully. Slice-9 would set you free here too without distortions, but alas no F8 for you ;) On 2/17/06, Jim Tann [EMAIL PROTECTED] wrote: Can you duplicate the movie you want the shadow on and tint it to be black set its alpha to 35% and offset it

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Charles Parcell
You should have noted that you needed a Flash 7 class in your original post. Charles P. On 2/27/06, Philip Smith [EMAIL PROTECTED] wrote: Ok smartie, let's see you write your own drop shadow class for the Flash 7 player in 1minute... Philip - Original Message - From: Andreas

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Philip Smith
The window pane is constantly resizing. I'm working within the framework of another developer's project, and an encapsulated Flash 7 class would be the solution I would like to implement, one that is also less memory intensive than the new DropShadow filter class. Thanks, Philip -

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Philip Smith
Right, although the client has yet to determine that. I would like to have a few options available. Thanks, Philip - Original Message - From: Charles Parcell [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, February 17, 2006 11:40 AM

Re: [Flashcoders] need : flowing sine waves - via drawing api

2006-02-17 Thread artur
no.. something more like this : http://www.vectorjunkie.co.uk/experiments/sinTool.htm but instead of balls its a solid line. the idea is to have 3 lines oscillating so that it looks like they are flowing. Ben Smeets wrote: http://www.gotoandplay.it/_articles/2005/06/pathClass.php

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread Manuel Saint-Victor
Okay- actually I like that approach. I had seen you do part of that in a tutorial before but not with actually setting the class as the view from the timeline. It actually makes it a lot clearer now. I guess it's not as much not being comfortable with it as much as sometimes during a quick

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread JesterXL
Flex 1.5 has a shadow drawing algo that utilizes the v2 framework to do so it supports Flash 7; AS2. - Original Message - From: Philip Smith [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, February 27, 2006 11:47 PM Subject: Re:

RE: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Merrill, Jason
Flex 1.5 has a shadow drawing algo that utilizes the v2 framework to do so it supports Flash 7; AS2. ... and Flex 1.5 will also cost you $15,000.00 USD. Rather expensive for a drop shadow IMO. :) Jason Merrill | E-Learning Solutions | icfconsulting.com -Original

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Andreas Rønning
Nah man. For flash 7 it's not a smart thing to write a dropshadow class like the one you describe at all. You'd put the drop shadow functionality in your window class draw method. The big problem with your approach is you'd have hell to juggle the depths (because without overlapping, what's

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Philip Smith
As noted, I am working within another developer's framework, and cannot make fundamental design changes at this time. The new DropShadowFilter works on the principle I described, you register a view and bang, full functionality in a couple of lines of code. You could do it in Flash 7, but it

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Johannes Nel
instqead of poling just use object.watch On 2/28/06, Philip Smith [EMAIL PROTECTED] wrote: As noted, I am working within another developer's framework, and cannot make fundamental design changes at this time. The new DropShadowFilter works on the principle I described, you register a view

Re: [Flashcoders] WindowSWF buggy ?

2006-02-17 Thread clark slater
Hi Mani, I suffered from this for quite some time and it was driving me crazy when trying to develop extensions. I finally found a way to fix it: - delete any windowSWF's from the following folder C:\Flash 8\en\First Run\WindowSWF - delete panelset.xml and FirstRun.log from the following folder

[Flashcoders] seeking :: Oscillating SineWaves via Drawing API

2006-02-17 Thread artur
sorry for the repost but.. im a bit under the gun...and i looked EVERYWHERE! i need a drawing api function or fla that can produce multiple flowing sinewaves. the waves should be random in oscillating and appear to be flowing organically. please help! thanks artur

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Andreas Rønning
As noted, I am working within another developer's framework, and cannot make fundamental design changes at this time. I didn't say it can't be done. I said it wasnt the smart thing to do. If you work with someone elses framework but can't subclass or supply your own prototypes along the road,

Re: [Flashcoders] seeking :: Oscillating SineWaves via Drawing API

2006-02-17 Thread eric dolecki
Could could just draw a few sinewaves, duplicate them at different yscale, etc. and then have them loop? Is it supposed to fake something in particular or just some random sinewaves? Multiple non-changing but differnet waves? Or is it 1 wave that needs to change a lot? On 2/17/06, artur [EMAIL

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Jim Kremens
The samples on the following page all work in Flash 7 using a framework I *was* developing. A lot of the shadow and light stuff I was doing became pointless when Flash 8 came out. If you're interested in the code, let me know. http://jimkremens.com/toolkit/ Jim Kremens On 2/17/06, Andreas

RE: [Flashcoders] UML tool for AS2

2006-02-17 Thread Mark Lapasa
Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process (3rd Edition) (Hardcover) by Craig Larman The honnest truth is that yes it is 736 pages and weights alot but it's very well thoughtout and provides a very good context (through Unified

Re: [Flashcoders] seeking :: Oscillating SineWaves via Drawing API

2006-02-17 Thread artur
its 3 waves that need to appear randomly oscillating in height.. Could could just draw a few sinewaves, duplicate them at different yscale, etc. and then have them loop? Is it supposed to fake something in particular or just some random sinewaves? Multiple non-changing but differnet waves?

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Philip Smith
Hi Jim, I'd like to check the code out, my email is [EMAIL PROTECTED] Thanks. - Original Message - From: Jim Kremens [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, February 17, 2006 2:45 PM Subject: Re: [Flashcoders] Dynamic drop shadow

[Flashcoders] Event Dispatcher

2006-02-17 Thread Jamie Alpers
This may be a duh question, but when you use dispatchEvent in a custom created component, can I use my own event name or do i have to use one of the built in ones of an object. For example, I am creating custom quiz component (the built in ones dont have the flexibility we need) and would like to

Re: [Flashcoders] Event Dispatcher

2006-02-17 Thread Johannes Nel
yeah. the type property can be whatever, as long as you know what you are listening for all is good. On 2/17/06, Jamie Alpers [EMAIL PROTECTED] wrote: This may be a duh question, but when you use dispatchEvent in a custom created component, can I use my own event name or do i have to use one

Re: [Flashcoders] Event Dispatcher

2006-02-17 Thread Scott Fanetti
If you are using Flex2 , create a custom event that extends from the event class. and inject the namespace for the custom event into the superclass. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Event Dispatcher

2006-02-17 Thread Jamie Alpers
Thanks. I relooked at my code and realized i was just making a stupid mistake by confusing object names. it works now :-) On 2/17/06, Johannes Nel [EMAIL PROTECTED] wrote: yeah. the type property can be whatever, as long as you know what you are listening for all is good. On 2/17/06, Jamie

[Flashcoders] styleSheets and Links

2006-02-17 Thread Corban Baxter
Does anyone have some good examples of Flash using CSS to stylize links with hover properties etc. I can't seem to get my color to work properly. [code] //first try at this one var style_sheet = new TextField.StyleSheet(); style_sheet.setStyle(a, {

Re: [Flashcoders] Event Dispatcher

2006-02-17 Thread Aaron Smith
Just make sure int he constructor you initialize it:: EventDispatcher.initialize(this).. also you ned to have these var definititions: public var addEventListener:Function public var removeEventListener:Function; private var dispatchEvent:Function then to dispatch: dispatchEvent( {

[Flashcoders] Printing in landscape

2006-02-17 Thread Judah
I'm sure this has asked before but I cannot find anthing in the archives. Has anyone found a way to set the print orientation to landscape? Best Regards, Judah ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

RE: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread Judah
There is another method we use. When you start your project create a movieclip and at it to the stage at 0,0. Open it up and add all your GUI to that as you would the stage. Then in your library assign your class to the movieclip. Judah -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread Manuel Saint-Victor
I've seen that technique used and wondered how well it would work. So then you would have that class extend MovieClip-right? Is there any weirdness that comes up that I would want to look out for in this case? Would you have the constructor in the class file just call init(); and do the setup

Re: [Flashcoders] Printing in landscape

2006-02-17 Thread Dave Wood
Has anyone found a way to set the print orientation to landscape? I don't think you can. Are you able to alert the user to the need for landscape before initiating the PrintJob? You can then test for whether they have chosen it with Printjob.orientation. David

Re: [Flashcoders] Event Dispatcher

2006-02-17 Thread John Grden
Must resist...the crack...habbit... and if you want to point that dispatched to a custom method not named the same as the event: obj.addEventListener(onWhatever, Delegate.create(this, myCustomMethod)); private function myCustomMethod(evtObj:Object):Void { // code } Also, you don't need

Re: [Flashcoders] WindowSWF buggy ?

2006-02-17 Thread Manuel Saint-Victor
Clark, Thank you!!! That worked great! It was driving me crazy and I couldn't figure out what was causing it- So when you distribute extensions will they come across that problem also? I hope not. Mani ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] seeking :: Oscillating SineWaves via Drawing API

2006-02-17 Thread Martin Wood
its quick and its dirty but it should give you something to work with : for(var n=0;n3;n++) { var sinewave:MovieClip = _root.createEmptyMovieClip(sinewave + n,n+1); sinewave._y = 100; sinewave.phase = n * 10; sinewave.frequency = ((n + 1) * 5)

RE: [Flashcoders] styleSheets and Links

2006-02-17 Thread Karina Steffens
Hi Corban, Here's an excerpt from one of my classes: code var newStyle = new TextField.StyleSheet(); newStyle.setStyle(a, {color: '#66', fontWeight:'bold'}) newStyle.setStyle(a:hover, {textDecoration: 'underline'}) title_txt.styleSheet = newStyle; /code Worked for me, hope this helps.

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread Martin Wood
btw, have you fixed your clock or is this a cynical attempt to stay at the top of my list of flashcoders emails? ;) martin. Philip Smith wrote: Hi Jim, I'd like to check the code out, my email is [EMAIL PROTECTED] Thanks. ___

Re: [Flashcoders] WindowSWF buggy ?

2006-02-17 Thread John Grden
the one thing I've realized is that I simply have to restart Flash to get the correct swf version in the panel. I've seen weird version issues and the that's the only solution that fixes it. So, probably making them restart the IDE is about the safest move u can make. On 2/17/06, Manuel

[Flashcoders] TextArea component Special Chars?

2006-02-17 Thread Aaron Smith
Has anyone had issues with flash remoting (amfph) and sending text from the textArea component. It seems there are some weird extra characters that are being added to the data thats sent. Then php is having issues parsing it. Specifically when I copy text into the textArea component then

[Flashcoders] (no subject)

2006-02-17 Thread Mike Boutin
We have a project.that is created in flash 8 but exported to flash player 6, AS1. When I test the file in flash player 6 standalone locally, the file runs fine as well as publishing directly out of flash. When I embed the swf file into html and post it on the web, it is only viewable through

[Flashcoders] seeking :: Oscillating SineWaves via Drawing API

2006-02-17 Thread artur
woohoo! this is perfect! u da man! thanks Martin! a ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software

Re: [Flashcoders] WindowSWF buggy ?

2006-02-17 Thread clark slater
Unfortunately yes, it seems so - but not always. I have had it happen to certain team members here when I create some tool for them, but not to others when installing the same extension. So far have been unable to figure out a pattern or reason. What really gets me is that this got fixed in the

[Flashcoders] removing dynamically set eventlisteners

2006-02-17 Thread Latcho
is it possible to linkfor an eventListener to a var like: var myEventListener=broadcasterScope.addEventListener(eventName,updateVar) and afterwards in a certain way removing the eventlistener with myEventLink ? I'd like to remove events that I set dynamically, do I really have to

Re: [Flashcoders] UML tool for AS2

2006-02-17 Thread Michael Klishin
Hi, Enterprise Architect 6 supports AS as a native language and has reverse engineering feature for it. Give it a try. Regards. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread JesterXL
Ignoring scope of _root level functions is fine. Ignoring duplication of efforts is not. You can always wrap your functions in a class in 5 minutes. Removing duplication in code, however, takes way longer and may cause unforseen problems if not solved early enough. - Original Message

Re: [Flashcoders] Dynamic drop shadow

2006-02-17 Thread JesterXL
It's free to install locally, and works with like 5 IP's in developer edition mode. Then, you can hit debug, and look at the improved v2 code to see how they implemented the dropshadow. - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread JesterXL
I used to do that. It's great because you avoid _root altogether, and never have collisions with other content there. The downside I ran into is if your SWF is loaded into another one, you need to remember to do: MyLoader.content.someApp.method vs. MyLoader.content.method And since you

[Flashcoders] When singletons go bad

2006-02-17 Thread Manuel Saint-Victor
In my app I have a Singleton that's composed of and manages a video component. In theory- anyone calling the getInstance should be getting that same class and therefore subsequent references to its public properties should be calling the same instanceright? Problem is my getInstances() were

Re: [Flashcoders] When singletons go bad

2006-02-17 Thread JesterXL
Gotta go for the virus, buddy, ya' can't band-aid it up. That guilt you're feeling is good. Use that frustration to fuel your desire to solve the problem. While you should be commended for finding a solution, it's still just a cover up for the real issue. Post your getInstance method if you

Re: [Flashcoders] Event Dispatcher

2006-02-17 Thread Johannes Nel
what john is outlining here is fine in essence, but unless you never want to remove this event listener this will cause a memory leak. either you create the delegate function on a class scope or you use arguments.caller in the handler function to remove the event listener On 2/17/06, John Grden