[flexcoders] Re: AS3 RSS Parser
--- In flexcoders@yahoogroups.com, "Jesse Warden" <[EMAIL PROTECTED]> wrote: > Jesse> Anyone know of an ActionScript 3 RSS feed parser that does not Jesse> have any Flex framework dependencies? Hum... don't really know what you mean by not having Flex framework dependencies, but try http://code.google.com/p/as3syndicationlib/. Maybe that suits your needs.
[flexcoders] Re: addchild
--- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Max> Ok thanks, I can finally see the ball. I did look on Max> http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html Max> It should have this line somewhere on this page: Max> import.mx.core.UIComponent Max> For the world of me I don't know why they don't have that on that Max> page. Hi Max, I've had the same problems you did. But, as soon as I started looking at the API and consulted the "Programming ActionScript 3.0" user manual, everything started to become evident. You should also have a look at the "Flex Compiler API User Guide" and "Flex Developer's guide". It's all in there. All the best, Fidel.
[flexcoders] Re: Does Flex needs a url to a WSDL to know how to connect to a webservice?
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > In what way ? > You can have the API require a login, for instance, but the only other > approach would be a VPN along side the Flex application. I have a question regarding authentication and security. Has anyone tried webservice security with flex?
[flexcoders] Re: Does Flex needs a url to a WSDL to know how to connect to a webservice?
--- In flexcoders@yahoogroups.com, João <[EMAIL PROTECTED]> wrote: > > Hello, > > we have built a Flex application that connects to Web-Services created > by a third-party. The problem is that our client doesn't want the WSDL > publicly accessible. > Is there a way to have Flex connecting to web-services without the > need of an WSDL? For example, by embedding the WSDL on the swf, or > something like that? I have tried removing the WSDL argument and > hardcoding the endpointURI on the WebService tag, but this way it > simples doesn't work. > The way you connect to webservices is the same for every language. You need to know which methods are provided by the service. That is what the WDSL does. It establishes the agreement rules between the service client and the service provider. In other words, it tells you the functions you can call and the data types used. I am not quite sure what you mean by embedding the WSDL in the swf, because the WSDL file stays on the server end, and swf is a client interface, not server. When you say publicly available, do you mean available on the internet? Or is the application working in an intranet? Have a look at http://www.systinet.com/doc/ssc-60/primer/html/how.web.services.work.html so that you can understand how webservices work, and then just dive into the manuals to know how to use them in Flex. But, basically, you need to provide an endpointURI, because without it the webservice component doesn't know where the webservice is. It is the same as if you are trying to send some data to a php or jsp script. Will you be able to send the data if you don't provide the url address of that script? Same thing with webservices. Hope that helps. All the best, Fidel.
[flexcoders] Resizing a button icon
Hello all, I was wondering if it is possible to resize an icon we embed in a button or any other component. So far I have been resizing the icon in an image application, but I am sure there must be some way of specifying its size in flex. Can someone help? Thanks in advance. Fidel.
[flexcoders] symbols in a swf library
Hello folks, According to the Flex manuals (http://www.adobe.com/devnet/flex/quickstart/embedding_assets/#EmbeddingSwfLibraryAssets) we cannot import Graphics symbols from a swf library, because we cannot export them for Actionscript. I don't know which version of Flash they are talking about, because I was able to export Graphics symbols from Flash 8.0, and was able to import them in my flex app. Can someone clarify me on this, please. Thanks in advance. Fidel.
[flexcoders] Re: Flex Samples
Hi Stewart, I have had the same problem. First, I read the getting started user manual, where I grasped how Flex worked. Since I had already worked with Openlaszlo before, it was easy to get used to it. The technologies are quite similar. Well, I have tried to find examples as well, and found this site http://www.brightworks.com/technology/adobe_flex/code.html I studied the source code of those that interested me, and then I was implementing an application with it. I am in the middle of finishing a document management system that was implemented in Flex and Java. I think you should also have a look at Craingorm, which is a nice api that allows you to organize your code in a proper way. Well, hope that helps. All the best, Fidel.
[flexcoders] Re: Data Bind question
Hi Everyone, First of all, Happy New Year Second, I have managed to resolve the problem. It had nothing to do with the ArrayCollection returned from the webservice. I was having a null object, which was not instantiated yet. This had to do with the order of component creation within flex. All the best, Fidel.
[flexcoders] Data Bind question
Hello folks, I have the following returned from a webservice: begin code http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://www.fuxiontechnologies.com/SectionService";> http://objects.model.fuxiontechnologies.com";> http://objects.model.fuxiontechnologies.com";> Jornal -1 http://objects.model.fuxiontechnologies.com";>2 http://objects.model.fuxiontechnologies.com";> 3 BIBLIOTECA http://objects.model.fuxiontechnologies.com";>JORNAIS http://objects.model.fuxiontechnologies.com";> http://objects.model.fuxiontechnologies.com";> Acta de Reunião -1 http://objects.model.fuxiontechnologies.com";>4 http://objects.model.fuxiontechnologies.com";> 3 BIBLIOTECA http://objects.model.fuxiontechnologies.com";>ACTAS DE REUNIÕES http://objects.model.fuxiontechnologies.com";> http://objects.model.fuxiontechnologies.com";> Documento -1 http://objects.model.fuxiontechnologies.com";>3 http://objects.model.fuxiontechnologies.com";> 3 BIBLIOTECA http://objects.model.fuxiontechnologies.com";>MANUAIS E REGULAMENTOS INTERNOS http://objects.model.fuxiontechnologies.com";> http://objects.model.fuxiontechnologies.com";> Plano de Actividade -1 http://objects.model.fuxiontechnologies.com";>8 http://objects.model.fuxiontechnologies.com";> 3 BIBLIOTECA http://objects.model.fuxiontechnologies.com";>PLANOS DE ACTIVIDADES http://objects.model.fuxiontechnologies.com";> http://objects.model.fuxiontechnologies.com";> Artigo -1 http://objects.model.fuxiontechnologies.com";>9 http://objects.model.fuxiontechnologies.com";> 3 BIBLIOTECA http://objects.model.fuxiontechnologies.com";>GARIMPO http://objects.model.fuxiontechnologies.com";> http://objects.model.fuxiontechnologies.com";> Livro -1 http://objects.model.fuxiontechnologies.com";>1 http://objects.model.fuxiontechnologies.com";> 3 BIBLIOTECA http://objects.model.fuxiontechnologies.com";>LIVROS http://objects.model.fuxiontechnologies.com";> http://objects.model.fuxiontechnologies.com";> Apresentação -1 http://objects.model.fuxiontechnologies.com";>5 http://objects.model.fuxiontechnologies.com";> 3 BIBLIOTECA http://objects.model.fuxiontechnologies.com";>APRESENTAÇÕES http://objects.model.fuxiontechnologies.com";> http://objects.model.fuxiontechnologies.com";> Relatório -1 http://objects.model.fuxiontechnologies.com";>7 http://objects.model.fuxiontechnologies.com";> 3 BIBLIOTECA http://objects.model.fuxiontechnologies.com";>RELATÓRIOS http://objects.model.
[flexcoders] Re: Help with DataGrid dataField
--- In flexcoders@yahoogroups.com, "rueter007" <[EMAIL PROTECTED]> wrote: > venkat> datagrid doesn't support this functionality of figuring out what venkat> name.given and name.family is. Use a label function on the venkat> column to get the data and return the given or family name venkat> yourself. Thanks!
[flexcoders] Help with DataGrid dataField
Hello folks, I am trying to bind a complex model to a DataGrid. I have modified the employee.xml, just to illustrate what I am trying to do. Here is the code: - begin code employees.xml --- Christina Coenraets 555-219-2270 [EMAIL PROTECTED] true Louis Freligh 555-219-2100 [EMAIL PROTECTED] true Ronnie Hodgman 555-219-2030 [EMAIL PROTECTED] false Joanne Wall 555-219-2012 [EMAIL PROTECTED] true Maurice Smith 555-219-2012 [EMAIL PROTECTED] false Mary Jones 555-219-2000 [EMAIL PROTECTED] true - end code -- Now, what I want to do is have a DataGrid that will render the given name, family name, phone and email. Here is how I tried to accomplish this: -- begin code DataGridSample.mxml http://www.adobe.com/2006/mxml";> --- end code - Now, why doesn't "name.given" and "name.family" work as dataFields? I know the data is there because when I click on a DataGrid row, the form below it shows the correct data. I am just trying to understand why my data does not show in the DataGrid, and how do I solve this? I look forward for an answer. All the best, Fidel.
[flexcoders] Re: Monitoring Webservice data flow with TCPMon
--- In flexcoders@yahoogroups.com, "javaguru_uk" <[EMAIL PROTECTED]> wrote: > > Hello folks, > > Has anyone played with TCPMon to monitor data exchange between Adobe > Flex and a WebService? > Can someone give me a hint on how to configure tcpmon to sniff the data? > > Thanks in advance, > > Fidel. > Got this one sorted. It was a configuration problem. All the best, Fidel.
[flexcoders] Re: Centering an Application
--- In flexcoders@yahoogroups.com, "Randy Martin" <[EMAIL PROTECTED]> wrote: Randy> All you have to do is set the horizontalCenter=0 and Randy> verticalCenter=0 on the outermost component (except Canvas) in Randy> your application. For example, Randy> http://www.adobe.com/2006/mxml"; Randy> layout=absolute> Randy> Randy> verticalCenter=0 title="My Window"> Randy> Randy> Randy> Randy> This will center the title window on your screen. Thanks! I will give that a try. Fidel.
[flexcoders] Re: Centering an Application
--- In flexcoders@yahoogroups.com, Frederico Garcia <[EMAIL PROTECTED]> wrote: garcia> Well,this is in fact a lot of work. I used this because I garcia> wanted to surround my main canvas with different colors (like garcia> a tile). If you just want your canvas centered you have to garcia> insert ALL you content inside a SINGLE container (canvas, panel, garcia> etc...) a center that container inside the Application garcia> (HorizontalCenter and VerticalCenter). These two attributes are new to me. I was using horizontalAlign and verticalAlign. I will try that out. garcia> I think what you'r trying to do is center the application garcia> itself. Not possible (or at least inside flex, in order to do garcia> that you must change the html template and add the swf in the garcia> middle cell of a 3x3 table) Ok, I am using Adobe AIR. What I want is to center my Canvas inside my Application Window. But, I guess that horizontalCenter and verticalCenter should do that. I will try that. Thanks for the reply. All the best, Fidel.
[flexcoders] Re: Centering an Application
--- In flexcoders@yahoogroups.com, Frederico Garcia <[EMAIL PROTECTED]> wrote: > Have a VBox as the top level container (top=0;bottom=0;left=0;right=0). > Insert one empty Canvas, then an HBox, then another empty Canvas. The > two Canvas' having width and height of 100% and the HBox the same height > as your "Application Canvas". Now, inside the Hbox have one empty > canvas, your "Application Canvas" and finally another empty canvas. The > empty Canvas' with width=100% and height=100%; > > The outline tree would look like: > > Applicaton > |-- VBox > |-- Canvas top > |-- HBox > | |-- Canvas centerLeft > | |-- Canvas main > | |-- Canvas centerRight > |-- Canvas bottom > > I'd only advise you to do this if you want alot of flexibility in your > layout. (I did this for http://www.sizemodels.com) > > For the most cases it would be enough to have all your content inside a > Canvas, and set it's verticalCenter = 0 and horizontalCenter = 0. > Hi Garcia, Thanks a lot for the tip. Muito obrigado mesmo. I will give it a try. But that is a hell of a lot work for a simple solution. :D Fidel.
[flexcoders] Monitoring Webservice data flow with TCPMon
Hello folks, Has anyone played with TCPMon to monitor data exchange between Adobe Flex and a WebService? Can someone give me a hint on how to configure tcpmon to sniff the data? Thanks in advance, Fidel.
[flexcoders] Centering an Application
Hello Folks! Hope you guys have had a nice christmas. I am trying to solve something I hope you guys can help me with. I have looked all over the web and did not find any answer. What I want is to center my Application Canvas. So, if I maximize the application window (if using adobe air) or the browser (if using flex), the Canvas is always at the center. Can someone give me some hints? I have tried the horizontalAlign and verticalAlign, which I thought would solve my problem. I have opened the generated swf with the Flash Player and when I maximize the Flash Player, my Canvas stays at the top left corner. I would like to center it. Thanks in advance, Fidel.
[flexcoders] Re: HTML control
Hi Gordon, That was what I used, but the background was still white. Can't really figure out why the background was still coming through. --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > Try setting the HTML control's 'paintsDefaultBackground' property to > false. > > - Gordon > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of javaguru_uk > Sent: Saturday, December 15, 2007 2:37 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] HTML control > > > > Hello folks! > > First, since this is my first post, I would like to thank you all for > setting up this discussion group. > I would like to congratulate however has taken the initiative to take > it forward. > > Now, coming to what I would like to ask, I was wondering if it is > possible to make the HTML control transparent. I have tried it, but > was unsuccessful. My content did not have a background, so I was > wondering why it wasn't showing the transparency of the HTML control. > I know it does not become transpartent with PDF, but I am really using > HTML files. > > Can someone point me to a more descriptive documentation of the HTML > control, or point me to some examples of its usage? > > Thanks in advance, > > Fidel. >
[flexcoders] HTML control
Hello folks! First, since this is my first post, I would like to thank you all for setting up this discussion group. I would like to congratulate however has taken the initiative to take it forward. Now, coming to what I would like to ask, I was wondering if it is possible to make the HTML control transparent. I have tried it, but was unsuccessful. My content did not have a background, so I was wondering why it wasn't showing the transparency of the HTML control. I know it does not become transpartent with PDF, but I am really using HTML files. Can someone point me to a more descriptive documentation of the HTML control, or point me to some examples of its usage? Thanks in advance, Fidel.