[Flashcoders] Actionscript 2.0 Class involving XML
Hey Everyone, I am wondering if there is anyone out there who knows Actionscript 2.0 Classes and XML extremely well. I have an Open Source Actionscript 2.0 class that is used to parse an XML file into Flash. Currently this class is only capable of reading 1 recordset of data from a specially formatted XML file which is causing a significant limitation. I need to modify the class so it can reference/parse multiple datasets. I have not posted the code or the XML here as it is kinda substancial, however I am looking to see if there is any expert out there who is up to the challenge. Please let me know and I will send the code. Al Veldhuis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ASP.NET webservice and Flash
Hey, Just as a suggestion. If you are looking for something to connect to multiple data sources quickly and easily, check out FlashLink Emissary. http://www.flashlinksolutions.com I gave it a try a while back and I have been very impressed. We now have our complete company Intranet using it. We have 4 different departments that use a combination of MS SQL, MySQL and MS Access databases. It is equally easy to communicate with each database and in fact only requires a variable change to change from one database to another. Its fast and have a very easy learning curve. Al Weyert de Boer wrote: I would like to ask if anyone got some advice (best practices) how to use webservices and Flash together to let Flash consume records from a database. Because I have to make multiple databases accesible through one source, I will be using a web service (SOAP) only. I have no clue if I need todo something special to let Flash consume such webservices. Anyone able to shed some light on this for me? Thanks in advance! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] remoting v service
Hey Gavin, An option you could try out is Emissary from FlashLink Solutions. I have been working with it for a short while now and it works pretty well. Its not exactly flash remoting but it is really easy to get data to and from a MS SQL server in Windows. I believe the URL is http://www.flashlinksolutions.com. Just as a suggestion. They have a free trial. Al Gavin Lilley wrote: javascript:setIrrelevant(1573074); Due to changes beyond my control, I am now working on a M$ .NET/MSSQL server and need to migrate my old php/mysql code over. The php code includes AMFPHP Remoting classes. I am looking at either porting the classes into ASP Remoting or creating a set of wsdl Web services. Can anyone give me any insight into why they would use one technology over the other please? I have read that the two technologies combined work well, I dont understand this as I see a web service as an alternative to remoting - am I missing something here? -- Gavin Lilley ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] List Component
Hey John, Just as a suggestion, check out the ghostwire components at http://ghostwire.com They have a list component that I believe is capable of what you are looking to do. I believe you can use either symbols or external files with their list component. Just a possible suggestion. Note: I do not work for them, I just use their components regularily. Al John Giotta wrote: The List Component allows you to set linked symbols as Icons for each list item. I'm looking to use external thumbnails as my icons, but it tends to prove difficult due to the nature of how these symbols are attached. Does anyone know if I'm able to retrieve the 'icon' path and perhaps with some class registration set the content to load a thumbnail? Ideally, I'd like to able to say List.ListItem.icon.loadThumbNailSrc(), just of course not in so many dot notations. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] List Component
Hey Ryan, I know. I know. Its not a hard thing to write but what I generally work on is an Intranet where bandwidth isn't an issue, but developing speed is. So the components are a simple and quick way to get the job done effectively. And to be honest, as far as components go, Ghostwire components are top-notch. Al Ryan Matsikas wrote: or instead of buying another component set why not just write a more capable row renderer.. there's plenty of tutorials. On 12/2/05, Al Veldhuis [EMAIL PROTECTED] wrote: Hey John, Just as a suggestion, check out the ghostwire components at http://ghostwire.com They have a list component that I believe is capable of what you are looking to do. I believe you can use either symbols or external files with their list component. Just a possible suggestion. Note: I do not work for them, I just use their components regularily. Al John Giotta wrote: The List Component allows you to set linked symbols as Icons for each list item. I'm looking to use external thumbnails as my icons, but it tends to prove difficult due to the nature of how these symbols are attached. Does anyone know if I'm able to retrieve the 'icon' path and perhaps with some class registration set the content to load a thumbnail? Ideally, I'd like to able to say List.ListItem.icon.loadThumbNailSrc(), just of course not in so many dot notations. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Remoting Question
Hank, Sorry, I should have been a little more specific. After you create the Remoting connection. On the server side, what kinds of scripts can be run? Can any script run to return variables to flash? My reason for asking is as follows: If I have a program that is an address book. I create the remoting link to the server. If on the server I have a database of variables I need to get to the flash application. What kind of script can/should be used to transfer the data. I was not looking for specifics, more just a general idea. I have several ASP scripts I have used to transfer data to html applications. Can they be used or is there a specific type of script that needs to be used to transfer the data. Al hank williams wrote: When you ask what kind of script do you mean on the server side or within flash? Within flash, you just use the remoting classes and its really just like calling a function that is actually on the server. On the server side you just create functions that take parameters and return values. These functions are called by the flash client and the results are returned to the flash client. The functions can be written in a myriad of languages. If I am not getting to what you are asking let me know and I will give it another shot. Regards Hank On 11/16/05, Al Veldhuis [EMAIL PROTECTED] wrote: Hey Hank, I have a question for you. After the connection in Remoting is created, what type of script do I use to transfer variables to and from flash? Do I just use any type of standard communication script? Or must to be something specialized? Al hank williams wrote: On 11/14/05, Al Veldhuis [EMAIL PROTECTED] wrote: Hi Guys, The site will be hosted on a Windows server, and will quite heavily us .NET components, so putting it onto a linux server isn't really an option. The problem I am quite simply having is that I find flash remoting confusing. I have been working with actionscript for about 3 years now, and understand it fully. I just don't understand how to form packets and transfer them between flash and the remoting software. The only programming I have ever done is in actionscript so I really don't know any other language which I guess makes it more difficult. I have looked at OpenAMF however it doesn't run on Windows. Yes it does. OpenAMF is a java technology which will run wherever java does - which is everywhere. The problem is that it is for *java* not .NET. You seem to need .NET so OpenAMF is out. I didn't understand the purpose of FlashOrb. It sounds more like you dont understand the purpose of remoting. So let me try to explain. Remoting is just a way to make calls to remote procedures on servers from the flash client. Different remoting technologies support different server side systems. In order to do remoting, you need a gateway that sits between your server side system, and the internet. This gateway recieves function calls from flash, and returns the result of the function call to flash. So in order to use remoting, you must have code written on the server side which queries the database or does whatever you need to get done. So you must have code you wish to access in some .NET compatible language such as C#. All remoting does is let you access that code. Server side systems include: Java .NET PHP If you were using php I would suggest AMFPHP. This would allow you to call php functions on your server from within flash. Since you are using .NET, I would suggest flashORB, which is just like all the other remoting gateways, but the standard edition is free, and it supports .NET. On their home page it says: -- Free Standard Edition for .NET includes support for Flash Remoting 10.20.05 The release of Beta 3 marks an important milestone in the history of Flash Remoting for .NET. The free Standard Edition of the product provides Flash Remoting support. -- Once you get remoting set up it is exceedingly simple and powerful. Any function which you wish to access from flash can be accessed via a function call. I have never heard of the company and the product you referenced, but I did go to their website. I cant say it wont work for you, but the remoting mechanism is much more mainstream and therefore, I think, a safer bet. Regards Hank ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Remoting Question
Hi Guys, The site will be hosted on a Windows server, and will quite heavily us .NET components, so putting it onto a linux server isn't really an option. The problem I am quite simply having is that I find flash remoting confusing. I have been working with actionscript for about 3 years now, and understand it fully. I just don't understand how to form packets and transfer them between flash and the remoting software. The only programming I have ever done is in actionscript so I really don't know any other language which I guess makes it more difficult. I have looked at OpenAMF however it doesn't run on Windows. I didn't understand the purpose of FlashOrb. I could potentially have individual asp files sent up for the data transfer however that is pretty time consuming and I would use company resources. That is why I was looking at Flashlink solutions Emissary product. Looks fairly easy, and I tried the demo of the product. I was able to get data transferring pretty easily. But I kinda hoping for an opinion from an expert on it. I doesn't really look like it is mainstream software as I really can't find much information about it. Has it been around long? Is it like flash remoting? I may just bite the bullet and purchase a copy to give it a shot. Its only $50 but... Well... I am cheap (grin) But if anyone has any opinions/ideas, please let me know. I have a couple days before it is required. Regards, Al ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Remoting Question
Hi Hank, Thank-you for the explanation of Remoting. I think I understand it a little better now. I believe that may be the reason I was having so many difficulties. I was thinking it was a way to connect to a database using commands from flash. Now it turns out it was actually opposite than what I thought. That makes some of the work I have done make a little more sense. I always thought that remoting was just a gateway and flash did all the work. That would probably be why everything I have tried hasn't worked. Now that I understand it a little better, I am going to give it a whirl again. My primary goal is to take a access database (Now a MS SQL database) and make it accessible to our sales reps online. It is just for data entry more than anything else. It will let the sales guys enter their sales orders in the field. Just for the record. I went through the training that was available on the flashlink solutions website. Their product was pretty darn simple to use. It was pretty basic actionscript to make it run. My manager made the plunge and we purchased a copy to use for the project so I am kinda bound to it for this project. But, I am going to take another swing at remoting after this project is done. Is flashOrb the only remoting for .NET? Regards, Al hank williams wrote: On 11/14/05, Al Veldhuis [EMAIL PROTECTED] wrote: Hi Guys, The site will be hosted on a Windows server, and will quite heavily us .NET components, so putting it onto a linux server isn't really an option. The problem I am quite simply having is that I find flash remoting confusing. I have been working with actionscript for about 3 years now, and understand it fully. I just don't understand how to form packets and transfer them between flash and the remoting software. The only programming I have ever done is in actionscript so I really don't know any other language which I guess makes it more difficult. I have looked at OpenAMF however it doesn't run on Windows. Yes it does. OpenAMF is a java technology which will run wherever java does - which is everywhere. The problem is that it is for *java* not .NET. You seem to need .NET so OpenAMF is out. I didn't understand the purpose of FlashOrb. It sounds more like you dont understand the purpose of remoting. So let me try to explain. Remoting is just a way to make calls to remote procedures on servers from the flash client. Different remoting technologies support different server side systems. In order to do remoting, you need a gateway that sits between your server side system, and the internet. This gateway recieves function calls from flash, and returns the result of the function call to flash. So in order to use remoting, you must have code written on the server side which queries the database or does whatever you need to get done. So you must have code you wish to access in some .NET compatible language such as C#. All remoting does is let you access that code. Server side systems include: Java .NET PHP If you were using php I would suggest AMFPHP. This would allow you to call php functions on your server from within flash. Since you are using .NET, I would suggest flashORB, which is just like all the other remoting gateways, but the standard edition is free, and it supports .NET. On their home page it says: -- Free Standard Edition for .NET includes support for Flash Remoting 10.20.05 The release of Beta 3 marks an important milestone in the history of Flash Remoting for .NET. The free Standard Edition of the product provides Flash Remoting support. -- Once you get remoting set up it is exceedingly simple and powerful. Any function which you wish to access from flash can be accessed via a function call. I have never heard of the company and the product you referenced, but I did go to their website. I cant say it wont work for you, but the remoting mechanism is much more mainstream and therefore, I think, a safer bet. Regards Hank ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Remoting Question
Hey Martin, Actually Hank explained remoting quite well and I understand it a little better now. Still a bit confusing, but now that I know how it works a little better, I should be able to give it another try with renewed vigor. (grin) Al Martin Wood wrote: The problem I am quite simply having is that I find flash remoting confusing. I have been working with actionscript for about 3 years now, and understand it fully. I just don't understand how to form packets and transfer them between flash and the remoting software. The only programming I have ever done is in actionscript so I really don't know any other language which I guess makes it more difficult. You dont form packets, you send objects. Thats the beauty of it, with the remoting connector installed on the server you dont have to convert data into packets, or strings or xml. its like xml-rpc without the xml. :) martin ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Remoting Question
Hello, I have a question. I am reasonably experienced in Flash and Actionscripting, and I have recently tried to learn Flash Remoting. I find it extremely confusing at times to use. I have kinda given up. So I started searching for an alternative to Flash Remoting, and I came accoss a site that sells software called Emissary. The site is flashlinksolutions.com http://flashlinksolutions.com/. Does anyone out there know anything about this company and their software? It looks like it does what I am looking for, but I am not sure. If anyone has any experience with this product, please let me know as I don't want to drop $50 and find out it isn't what I am looking for. Or does anyone know of any less confusing, (And Cheaper) Flash remoting software? Al Veldhuis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders