RE: [Flashcoders] Application Structure - Flash Remoting MovieClipLoader
Hi, I would recommend ARP for this too. It's a bit tricky to use (at first), but it will keep your code clean for sure and save you a lot of time. There's a remoting example that you could adjust quite easily. As for the moviecliploader, I try to use a single class to do all my loading. I guess that's what you mean by a smart loader. Sunil http://www.suniljolly.com PS - Hi! I'm new to the list, I hould have joined a long time ago! -Original Message- Hi, I would suggest looking at ARP or another Framework to handle your Service calls through a single interface which you create services for. It is well documented with examples and OS so you should be able to get the hang of it quite quickly. osflash.org/projects/arp HTH Glen Richard Mueller wrote: I'm building an application that is going to use Flash Remoting very heavily. I'm wondering how I should structure my Service connections. Should I put them in each(several) loaded movies or in the root timeline where any loaded move can access them. The latter would cause issues when trying to test each movie individually. But by putting the Service connections in each movie would require imports needed for FR at the top.. Also, I'm new to using the moviecliploader. I have a few functioning properly, however, is it wise to try and create a smart loader? Meaning use one loader and zip when the zip.swf is loaded and zag with zag.swf. Or should I just accept, and get in the habit of using a zip loader and a zag loader separately, meaning each loader simply serve a specific function. Richard ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Application Structure - Flash Remoting MovieClipLoader
Well, the past 24 hours have been interesting to say the least. I've never really written a class, yet I know a lot about them and understand them for the most part. Before starting the project, I knew I was going to run into data access issues but didn't really have a solution. I'd never heard of mvc until yesterday so thanks for pointing me in the right direction. I'm confident I can start building classes using the mvc pattern, however, I don't think I'm quite ready for something like ARP. I think I'd be taking on too much and our development resources are almost tapped. Or should I seriously reconsider using ARP, is it something I can easily implement later once I'm more confident with classes? At 7/12/2007 Thursday 04:00 AM, you wrote: Hi, I would recommend ARP for this too. It's a bit tricky to use (at first), but it will keep your code clean for sure and save you a lot of time. There's a remoting example that you could adjust quite easily. As for the moviecliploader, I try to use a single class to do all my loading. I guess that's what you mean by a smart loader. Sunil http://www.suniljolly.com PS - Hi! I'm new to the list, I hould have joined a long time ago! -Original Message- Hi, I would suggest looking at ARP or another Framework to handle your Service calls through a single interface which you create services for. It is well documented with examples and OS so you should be able to get the hang of it quite quickly. osflash.org/projects/arp HTH Glen Richard Mueller wrote: I'm building an application that is going to use Flash Remoting very heavily. I'm wondering how I should structure my Service connections. Should I put them in each(several) loaded movies or in the root timeline where any loaded move can access them. The latter would cause issues when trying to test each movie individually. But by putting the Service connections in each movie would require imports needed for FR at the top.. Also, I'm new to using the moviecliploader. I have a few functioning properly, however, is it wise to try and create a smart loader? Meaning use one loader and zip when the zip.swf is loaded and zag with zag.swf. Or should I just accept, and get in the habit of using a zip loader and a zag loader separately, meaning each loader simply serve a specific function. Richard ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Application Structure - Flash Remoting MovieClipLoader
Hello :) An other framework it's VEGAS : http://code.google.com/p/vegas/ Install the framework : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN The tutorials in english : http://code.google.com/p/vegas/wiki/TutorialsVEGAS (in progress) Examples in the svn repository of the project : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/ My framework contains 4 extensions + 1 template framework + examples... To manipulate Remoting connection you can use my RemotingService class, you can find the examples of this class in the directory : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/net/remoting/ (You must install vegas before test the .fla ) If you want understant the RIA structure with VEGAS you can install to AST'r : http://code.google.com/p/astr/ AST'r is a template + samples to understand the implementations with VEGAS (MVC, FrontController, Localization, Configuration, Process etc) In Ast'r you can find a full example to use Remoting or local connection (with Eden format)... I'm begin to write the tutorials of this examples this week-end. For me this tutorials are important to learn the mecanism to implement a little or big application... EKA+ :) 2007/7/12, Richard Mueller [EMAIL PROTECTED]: Well, the past 24 hours have been interesting to say the least. I've never really written a class, yet I know a lot about them and understand them for the most part. Before starting the project, I knew I was going to run into data access issues but didn't really have a solution. I'd never heard of mvc until yesterday so thanks for pointing me in the right direction. I'm confident I can start building classes using the mvc pattern, however, I don't think I'm quite ready for something like ARP. I think I'd be taking on too much and our development resources are almost tapped. Or should I seriously reconsider using ARP, is it something I can easily implement later once I'm more confident with classes? At 7/12/2007 Thursday 04:00 AM, you wrote: Hi, I would recommend ARP for this too. It's a bit tricky to use (at first), but it will keep your code clean for sure and save you a lot of time. There's a remoting example that you could adjust quite easily. As for the moviecliploader, I try to use a single class to do all my loading. I guess that's what you mean by a smart loader. Sunil http://www.suniljolly.com PS - Hi! I'm new to the list, I hould have joined a long time ago! -Original Message- Hi, I would suggest looking at ARP or another Framework to handle your Service calls through a single interface which you create services for. It is well documented with examples and OS so you should be able to get the hang of it quite quickly. osflash.org/projects/arp HTH Glen Richard Mueller wrote: I'm building an application that is going to use Flash Remoting very heavily. I'm wondering how I should structure my Service connections. Should I put them in each(several) loaded movies or in the root timeline where any loaded move can access them. The latter would cause issues when trying to test each movie individually. But by putting the Service connections in each movie would require imports needed for FR at the top.. Also, I'm new to using the moviecliploader. I have a few functioning properly, however, is it wise to try and create a smart loader? Meaning use one loader and zip when the zip.swf is loaded and zag with zag.swf. Or should I just accept, and get in the habit of using a zip loader and a zag loader separately, meaning each loader simply serve a specific function. Richard ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Application Structure - Flash Remoting MovieClipLoader
I'm building an application that is going to use Flash Remoting very heavily. I'm wondering how I should structure my Service connections. Should I put them in each(several) loaded movies or in the root timeline where any loaded move can access them. The latter would cause issues when trying to test each movie individually. But by putting the Service connections in each movie would require imports needed for FR at the top.. Also, I'm new to using the moviecliploader. I have a few functioning properly, however, is it wise to try and create a smart loader? Meaning use one loader and zip when the zip.swf is loaded and zag with zag.swf. Or should I just accept, and get in the habit of using a zip loader and a zag loader separately, meaning each loader simply serve a specific function. Richard ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Application Structure - Flash Remoting MovieClipLoader
Hi, I would suggest looking at ARP or another Framework to handle your Service calls through a single interface which you create services for. It is well documented with examples and OS so you should be able to get the hang of it quite quickly. osflash.org/projects/arp HTH Glen Richard Mueller wrote: I'm building an application that is going to use Flash Remoting very heavily. I'm wondering how I should structure my Service connections. Should I put them in each(several) loaded movies or in the root timeline where any loaded move can access them. The latter would cause issues when trying to test each movie individually. But by putting the Service connections in each movie would require imports needed for FR at the top.. Also, I'm new to using the moviecliploader. I have a few functioning properly, however, is it wise to try and create a smart loader? Meaning use one loader and zip when the zip.swf is loaded and zag with zag.swf. Or should I just accept, and get in the habit of using a zip loader and a zag loader separately, meaning each loader simply serve a specific function. Richard ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Application Structure - Flash Remoting MovieClipLoader
More specifically, look for the ServiceLocator. It's a Singleton that houses all the remote services. Then from anywhere in your app you can do something like this: var service:Service = ServiceLocator.getInstance().getService(nameOfService); var pendingCall:PendingCall = service.someMethod(); pendingCall.responder = new RelayResponder(this, resultHandler, faultHandler); In an ARP/Cairngorm application you would normally do this from a Command class, rather than anywhere in your app. http://labs.adobe.com/wiki/index.php/Cairngorm http://cairngormdocs.org/ visual representation of a cairngorm app http://cairngormdocs.org/cairngormDiagram/index.html other mvc frameworks http://puremvc.org/ http://www.model-glue.com/flex.cfm Note that allthough most of them talk about flex, don't let that scare you, they're all MVC based and are very similar. regards, Muzak - Original Message - From: Glen Pike [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, July 11, 2007 9:32 PM Subject: Re: [Flashcoders] Application Structure - Flash Remoting MovieClipLoader Hi, I would suggest looking at ARP or another Framework to handle your Service calls through a single interface which you create services for. It is well documented with examples and OS so you should be able to get the hang of it quite quickly. osflash.org/projects/arp HTH Glen Richard Mueller wrote: I'm building an application that is going to use Flash Remoting very heavily. I'm wondering how I should structure my Service connections. Should I put them in each(several) loaded movies or in the root timeline where any loaded move can access them. The latter would cause issues when trying to test each movie individually. But by putting the Service connections in each movie would require imports needed for FR at the top.. Also, I'm new to using the moviecliploader. I have a few functioning properly, however, is it wise to try and create a smart loader? Meaning use one loader and zip when the zip.swf is loaded and zag with zag.swf. Or should I just accept, and get in the habit of using a zip loader and a zag loader separately, meaning each loader simply serve a specific function. Richard ___ 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 Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com