Re: [Flashcoders] Writing code for big teams

2006-11-22 Thread Michael Nisi
Hey Ricardo, just to give you a ruff idea, there are bazillion ways of doing this. You have two flas, shell.fla and section.fla. In each there's a clip on Stage called container_mc. In shell.fla on _root you do: Application.main(container_mc); In section.fla on _root you do: var

Re: [Flashcoders] Writing code for big teams

2006-11-22 Thread Michael Nisi
Forget about: Application.main(container_mc); Application.main(); M On 11/22/06, Michael Nisi [EMAIL PROTECTED] wrote: Hey Ricardo, just to give you a ruff idea, there are bazillion ways of doing this. You have two flas, shell.fla and section.fla. In each there's a clip on Stage called

Re: [Flashcoders] Writing code for big teams

2006-11-22 Thread Michael Nisi
Yes, something like a ViewLocator or a special SectionLocator. Regards Michael On 11/22/06, Ricardo Sánchez [EMAIL PROTECTED] wrote: But I need to pass them at least an intrinsic so they can register their class, wouldn't I? On 11/22/06, Ian Thomas [EMAIL PROTECTED] wrote: Personally I'd

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
Hi Ricardo, why do you think using Interface or Interfaces will force you to compile the collaborators code. I don't get the point. They can compile your Interfaces into their swfs and you can compile them into yours. That's what interfaces are for. No? Regards Michael On 11/8/06, Ricardo

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
to implement... How do I load an external movie? To load it instanciating the class I'll have to compile it... am I wrong? Can you show some code? I'm pretty lost. Thanks all. On 11/8/06, Michael Nisi [EMAIL PROTECTED] wrote: Hi Ricardo, why do you think using Interface or Interfaces will force

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
Same here. Can't imagine to develop without testing anymore. Test while you code, not afterwards. It let's you design your objects in a transparent way. Regards Michael On 11/8/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Something else I recommend is have somebody who is in charge of

Re: [Flashcoders] Fjax... does this seem ridiculous to anyone else?

2006-06-24 Thread Michael Nisi
'Fjax just uses Flash to handle XML. Why? Because it's so darn good at it.' LOL, yeah right! It's ridiculous. Browser issues are nullified by libraries like dojo, prototype, et al. An interesting use of flash and js combined is the storage mechanism in the dojo toolkit:

[Flashcoders] XMLSocket: load policy file and connect to port 80

2006-06-22 Thread Michael Nisi
anyone experience with loading a policy file from and connecting to port 80? Thanks, Michael import com.dynamicflash.utils.Delegate; import mx.events.EventDispatcher; import org.aikane.Aikane; import auktion.Auktion; /** * AuktionConnector * * @author Michael Nisi ([EMAIL PROTECTED]) * @version

Re: [Flashcoders] Best Flash data access way opinions

2006-06-22 Thread Michael Nisi
Rails and JSON (http://wiki.rubyonrails.org/rails/pages/JSON+Webservice+Plugin) -- because it's fun and your backend isn't bound to flash. Regards, Michael On 6/22/06, Sajid Saiyed [EMAIL PROTECTED] wrote: I prefer PHP with Flash. I find many PHP functions very easy to do the job that could

Re: [Flashcoders] addEventListener -- removeAllListenersEventDispatcher class

2006-02-23 Thread Michael Nisi
This delegate implementation sends a reference to the receiver. http://dynamicflash.com/2005/02/delegate-class-refined/ Maybe you could store references to all your delegations somewhere. Something like a DelegateLocator . ;) Just a thought... Regards, Michael On 2/23/06, Miguel Angel Sánchez

Re: [Flashcoders] execute a string as actionscript in MX

2006-01-06 Thread Michael Nisi
How about arguments? var str =trace('Hello'); var func = str.split((); var arg = func[1].split(')[1]; eval(func[0]).call(this, arg); Is there a serializer to pass real arguments? eg. myFunction('Hello', { x:100, name:'foo' }) Regards, Michael