Re: [flexcoders] Organize imports

2007-01-27 Thread Martin Wood-Mitrovski
Stembert Olivier (BIL) wrote: Ho all, Do you know how to organize imports in FlexBuilder? CTRL + SHIFT + O :)

Re: [flexcoders] Ogg Vorbis Tremor in AS3?

2007-01-26 Thread Martin Wood-Mitrovski
Its been done. :) http://flash.j-ogg.de/ Hopefully the source will be released at some point. I know that its built on top of the audio engine made by Chris Sperry of FlashCodersBrighton fame. http://www.flashcodersbrighton.org/wordpress/?p=9 There is a version of the core audio engine in

Re: [flexcoders] Modules and Cairngorm

2007-01-26 Thread Martin Wood-Mitrovski
I just had the same error and it was because i was trying to re-use event instances rather than dispatching new ones each time. But i wasnt using modules, just a normal Cairngorm app. I was going to look into it to find out exactly what was happening but I just dont have the time at the

Re: [flexcoders] Re: Using Flash For Authoring Flex 2 Content -- A Definitive Guide?

2007-01-21 Thread Martin Wood-Mitrovski
michael.ritchie wrote: I keep asking Jesse why the hell he don't write a book about this stuff, something about attention span I used Jesse's blogs to make skins for work at my oufit, the dude rocks. We need to have more information out there on how to make better Flex applications

Re: [flexcoders] antlr for as3? parsers?

2007-01-19 Thread Martin Wood-Mitrovski
im not sure but i think David based his on Martin's work. I seem to remember a thread on OSFlash back in the mists of time where they discussed it. but, I could be completely wrong and the Metaas grammar could be completely different (well, as different as two grammars for the same language are

Re: [flexcoders] Code behind- do you use it?

2007-01-16 Thread Martin Wood-Mitrovski
So what are others doing? No AS in your MXML files, no code behind, a mixture of the two? I use it practically 100% of the time. If the mxml file only has a small amount of code and is unlikely to expand then its probably overkill but for anything with more than a couple of methods i use it.

Re: [flexcoders] Cairngorm Duplicate Remote Object Return Events

2007-01-15 Thread Martin Wood-Mitrovski
One theory I have about what 'might' be happening is that before I make my servce call, I'm adding event listeners for the result/fault and these may be duplicate ones, because the remote object instance is being persisted in ServiceLocator. However, I tried explictly removing the listeners

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Martin Wood-Mitrovski
We have all our Events take the current object as the first parameter (i.e. 'this'). The Command then calls savedFromEventHome.onCommandName(result) in onResult. Could that do what you want ? interesting. do these objects then implement some kind of interface to support the

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Martin Wood-Mitrovski
Tom Chiverton wrote: On Friday 05 January 2007 14:51, Martin Wood-Mitrovski wrote: do these objects then implement some kind of interface to support the 'onCommandName(result)' method or do you type it in some other way? No, you could (should ?) write an interface class and import it though

Re: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread Martin Wood-Mitrovski
the cairngorm service locator just checks to see if it has a property with the name of the service defined if(this [ serviceId ] == null) // throw an error if it exists then just return it : return this[ serviceId ]; its a common actionscript technique to access object properties dynamically