RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
True. But the processing of the XML is only part of a request. If a certain query itself takes 5 seconds to complete, you can do your best in the remoting part of the transaction, but it will not bring you much. Cheers, Franck From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Evert | Collab Sent: Tuesday, August 22, 2006 10:43 PM To: flexcoders@yahoogroups.com Subject: Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides You are forgetting that if a request takes half the time to complete, it needs less cpu time and you can double the concurrent requests per server. Evert Dave Wolf wrote: I simply have to disagree here. We can demonstrate several in production applications which we have developed using SOAP XML WebServices and they perform like a champ. One of them was the runner up for last years MAX award. The majority of the applications we develop use this architecture and to date not a single time has a client nor a user complained about the performance of runtime data services based on SOAP. There are a few false rumors that continue to creep up in the Flex community about the performance issues around SOAP. There are benchmarks which show that AMF can be drastically faster than a SOAP call for the same data. Sometimes even 100% faster. Yup that's true there are. But you have to peel away the layers of the onion to see the reality. Statistics can be misleading. For instance, if AMF is 300 milliseconds and SOAP is 600 milliseconds the 100% difference isnt even relative. How many people do you know who can even see 1/3 of a seconds difference? In the end raw marshalling isnt the issue, it is the user and their experience. Flex2 made DRASTIC improvements it the performance of XML parsing and in our own benchmarks the delta between the two services choices is often as low as 10%. Of a much greater impact that the marshalling time is the UI shredding and binding of the data. Most badly performing RIA's suffer from data being returned from the back-end in a format that holds no fidelity with the RIA. This requires the RIA to tear apart the returned structural data and place it into its own structures and objects and bind those to UI controls. Developing your user experience in a front-to-back approach which assures great fidelity between the data formats of the tiers can account for an order of magnitude performance increase. That is the kind of performance increase users will actually experience. There are many other very smart things you can do like extending existing controls to do streaming rendering of data to provide the perception of speed, server side paging, caching, etc. In the end perception is reality. All that matters from the UI perspective is the experience that the user has. Worring about 300 milliseconds is like trying to debate the number of angels that could dance on the end of a pin. If the user can't see them, it doesn't matter how many there are. The running rumor that you simply cannot develop first class RIAs in Flex using a SOAP web services back-end is simply not accurate, and we have the apps in production with our clients to prove it. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
Its nice to hear this feedback. I am using Axis successfully, but I remember that it indeed took some time to get to full grips with it. Some other post also mentioned (I think it was Ben) that real world examples/tutorials of using web services were not present. And that includes setting up the server side of a webservice as well. Cheers, Franck From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams Sent: Thursday, August 24, 2006 8:19 PM To: flexcoders@yahoogroups.com Subject: Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides I have to agree with Ted regarding productivity. Of course I may just be revealing that I am not as smart as the rest of you, but when I was considering various means of connecting to my java server during the transition to Flex2, I explored Axis and Axis2 for web services. Figuring out how to use them was *no joke*. I am sure if I had dedicated the time to it I could have gotten up and running. But, honestly, I gave up after several days of study. The Axis umailing list was fairly useless for beginners, there were lots of people having problems with Axis2 and the documentation was almost unbearable. Now if you are already an expert then none of this applies to you. But the idea that from flash that you can just call your server side code just by declaring the classes you are working with in a configuration file is magic. It is so easy. Of course the typing issues on web services sound like a bear too and there are none with remoting, but I cant really talk about that because I never got that far with web services. FDS and Flex2 are far far easier to work with. My only problem with FDS is pricing. Remoting used to cost $1000 or so per server, or it was free if you used an open source solution. Now it costs $20,000 per server after you need more than one server. I may actually have to switch back to an AMF0 version of remoting by the time my first server is overwhelmed because $20k is insane. I am using amazon S3 and for 20k worth of bandwidth and storage I could support millions of users over a year. but 20k in FDS software probably only supports 100k users. So the economics of FDS are insane. They are probably driven by the desire not to screw the Flex 1.5 people who paid a lot of money for their servers. Nevertheless, for remoting only apps FDS pricing is the only reason not to use it. But technically if you dont have to learn web services FDS will save you a lot of time. Regards, Hank On 8/23/06, Ted Patrick [EMAIL PROTECTED]com wrote: AMF is faster in 3 fundamental ways: Bandwidth Size Smaller, lighter, faster!!! Parsing Speed Less work on both client and server!!! Developer Productivity Less work for developers!!! Web Services are dependent on XML Parsing on both the client and server side. Although it's a good story, XML parsers are not very efficient as parsing documents is an interpreted process. The Flash Player XML parser will always be dramatically slower than AMF parsing, binary formats are notoriously faster in this regard. XML parsing additionally decays rapidly as the file size increases. Flash Player XML parsing time increase non-linearly with larger XML documents. With AMF parsing times are linear with data size. The XML decay can be attributed to the number of inner objects that need to be created during a parsing run. AMF objects are 1:1 with the data received where XML data is 1:N per Elements/Attribute. Comparing XML to AMF is an unfair race, AMF wins every time. When you add in the overhead of WS SOAP parsing atop the base XML parser speed you begin to see performance issues. With SOAP, you interpret an XML document back into typed objects depending on the SOAP specifics used. Sure 350ms is ok once or twice, but try doing 200 transactions in this format and you will see performance issues arise. Using Web Services you are forcing the Flash Player to do allot of unneeded work. The goal is to build richer applications, not burn up player performance in crud operations. Additionally non-proxied Web Service use suffers with Flash Player because of the browser variation in the plug-in APIS. You cannot get the 500 Errors response content in IE and thus the SOAP fault standard breaks down. In SOAP there are important messages that arrive with 500 Errors and the inability of the Flash Player to receive these is a problem. Unfortunately there is no seamless way to get 500 Errors into the Flash Player other then rewriting an HTTP Client in the Socket class. This effort would also require a new SOAP library within Flex and socket use on low ports requires a more complex crossdomain.xml configuration. Even then you still suffer the same performance issues. Performance aside, the productivity discussion is much more important. AMF3 and Flex Data Services are wildly productive. Once you compile your Java
RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
Hi Mark, I am curious, what is the reasoning for that decision? Wasn't WebOrb originally for Java? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark PillerSent: Friday, 25 August 2006 3:23 PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Hi Bjorn,There are no plans to add AMF3 support into WebORB for Java.Thanks,Mark--- In [EMAIL PROTECTED]ups.com, "Bjorn Schultheiss"bjorn.schultheiss@... wrote: Hi Mark, Are there plans for a webOrb release (AMF3 included) for Java? Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies _ From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Mark Piller Sent: Friday, 25 August 2006 2:30 PM To: [EMAIL PROTECTED]ups.com Subject: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backendsystems - which providesI am sorry to make this 'Guinness-World-Records-candidate' thread even longer, but I thought I'd clarify.. WebORB and the AMF3 implementation we offer is available for .NET, Ruby and soon-to-be-released PHP, but not Java. Btw, the WebORB for PHP release should be available next week and it will deliver AMF0, AMF3 and deployment via remoting-config.xml Thanks, Mark --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.comups.com, "hank williams" hank777@ wrote:Check out WebORB: $700 per license, no concurrent user limit. ;-) Hey, do they do Java remoting with AMF3? I know they do it with .NET and Now ROR, but I would be really interested in a Java product if they have it. Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
Hi Franck, Although your post was directed at Ted my opinion is that for UI performance, transferring XML is justtoo slow. Having to construct XML on the server, send it and then parse it in Flex is just too much hassle without any benefits over the AMF. The main attraction of AMF3 for our company is being able to maintain complex typed object structures without any parsing when communicating between JAVA and FLEX. The UIresponse time is also a huge plus when dealing with user interaction, XML is just to cumbersome. Development time is also greatly reduced, provided the technology works, which seems to be the case with AMF3 as opposed to AMF0 which we faced all sorts of issues when pushing it to it's limits. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Franck de BruijnSent: Friday, 25 August 2006 3:38 PMTo: flexcoders@yahoogroups.comSubject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Hi Ted, At the risk of offending you ... the more people shout, the less I listen to them. I totally agree with you (again!) that FDS is much more than just remoting. And if the solution requires the other features of FDS (that webservices cannot provide), FDS is a good option to choose. Pricing might be an issue, but in the area (financial services) I work in, I don’t expect it to be a real issue. If the requirement of your software project is indeed to support client PCs from the previous century, of course you need to check what the user experience is on those machines (again: that’s the only driving factor). For me, this does not apply, since the applications I build are 90% intranet applications (enterprise administrative systems); these environments normally do not have so many problems parsing an XML message. I always strive to build my solutions on standards and don’t want to rely on proprietary frameworks and tools, when I don’t need to. It gives me freedom and makes me more resilient to change. So, for the last time, in my area I don’t see the need for messaging and data management (2 of the 4 major parts that you mention), and so far I have not suffered from any user experience issues due to the usage of webservices (point 4). Remains the productivity issue (point 3). For that I am willing to pay the price of choosing a standard instead of locking into a proprietary framework, since I believe that it will not drive up the total costs of a software development project significantly. To your question ‘Would non-flash clients for AMF and Messaging help?’ ... I don’t think so. AMF will never become a standard like webservices are now. Pushing AMF as a new remoting standard would be a big mistake. You’d burn a lot of money with probably no success. Maybe this will sound strange now, but I am no great fan of web services. I think it is a lousy technology. But it’s the technology that the big industries are standardizing on now. And that’s the great benefit. Although the technology is lousy, it does its job. There are interoperability issues, but in due time they will be fixed. After the journey of RPC, CORBA, RMI (and other proprietary communication protocols ... I remember PowerBuilder had its own as well), I hope that web services will be the final technology that will be settled on. Then, we can start focusing our valuable time on the business at hand and not on the exchange of data between client and server, which should be something trivial. By the way, writing that last paragraph made me wonder why Macromedia did not choose RMI for the remoting protocol, but have you chosen to develop your own (AMF)? Cheers, Franck From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ted PatrickSent: Thursday, August 24, 2006 6:50 PMTo: [EMAIL PROTECTED]ups.comSubject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Frank,RPC IS LESS THAN 25% OF FLEX DATA SERVICES!!!Flex Data Services is so much more that RPC. This entire discussion is really FDS.RPC to WebServices. FDS contains 4 major parts:1. Messaging - ASMessaging and JMSMessaging2. Data Management - Data Synchronization and Distributed ArrayCollections3. Web Tier Compiler - Compilation of AS/MXML on the server side.4. RPC - Remoting and WebService ProxyUsing Web Services directly affects user experience!!! Using Web Services directly affects user experience!!! Using Web Services directly affects user experience!!! Web Services burns up player performance that you could be using to make the user experience better. When working in Flash Player, everything affects performance. If you abuse the player in one area, you limit what you can do elsewhere before the player starts to slow down. The Flash Player (like all software) is limited in capability; if you spend that capability
RE: [flexcoders] Passing data from JSP to Flex
Hi Anas, After you've logged in via your JSP login page you'll have an authenticated HttpSession on the server. If you then visit an mxml app hosted within the same web application (under the same context root) any remoting/messaging/data service interaction the mxml app has with the server will use this same authenticated session as long as the mxml app is contacting the server over an AMF or HTTP channel. If you want to display specific info about the logged in user in the mxml app, the simplest route would be to use RemoteObject to request it from the server. You'd just need to write a simple POJO that looked up the info you wanted from the current authenticated server session. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anas Mughal Sent: Thursday, August 24, 2006 8:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing data from JSP to Flex I am new to Flex. Could someone help me with the following question. We have a struts-based application that we are gradually porting over to Flex. Currently, the user authentication (login screen) is done via a JSP page. A new module of the application is wrriten in Flex. We would like to pass the logged-in user information to Flex. How should we do that? Thank you very much for your kind assistance. -- Anas Mughal Get your email and more, right on the new Yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
Hi Franck, I guess when faced with the situation of the back-end technology with exposed webservicesis already in place and the UI having to conform to it then that does not leave you much option then having to use XML. In an ideal development process for Client and Server side to make use Value Objects as currency compared to XML is much more efficient. To answer your first question, these objects converted to XML would be around the 1000 nodes mark. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Franck de BruijnSent: Friday, 25 August 2006 4:48 PMTo: flexcoders@yahoogroups.comSubject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Hi Bjorn, Could you provide me some insight in how large your objects are and how complex they are? In XML, how many lines would it be? And how many nested levels would it be? In the applications I build, the XML is at the most 100 1000 lines, and I don’t see many problems with it. But, if you are pushing 1000s of lines over the line, I can understand it can become an issue. In terms of nesting I typically encounter 2 or 3 levels (objects) deep, but not much deeper. Also this is not causing many issues. It always depends on how you have architectured your interface. Probably you are in the luxury where you can also dictate the back-end technology. This is not always the case. Most often the back-end is already there and you just have to plug a GUI on top of it. Cheers, Franck From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn SchultheissSent: Friday, August 25, 2006 8:09 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Hi Franck, Although your post was directed at Ted my opinion is that for UI performance, transferring XML is justtoo slow. Having to construct XML on the server, send it and then parse it in Flex is just too much hassle without any benefits over the AMF. The main attraction of AMF3 for our company is being able to maintain complex typed object structures without any parsing when communicating between JAVA and FLEX. The UIresponse time is also a huge plus when dealing with user interaction, XML is just to cumbersome. Development time is also greatly reduced, provided the technology works, which seems to be the case with AMF3 as opposed to AMF0 which we faced all sorts of issues when pushing it to it's limits. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Franck de BruijnSent: Friday, 25 August 2006 3:38 PMTo: [EMAIL PROTECTED]ups.comSubject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Hi Ted, At the risk of offending you ... the more people shout, the less I listen to them. I totally agree with you (again!) that FDS is much more than just remoting. And if the solution requires the other features of FDS (that webservices cannot provide), FDS is a good option to choose. Pricing might be an issue, but in the area (financial services) I work in, I don’t expect it to be a real issue. If the requirement of your software project is indeed to support client PCs from the previous century, of course you need to check what the user experience is on those machines (again: that’s the only driving factor). For me, this does not apply, since the applications I build are 90% intranet applications (enterprise administrative systems); these environments normally do not have so many problems parsing an XML message. I always strive to build my solutions on standards and don’t want to rely on proprietary frameworks and tools, when I don’t need to. It gives me freedom and makes me more resilient to change. So, for the last time, in my area I don’t see the need for messaging and data management (2 of the 4 major parts that you mention), and so far I have not suffered from any user experience issues due to the usage of webservices (point 4). Remains the productivity issue (point 3). For that I am willing to pay the price of choosing a standard instead of locking into a proprietary framework, since I believe that it will not drive up the total costs of a software development project significantly. To your question ‘Would non-flash clients for AMF and Messaging help?’ ... I don’t think so. AMF will never become a standard like webservices are now. Pushing AMF as a new remoting standard would be a big mistake. You’d burn a lot of money with probably no success. Maybe this will sound strange now, but I am no great fan of web services. I think it is a lousy technology. But it’s the technology that the big industries are standardizing on now. And that’s the great benefit. Although the
Re: [flexcoders] Items Invisible in ComboBox
It looks like and old bud in flash v2 components, but I never get it in flex 2...On 8/24/06, stevehousefl [EMAIL PROTECTED] wrote: I have a very standard combobox control: mx:ComboBox id=cbStatus dataProvider={statusesWithAll} labelField=sStatus change=filterChange()/mx:ComboBox When I click on it and it opens, some items are invisible. The space for them is there, but the text is missing. If I select an invisible item, it displays properly in the closed combobox and works as designed with the app. It seems to randomly make items appear and disappear with each open and close of the combobox. Sometimes the selected item will reappear with the highlight on it or sometimes just the empty row will be highlighted. Any ideas? Thanks, Steve H. -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Passing data from JSP to Flex
Hi Seth, Thank you for your thoughts. It's good to hear new voices. Being a .Net guy I learned something that appplied to my nook. Thanks again, Tim --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: Hi Anas, After you've logged in via your JSP login page you'll have an authenticated HttpSession on the server. If you then visit an mxml app hosted within the same web application (under the same context root) any remoting/messaging/data service interaction the mxml app has with the server will use this same authenticated session as long as the mxml app is contacting the server over an AMF or HTTP channel. If you want to display specific info about the logged in user in the mxml app, the simplest route would be to use RemoteObject to request it from the server. You'd just need to write a simple POJO that looked up the info you wanted from the current authenticated server session. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anas Mughal Sent: Thursday, August 24, 2006 8:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing data from JSP to Flex I am new to Flex. Could someone help me with the following question. We have a struts-based application that we are gradually porting over to Flex. Currently, the user authentication (login screen) is done via a JSP page. A new module of the application is wrriten in Flex. We would like to pass the logged-in user information to Flex. How should we do that? Thank you very much for your kind assistance. -- Anas Mughal Get your email and more, right on the new Yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Run Swf File in flash player.
I don't get it Kumar, Are you trying to open a stand alone swf from a IE browser (Explorer) by using SWFLoader??? That is clearly not possible. or are you trying to open it from your computer's file Explorer? That is possible if you have the stand alone player on your machine... You could do a open with... Flash player. Please let me know what you are trying to achieve? Thanks, -sam On 8/24/06, Kumar [EMAIL PROTECTED] wrote: I am using below code for running an swf file. mx:SWFLoader id=Load source=@Embed(source='c:/flash.swf') height=100 width=350/ And this opens the file in explorer can we do some thing to open this file directly in flash player. Can anybody suggest some solution. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Embedded SWF as backgroundImage causing mouseOut event to dispatch
have you tried using rollOver and rollOut? Please let me know if it works, -sam On 8/24/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Hi All,I've created a container which contains a couple of sub-containers that have SWF symbols set to the backgroundImage. Problem is occurring when I set a mouseOver/mouseOut on the parent container, having the backgroundImages causes the mouseOut to get fired on the parent container. Any solutions to prevent this from happening? Example :[Embed(source='/assets/swf/elements.swf', symbol='flag_start')][Bindable] private var flag_start:Class;mx:HBox id=panelParent mouseOver=overMouse(event) mouseOut=outMouse(event) width=100% height=100% //This container will cause the parent to dispatch the mouseOut event because of the backgroundImage // remove the backgroundImage and it doesn't happen mx:HBox id=flag_start_box height=100% width=50% backgroundImage={flag_start} / /mx:HBoxThanks in advance,Brendan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Items Invisible in ComboBox
Hey Carlos, It's hard to say without seeing the application. I've experienced problems like this. The solution was usually looking for interference from other actions; events that confuse the renderer and such. If your component works, stand-alone, look outward. -TH --- In flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: It looks like and old bud in flash v2 components, but I never get it in flex 2... On 8/24/06, stevehousefl [EMAIL PROTECTED] wrote: I have a very standard combobox control: mx:ComboBox id=cbStatus dataProvider={statusesWithAll} labelField=sStatus change=filterChange()/mx:ComboBox When I click on it and it opens, some items are invisible. The space for them is there, but the text is missing. If I select an invisible item, it displays properly in the closed combobox and works as designed with the app. It seems to randomly make items appear and disappear with each open and close of the combobox. Sometimes the selected item will reappear with the highlight on it or sometimes just the empty row will be highlighted. Any ideas? Thanks, Steve H. -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Items Invisible in ComboBox
Steve should post an example that shows the bug in a simple way and let people at Adobe fix the bugOn 8/25/06, Tim Hoff [EMAIL PROTECTED] wrote: Hey Carlos, It's hard to say without seeing the application. I've experienced problems like this. The solution was usually looking for interference from other actions; events that confuse the renderer and such. If your component works, stand-alone, look outward. -TH --- In flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: It looks like and old bud in flash v2 components, but I never get it in flex 2... On 8/24/06, stevehousefl [EMAIL PROTECTED] wrote: I have a very standard combobox control: mx:ComboBox id=cbStatus dataProvider={statusesWithAll} labelField=sStatus change=filterChange()/mx:ComboBox When I click on it and it opens, some items are invisible. The space for them is there, but the text is missing. If I select an invisible item, it displays properly in the closed combobox and works as designed with the app. It seems to randomly make items appear and disappear with each open and close of the combobox. Sometimes the selected item will reappear with the highlight on it or sometimes just the empty row will be highlighted. Any ideas? Thanks, Steve H. -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Disable items in a TileList using a CheckBox
Hi All, I'm sure this must be pretty easy, but I'm suffering a mental block! :-/ I want some of the items in a tilelist to become inactive as a result of selecting a checkbox. The items in the tilelist have a property of category that corresponds with the checkbox label so pseudocode would be: for all items in tileList where item.category == chkbx.label { item.enabled = chkbx.selected } I figure however there must be a way of using binding - any thoughts on how to do this either way? Cheers, Phil -- __ Phil Marston Technology Enhanced Learning Centre for Learning Teaching University of Aberdeen Aberdeen AB24 3QY Email: [EMAIL PROTECTED] Tel: +44(0)1224 273329 Mob: +44(0)7798 723660 Web: http://www.abdn.ac.uk/clt/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Items Invisible in ComboBox
You're right, my bad Carlos. Wrong name on the reply. Cheers. --- In flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: Steve should post an example that shows the bug in a simple way and let people at Adobe fix the bug On 8/25/06, Tim Hoff [EMAIL PROTECTED] wrote: Hey Carlos, It's hard to say without seeing the application. I've experienced problems like this. The solution was usually looking for interference from other actions; events that confuse the renderer and such. If your component works, stand-alone, look outward. -TH --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Carlos Rovira carlos.rovira@ wrote: It looks like and old bud in flash v2 components, but I never get it in flex 2... On 8/24/06, stevehousefl cyberdust@ wrote: I have a very standard combobox control: mx:ComboBox id=cbStatus dataProvider={statusesWithAll} labelField=sStatus change=filterChange()/mx:ComboBox When I click on it and it opens, some items are invisible. The space for them is there, but the text is missing. If I select an invisible item, it displays properly in the closed combobox and works as designed with the app. It seems to randomly make items appear and disappear with each open and close of the combobox. Sometimes the selected item will reappear with the highlight on it or sometimes just the empty row will be highlighted. Any ideas? Thanks, Steve H. -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Items Invisible in ComboBox
Don' worry Tim :)On 8/25/06, Tim Hoff [EMAIL PROTECTED] wrote: You're right, my bad Carlos. Wrong name on the reply. Cheers. --- In flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: Steve should post an example that shows the bug in a simple way and let people at Adobe fix the bug On 8/25/06, Tim Hoff [EMAIL PROTECTED] wrote: Hey Carlos, It's hard to say without seeing the application. I've experienced problems like this. The solution was usually looking for interference from other actions; events that confuse the renderer and such. If your component works, stand-alone, look outward. -TH --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Carlos Rovira carlos.rovira@ wrote: It looks like and old bud in flash v2 components, but I never get it in flex 2... On 8/24/06, stevehousefl cyberdust@ wrote: I have a very standard combobox control: mx:ComboBox id=cbStatus dataProvider={statusesWithAll} labelField=sStatus change=filterChange()/mx:ComboBox When I click on it and it opens, some items are invisible. The space for them is there, but the text is missing. If I select an invisible item, it displays properly in the closed combobox and works as designed with the app. It seems to randomly make items appear and disappear with each open and close of the combobox. Sometimes the selected item will reappear with the highlight on it or sometimes just the empty row will be highlighted. Any ideas? Thanks, Steve H. -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Run Swf File in flash player.
Kumar, SWFLoader loads the requested SWF inside your flex app, if that is what you are trying to achieve then the following code will load an SWF that is located in the same directory as your .mxml file. Just take out the @Embed(). mx:SWFLoader id=Load source=myswf.swf autoLoad=true height=100 width=350/ Good luck. Jenn --- In flexcoders@yahoogroups.com, Samuel Reuben [EMAIL PROTECTED] wrote: I don't get it Kumar, Are you trying to open a stand alone swf from a IE browser (Explorer) by using SWFLoader??? That is clearly not possible. or are you trying to open it from your computer's file Explorer? That is possible if you have the stand alone player on your machine... You could do a open with... Flash player. Please let me know what you are trying to achieve? Thanks, -sam On 8/24/06, Kumar [EMAIL PROTECTED] wrote: I am using below code for running an swf file. mx:SWFLoader id=Load source=@Embed(source='c:/flash.swf') height=100 width=350/ And this opens the file in explorer can we do some thing to open this file directly in flash player. Can anybody suggest some solution. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] CairngormEvent Antipattern
e_baggg wrote: Hello group- I hadn't seen a previous post regarding this explicity so I wrote a small blog about it. It helps reduce the #of classes that get created when using Cairngorm (a big issue with me since the client is VERY picky with their swf file sizes). This blog shows the code for usuing a reusable CairngormEvent versus creating separate classes for each dispatchable event. http://ebaggg.blogspot.com/2006/08/cairngormevent-anti-pattern-we-all.html Thoughts? The ideea is good, but how do you handle them further? Will you have 3 different commands associated with the same event? And each Command will start with an if statement, to see if that's the event he supposed to answer to? Doesn't seem right. Andi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Run Swf File in flash player.
Hi Sam, Thanks for your response. I am trying to open SWF file in flash player that is installed in my system. I do not want to open file in Explorer. Please tell me how we can do it. Regards, Kumar From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel Reuben Sent: Friday, August 25, 2006 2:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Run Swf File in flash player. I don't get it Kumar, Are you trying to open a stand alone swf from a IE browser (Explorer) by using SWFLoader??? That is clearly not possible. or are you trying to open it from your computer's file Explorer? That is possible if you have the stand alone player on your machine... You could do a open with... Flash player. Please let me know what you are trying to achieve? Thanks, -sam On 8/24/06, Kumar kumarpal.jain@infobeans.com wrote: I am using below code for running an swf file. mx:SWFLoader id=Load source=@Embed(source='c:/flash.swf') height=100 width=350/ And this opens the file in explorer can we do some thing to open this file directly in flash player. Can anybody suggest some solution. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: XML editor (contd)
Tim, hi. Ta. Now just to figure out how to do that ... :) J -Original Message- From: Tim Hoff [mailto:[EMAIL PROTECTED] Sent: Friday, 25 August 2006 3:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML editor (contd) Hi John, Sure, the data object contains all of the individual column elements. You would have to conditionally change states or control types by checking the dataField name and binding the appropriate field. -TH --- In flexcoders@yahoogroups.com, John Mazzocchi [EMAIL PROTECTED] wrote: Never mind about my 2nd question, I've solved it :) Buty I'd still like an answer to my first one ... Can each row of a DataGrid have a separate and different custom ItemRenderer/Editor? Ta. J -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How to assign NetStream to VideoDisplay component?
Hi all I have Flex application which connects to FMS 2 and retrieves NetStream. How can I use VideoDisplay or other resizable component instead Video object for displaying media? Thanks Mozilla By __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Building Flex 2 project with Maven
We are developing large Java applications. They are composed of multiple Java projects implemented by different teams. We use Maven (http://maven.apache.org/) to build our projects. The projects can be built outside eclipse on an integration server as part of a Maven project. Jar/war files are stored in the Maven repository. Maven manages dependencies between projects, produces the Javadoc ... We would like to use the same organization with Java/Flex 2 applications. For an example: one team codes an ActionScript library (swc file) in a project, and other teams can uses this library within their Flex project. We don't know if a Maven plugin already exits that is capable of managing a Flex project. we would like to know: 1. If any Maven plugins have been developed for flex ? 2. Would you be interested in a Maven plugin for Flex ? Thanks Laurent. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How to render HTML text in data grid column?
Hi David, I am glad that flexcoders is starting to work for you. I've been helped for other people in the list, and now that I know more about Flex, I am happy to help. See the example below, I think it does what you need. Note that I change the Label for a Text tag. I noticed that the Text tags displays BR and Label does not. Again, do not forget that you can only display basic HTML. I have seen the list of supported HTML tags someplace in the help. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ [Bindable] public var myArray:Array = [{colA:'A',colB:'B'},{colA:'A1',colB:'This is font color=#FF' + 'HTML text/font in a bText' + 'component/b. BR'+ 'Using the uhtmlText attribute/u of the '+ 'font color=#008800 Text component/font you can use basic HTML markup'}]; ]] /mx:Script mx:DataGrid id=myGrid dataProvider={myArray} width=100% height=50% variableRowHeight=true mx:columns mx:Array mx:DataGridColumn dataField=colA headerText=Column A width=70/ mx:DataGridColumn dataField=colB headerText=Column B width=50 wordWrap=true mx:itemRenderer mx:Component mx:Text height=100 htmlText={data.colB} / /mx:Component /mx:itemRenderer /mx:DataGridColumn /mx:Array /mx:columns /mx:DataGrid /mx:Application --- In flexcoders@yahoogroups.com, envidobi [EMAIL PROTECTED] wrote: Hi Oscar, Thanks a bunch for replying. I've had about 10 posts now and i've not gotten a single reply. Thanks for your time! :) I get what you're doing but if i'm getting data from a remote object how would i display it? Hers's what i have thus far (and you'll have to excuse my beginner skills here): mx:DataGrid id=masterList doubleClickEnabled=true doubleClick=this.currentIndex=this.masterList.selectedIndex; if(this.masterList.selectedItem!=null) { WindowManager.add( getDetailComponent(this.masterList.selectedItem.ProductionID), this, false ); } width=100% height=100% top=0 left=0 right=0 bottom=0 mx:columns mx:DataGridColumn dataField=ProductionTitle headerText=Production Title / mx:DataGridColumn dataField=ProductionType headerText=Production Type / mx:DataGridColumn dataField=Description headerText=Description mx:itemRenderer mx:Component mx:Label height=100 mx:htmlText How do i bind Description data here? /mx:htmlText /mx:Label /mx:Component /mx:itemRenderer /mx:DataGridColumn /mx:columns /mx:DataGrid The data in the Description field is all in HTML, and i want to display it as rendered HTML rather than plain text. Thanks again, David -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] CairngormEvent Antipattern
Andrea Varga wrote: e_baggg wrote: Hello group- I hadn't seen a previous post regarding this explicity so I wrote a small blog about it. It helps reduce the #of classes that get created when using Cairngorm (a big issue with me since the client is VERY picky with their swf file sizes). This blog shows the code for usuing a reusable CairngormEvent versus creating separate classes for each dispatchable event. http://ebaggg.blogspot.com/2006/08/cairngormevent-anti-pattern-we-all.html Thoughts? I use a similar approach but i choose to keep the event ID's in the event themselves, not really much different just shifts a dependency from one place to another.. The ideea is good, but how do you handle them further? Will you have 3 different commands associated with the same event? And each Command will start with an if statement, to see if that's the event he supposed to answer to? Doesn't seem right. Commands are looked up and executed according to the event ID so you can register the events and commands like this in the WidgetController : addCommand(EVENT_ADD_WIDGET, AddWidgetCommand); addCommand(EVENT_DELETE_WIDGET, DeleteWidgetCommand); addCommand(EVENT_UPDATE_WIDGET, UpdateWidgetCommand); no need for branching in the command. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: CairngormEvent Antipattern
Andi- Nothing changes with the FrontController and Commands. You would still have 3 separate commands (1 each for add, update, delete). Remember, the generic CairngormEvent classes calls: super(commandName) so the dispatchEvent() for each call would like this: dispatchEvent(new WidgetEvent(WidgetFrontController.ADD_WIDGET, widgetVO)); dispatchEvent(new WidgetEvent(WidgetFrontController.UPDATE_WIDGET, widgetVO)); dispatchEvent(new WidgetEvent(WidgetFrontController.DELETE_WIDGET, widgetVO)); and each Command will apropriately be called just like it was. The key is we're no longer hard-coding the WidgetFrontController.ADD_WIDGET into each CairngormEvent sublcass. --- In flexcoders@yahoogroups.com, Andrea Varga [EMAIL PROTECTED] wrote: e_baggg wrote: Hello group- I hadn't seen a previous post regarding this explicity so I wrote a small blog about it. It helps reduce the #of classes that get created when using Cairngorm (a big issue with me since the client is VERY picky with their swf file sizes). This blog shows the code for usuing a reusable CairngormEvent versus creating separate classes for each dispatchable event. http://ebaggg.blogspot.com/2006/08/cairngormevent-anti-pattern-we-all.html Thoughts? The ideea is good, but how do you handle them further? Will you have 3 different commands associated with the same event? And each Command will start with an if statement, to see if that's the event he supposed to answer to? Doesn't seem right. Andi -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] DataGrid, rowCount, variableRowHeight and wordWrap
I have a DataGrid that I want to always show all 5 rows it will have. The problem is, I have variableRowHeight set to true, and when the grid gets populated with something that makes the row grow in height (or the window size changes, etc), the scrollbars appear. I'd like the grid to change it's height instead. Any ideas on how to tackle that? Shan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
[flexcoders] POP3 by Socket
Bom dia pessoal, Hi folks, I want to know if anyone of you try make the POP3 by Socket example, from IFBIN(Flex by Example), work with final version of Flex 2. Now that he´s free, I try to test something but it just don´t work. Don´t give me any errors. Seems to be a security issue, like crossdomain, but I can´t figure out the real problem. Thanks Rogerio Gonzalez -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] If statment runs before remote call returns data
I am writting a login function that calls a remote cfc and returns data. Based on the length of lastresult either show different view stack child or turn visiable on for label that displays no user found The remote call works, but I have to press login button twice to display the no user found message or to switch to another child of the view stack. It looks like the if statment exacutes before the remoteobject is returned... Thank you in adance. David ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="logincall();" mx:Script ![CDATA[import mx.logging.LogEvent;/* import flash.events.MouseEvent;*/import mx.events.FlexEvent; import mx.styles.CSSStyleDeclaration; import mx.effects.*;import mx.events.*; import mx.rpc.events.*; import mx.controls.Alert;import mx.managers.PopUpManager;import flash.events.Event; import mx.events.MenuEvent; import mx.controls.Alert; import mx.collections.*; import flash.net.*; public function checkRecordCount():void{if (classifiedCFC.qryLogin.lastResult.length==0){lblFailedLogin.visible=true;}} public function logincall():void{ classifiedCFC.qryLogin(fldemployeeID.text,fldssn.text);if (classifiedCFC.qryLogin.lastResult.length==0){lblFailedLogin.visible=true;}else{vsappId.selectedChild=Main;}} [Bindable] public var menuBarCollection:XMLListCollection; public var selectedItem:Object; public function clickEvt(event:ItemClickEvent):void { // Access target TabBar control. var targetComp:TabBar = TabBar(event.currentTarget);// GetQCCQues.qryQccQuesWidget(event.label);} ]] /mx:Scriptmx:RemoteObject id="classifiedCFC" destination="ColdFusion" source="applications.Classifieds.CFCs.classifiedapp" showBusyCursor="true" /mx:ViewStack x="32" y="25" id="vsappId" width="622" height="494" __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: XML editor (contd)
Before getting long-winded, what's your goal? Using the same itemRenderer/Editor for every column in a DataGrid sounds suspicious, but certainly a challenge. I'm out of time right now, but happy to help later. (Since I can't make MAX this year, I'm off to Vegas this weekend instead. Wish I could be there, :: sulking in jealousy ::) -TH--- In flexcoders@yahoogroups.com, "John Mazzocchi" [EMAIL PROTECTED] wrote: Tim, hi. Ta. Now just to figure out how to do that ... :) J -Original Message- From: Tim Hoff [mailto:[EMAIL PROTECTED] Sent: Friday, 25 August 2006 3:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML editor (contd) Hi John, Sure, the data object contains all of the individual column elements. You would have to conditionally change states or control types by checking the dataField name and binding the appropriate field. -TH --- In flexcoders@yahoogroups.com, "John Mazzocchi" john.mazzocchi@ wrote: Never mind about my 2nd question, I've solved it :)Buty I'd still like an answer to my first one ...Can each row of a DataGrid have a separate and different custom ItemRenderer/Editor?Ta. J-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Items Invisible in ComboBox
I've seen this exact same behavior in a ComboBox that is in a DataGrid. I didn't have to time to fully explore the issue so I just set the rowCount property to more items than I had in the ComboBox. The problem didn't happen for me without scrolling in the ComboBox. Nate On Aug 24, 2006, at 2:33 PM, stevehousefl wrote: I have a very standard combobox control: mx:ComboBox id=cbStatus dataProvider={statusesWithAll} labelField=sStatus change=filterChange()/mx:ComboBox When I click on it and it opens, some items are invisible. The space for them is there, but the text is missing. If I select an invisible item, it displays properly in the closed combobox and works as designed with the app. It seems to randomly make items appear and disappear with each open and close of the combobox. Sometimes the selected item will reappear with the highlight on it or sometimes just the empty row will be highlighted. Any ideas? Thanks, Steve H. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] What is the best invalidation technique for non-UI classes?
Any source example? What delay do you use?On 8/24/06, Matt Chotin [EMAIL PROTECTED] wrote: We use a Timer in our non-visual code for this. Matt __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] How to assign NetStream to VideoDisplay component?
Hi, There is an example in the VideoDisplay controldoc showing how to connect to FMS: http://livedocs.macromedia.com/flex/2/docs/0546.html I'm not sure if this is exactly your situation, but it might get you started. Stephen From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ?? Sent: Friday, August 25, 2006 5:27 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How to assign NetStream to VideoDisplay component? Hi all I have Flex application which connects to FMS 2 and retrieves NetStream. How can I use VideoDisplay or other resizable component instead Video object for displaying media? Thanks Mozilla By __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: If statment runs before remote call returns data
You can do something like this : // This will run only when the call to the service is back ... public function OnResult(event:ResultsEvent):void { // Do your stuff here } mx:RemoteObject id=classifiedCFC destination=ColdFusion source=applications.Classifieds.CFCs.classifiedapp showBusyCursor=true result=onResult(event)/ --- In flexcoders@yahoogroups.com, David Brown [EMAIL PROTECTED] wrote: I am writting a login function that calls a remote cfc and returns data. Based on the length of lastresult either show different view stack child or turn visiable on for label that displays no user found The remote call works, but I have to press login button twice to display the no user found message or to switch to another child of the view stack. It looks like the if statment exacutes before the remoteobject is returned... Thank you in adance. David ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=logincall(); mx:Script ![CDATA[ import mx.logging.LogEvent; /* import flash.events.MouseEvent;*/ import mx.events.FlexEvent; import mx.styles.CSSStyleDeclaration; import mx.effects.*; import mx.events.*; import mx.rpc.events.*; import mx.controls.Alert; import mx.managers.PopUpManager; import flash.events.Event; import mx.events.MenuEvent; import mx.controls.Alert; import mx.collections.*; import flash.net.*; public function checkRecordCount():void{ if (classifiedCFC.qryLogin.lastResult.length==0){ lblFailedLogin.visible=true; } } public function logincall():void{ classifiedCFC.qryLogin(fldemployeeID.text,fldssn.text); if (classifiedCFC.qryLogin.lastResult.length==0){ lblFailedLogin.visible=true; } else{ vsappId.selectedChild=Main; } } [Bindable] public var menuBarCollection:XMLListCollection; public var selectedItem:Object; public function clickEvt(event:ItemClickEvent):void { // Access target TabBar control. var targetComp:TabBar = TabBar(event.currentTarget); //GetQCCQues.qryQccQuesWidget(event.label); } ]] /mx:Script mx:RemoteObject id=classifiedCFC destination=ColdFusion source=applications.Classifieds.CFCs.classifiedapp showBusyCursor=true / mx:ViewStack x=32 y=25 id=vsappId width=622 height=494 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Problem: 500 No configured channel has an endpoint path '/flex2gateway/'
Hi there, We are trying to install a Flex2 application on a ColdFusion MX 7.02 J2EE edition (that runs on JRun4). The result is an error: "500 No configured channel has an endpoint path '/flex2gateway/'" Can't find much information about this. Anybody? Thanks! Cheers, Joost __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] FDMS: check, if an item exists on the client?
Is there any way in FDMS to get an item without really going to the server if it's on the client already? I found that calling dataService.getItem(uid) always goes to the server, even if the item in question is available on the client. This is unnecessary overhead IMHO if the item is available in the DataStore/Collection. Do I have to implement my own lookup strategy here??? Thanks, Dirk. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [Junk E-Mail - LOW] [flexcoders] Problem: 500 No configured channel has an endpoint path '/flex2gateway/'
Can you double-check that you really are running 7.0.2? The error sounds like it's saying the flex2gateway isn't configured, which would mean it was taken out of the config file, the 7.0.2 upgrade didn't put it in, or you're not running 7.0.2, and I'd say the latter two are most likely :) Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joost NuijtenSent: Friday, August 25, 2006 9:33 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] Problem: 500 No configured channel has an endpoint path '/flex2gateway/' Hi there, We are trying to install a Flex2 application on a ColdFusion MX 7.02 J2EE edition (that runs on JRun4). The result is an error: "500 No configured channel has an endpoint path '/flex2gateway/'" Can't find much information about this. Anybody? Thanks! Cheers, Joost --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
A webservice commonly does this: * authentication (optional) * a service/method is invoked with an optional set of arguments * the service returns a result Why not abstract your service system to allow SOAP + REST + XML-RPC + JSON + AMF ? As long as the interface is abstracted, it doesnt matter anymore and for every problem you can pick the best tool for the job.. Evert Dustin Mercer wrote: Something I have done in the past is to create a hybrid solution. One of the biggest advantages of Web Services is of course its ability to be consumed by just about everything. That being said, Java can consume web services! I have found creating Web Service Facades that FDS connects to can keep both sides happy. You get the performance of AMF to the client side, and you get to keep your services in one central location (as long as you don’t try to recreate business logic in java, just make it the middle man). One definite downfall is your J2EE server will do the parsing and translation of the web services (this can impact all users as the system scales if the server isn’t very powerful, or the services are poorly designed), as well as the consumption of services in java isn’t always the easiest thing. On the flip side of that your java server can also do the exception handling and send better exceptions to the client side. This may be a good middle ground for those searching for the benefits of both. Dustin Mercer -- www.rooftopsolutions.nl -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex with Coldfusion Beginner
You can bind the result of your WebService to an ArrayCollection and then use it as the dataprovider for your Datagrid. Here is a simple of example of using an ArrayCollection as the datagrid dataprovider. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ [Bindable] public var myArray:Array = [{colA:'A',colB:'B'},{colA:'A1',colB:'This is a test'}]; ]] /mx:Script mx:DataGrid id=myGrid dataProvider={myArray} width=100% height=50% variableRowHeight=true mx:columns mx:Array mx:DataGridColumn dataField=colA headerText=Column A width=70/ mx:DataGridColumn dataField=colB headerText=Column B width=50/ /mx:Array /mx:columns /mx:DataGrid /mx:Application --- In flexcoders@yahoogroups.com, plucka70 [EMAIL PROTECTED] wrote: I'm a real beginner, and know CF inside out. So I want to use Flex 2. I've read a bit online and got a webservice call working displaying the current time from a cfc. Now I have a cfc generated using the wizard which is a database related one, not sure what to do from here. I seems to generate an array of objects, and each object defines a row in the table, this all makes sense. But how do get this into a flex data grid. I assume I need to loop over the array and populate the data grid using an Action Script function. Conceptually simple, but I'm hoping people can explain the best way to do this and perhaps post a simple sample that takes a table into a data grid. PS: I'd rather not use the full generate wizards available, I'd rather learn how to do it line by line on the Flex side. Regards Dale Fraser http://dale.fraser.id.au -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Still Getting History Manager Security Sandbox Errors
I had thought that I had worked around this, but it appears I was wrong. I am running a project using a virtual host defined in my Hosts file and Apache. I've never had this issue with 1.5. I keep getting Local Connection Security Sandbox errors. What's odd is it seems intermittent - sometimes I get this, sometimes I don't. Any advice appreciated. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] bug when loading a CFReport inside SWFLoader
Hi there, Im trying to load a SWF from a cfreport and Im getting this behaviour Is there a way to avoid this 2 tripes? Thanks, João Fernandes __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ bug.gif Description: GIF image
RE: [flexcoders] POP3 by Socket
Rogerio, http://www.crossdomainxml.org http://www.crossdomainxml.org With Socket operations you will need to have a crossdomain.xml file on the server you are connecting to, in this case the POP server! This particular crossdomain.xml file needs to permit access to use low/high ports for inbound connections. It is identical to the process needed to support XMLSocket servers. The use of crossdomain policy files prevents Flash/Flex clients from abusing other peoples servers. As permission is delegated to the server owner, they can decide what ports Flash Player can connect to. Example: cross-domain-policy allow-access-from domain=* to-ports=507 / allow-access-from domain=*.foo.com to-ports=507,516 / allow-access-from domain=*.bar.com to-ports=516-523 / allow-access-from domain=www.foo.com to-ports=507,516-523 / allow-access-from domain=www.bar.com to-ports=* / /cross-domain-policy I put together this small site on crossdomain policy files. It doesnt have any glits and gives you the bare bones knowledge on using crossdomain. http://www.crossdomainxml.org http://www.crossdomainxml.org IFBIN on Flexcoders You just made my day! Go IFBIN! Cheers, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Santo Sent: Friday, August 25, 2006 6:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] POP3 by Socket Bom dia pessoal, Hi folks, I want to know if anyone of you try make the POP3 by Socket example, from IFBIN(Flex by Example), work with final version of Flex 2. Now that he´s free, I try to test something but it just don´t work. Don´t give me any errors. Seems to be a security issue, like crossdomain, but I can´t figure out the real problem. Thanks Rogerio Gonzalez __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: add additional data to list-based drag and drop?
I had a similar need using two datagrid components. I wanted to drag from datagrid one to datagrid two, and also drag/drop within datagrid two. I had to determine the names of each datagrid to allow/deny drag and drop targets. You can check out my example and source code here: http://thanksmister.com/?p=21 Hope it helps! -mr --- In flexcoders@yahoogroups.com, tddclare [EMAIL PROTECTED] wrote: I have a few lists whose items I want to drag and drop to another component. I can roll my own and code the entire drag/drop operation, but I'm lazy. I looked at the list-based drag and drop features, which look cool: mx:List id=personList dragEnabled=true / mx:List id=eventList dragEnabled=true / but when I drop items on my eventual drag and drop target, I'd like the target to know a little more, like which list it came from (or more loosely coupled, what type of data it is (person or event). Is there a way to add a format to the list-based drag and drop dragSource, like iAmAPerson or iAmAnEvent? Or is this the line I cross and have to move into the DragDropManager? -- TC -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] If statment runs before remote call returns data
All data access operation in Flex are asynchronous. You can not access the result in the same function that invokes the send/operation call. You must use an event handler function run by the result event, or use binding. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Brown Sent: Friday, August 25, 2006 9:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] If statment runs before remote call returns data I am writting a login function that calls a remote cfc and returns data. Based on the length of lastresult either show different view stack child or turn visiable on for label that displays no user found The remote call works, but I have to press login button twice to display the no user found message or to switch to another child of the view stack. It looks like the if statment exacutes before the remoteobject is returned... Thank you in adance. David ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=logincall(); mx:Script ![CDATA[ import mx.logging.LogEvent; /* import flash.events.MouseEvent;*/ import mx.events.FlexEvent; import mx.styles.CSSStyleDeclaration; import mx.effects.*; import mx.events.*; import mx.rpc.events.*; import mx.controls.Alert; import mx.managers.PopUpManager; import flash.events.Event; import mx.events.MenuEvent; import mx.controls.Alert; import mx.collections.*; import flash.net.*; public function checkRecordCount():void{ if (classifiedCFC.qryLogin.lastResult.length==0){ lblFailedLogin.visible=true; } } public function logincall():void{ classifiedCFC.qryLogin(fldemployeeID.text,fldssn.text); if (classifiedCFC.qryLogin.lastResult.length==0){ lblFailedLogin.visible=true; } else{ vsappId.selectedChild=Main; } } [Bindable] public var menuBarCollection:XMLListCollection; public var selectedItem:Object; public function clickEvt(event:ItemClickEvent):void { // Access target TabBar control. var targetComp:TabBar = TabBar(event.currentTarget); // GetQCCQues.qryQccQuesWidget(event.label); } ]] /mx:Script mx:RemoteObject id=classifiedCFC destination=ColdFusion source=applications.Classifieds.CFCs.classifiedapp showBusyCursor=true / mx:ViewStack x=32 y=25 id=vsappId width=622 height=494 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] POP3 by Socket
Ted, that is a handy site. A suggestion: An issue that is not obvious to those who are not web/network administratiors is: Where do I put the crossdomain.xml file. While I bet this is discussed on more than one of the links you provide, consider a quick paragraph on the subject, for additional convenience. The usual response: In the root of the web server is not enough for non-experts. Include an example path for, say the default integrated Flex 1.5 install, one for a default Tomcat install, and one for a default IIS install. I figured mine out by putting a full access crossdomain file in every possible folder until my call worked, then deleting them until I broke it again. This showed me the right place. You see why I am not offering to provide the examples! Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ted Patrick Sent: Friday, August 25, 2006 12:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] POP3 by Socket Rogerio, http://www.crossdomainxml.org http://www.crossdomainxml.org With Socket operations you will need to have a crossdomain.xml file on the server you are connecting to, in this case the POP server! This particular crossdomain.xml file needs to permit access to use low/high ports for inbound connections. It is identical to the process needed to support XMLSocket servers. The use of crossdomain policy files prevents Flash/Flex clients from abusing other peoples servers. As permission is delegated to the server owner, they can decide what ports Flash Player can connect to. Example: cross-domain-policy allow-access-from domain=* to-ports=507 / allow-access-from domain=*.foo.com to-ports=507,516 / allow-access-from domain=*.bar.com to-ports=516-523 / allow-access-from domain=www.foo.com to-ports=507,516-523 / allow-access-from domain=www.bar.com to-ports=* / /cross-domain-policy I put together this small site on crossdomain policy files. It doesnt have any glits and gives you the bare bones knowledge on using crossdomain. http://www.crossdomainxml.org http://www.crossdomainxml.org IFBIN on Flexcoders You just made my day! Go IFBIN! Cheers, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Santo Sent: Friday, August 25, 2006 6:46 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] POP3 by Socket Bom dia pessoal, Hi folks, I want to know if anyone of you try make the POP3 by Socket example, from IFBIN(Flex by Example), work with final version of Flex 2. Now that he´s free, I try to test something but it just don´t work. Don´t give me any errors. Seems to be a security issue, like crossdomain, but I can´t figure out the real problem. Thanks Rogerio Gonzalez __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] UI Problem : HorizontalScrollPolicy and VerticalScrollPolicy
Hi All, I am new to Flex and I need urgent help. I am trying to control the Horizontal and Vertical scroll policies of different layout controls (sav VBox, HBox etc.) using simple actionscript codes. Default I have the scroll policy 'off' but on certain condition (click of a button), I wish to switch the scroll policy on. On doing so the screen displays an a rectangular area but not the scrollbar. But if I resize the window, the scrollbar appears. Is there an refresh issue? What do I need to do to get the scrollbar directly on clicking and without having to resize the window. Thanks and Regards, Paromita -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Building Flex 2 project with Maven
Laurent, We would definitely be interesting in having a maven plugin available for Flex. We currently use maven for our projects but use an ant script to handle building the flex pieces. Tighter integration would be much nicer. Thanks --Kaleb --- In flexcoders@yahoogroups.com, lfontvielle [EMAIL PROTECTED] wrote: We are developing large Java applications. They are composed of multiple Java projects implemented by different teams. We use Maven (http://maven.apache.org/) to build our projects. The projects can be built outside eclipse on an integration server as part of a Maven project. Jar/war files are stored in the Maven repository. Maven manages dependencies between projects, produces the Javadoc ... We would like to use the same organization with Java/Flex 2 applications. For an example: one team codes an ActionScript library (swc file) in a project, and other teams can uses this library within their Flex project. We don't know if a Maven plugin already exits that is capable of managing a Flex project. we would like to know: 1. If any Maven plugins have been developed for flex ? 2. Would you be interested in a Maven plugin for Flex ? Thanks Laurent. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] TitleWindow title text aligned left aligned right...
How do you have text on the left and right of a TitleWindow??? Here's an example if you login: http://flexderby.ntara.com/ Thanks! __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] ssh client using Flex 2/ActionScript 3
The exmple of building a telnet client on livedocs using the socket api is really cool. I was wondering if it is possible to build a ssh client using similar techniques- the encryption and key exchange algorithm seems fairly complicated. This is within the context of a project I am doing where we would like to have a telnet session to another machine within the Flex application. The problem is when telnet is disabled and only ssh is enabled on the remote machine. Any ideas/suggestions? Thanks, --ajit -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] restrict length (maxChars) in an editable combobox
Anyone know how I can restrict the length of input in an editable combobox? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Items Invisible in ComboBox
I had this problem just yesterday. In my case, I had some bad test data with data in the labelFields that was too long. I nuked those records and haven't had the problem since. But it isn't a completely satisfactory explanation, because other records with equally long data appeared just fine. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carlos RoviraSent: Friday, August 25, 2006 4:25To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Items Invisible in ComboBox Don' worry Tim :) On 8/25/06, Tim Hoff [EMAIL PROTECTED] wrote: You're right, my bad Carlos. Wrong name on the reply.Cheers. --- In flexcoders@yahoogroups.com, "Carlos Rovira" [EMAIL PROTECTED] wrote: Steve should post an example that shows the bug in a simple way and let people at Adobe fix the bug On 8/25/06, Tim Hoff [EMAIL PROTECTED] wrote: Hey Carlos, It's hard to say without seeing the application. I've experienced problems like this. The solution was usually looking for interference from other actions; events that confuse the renderer and such. If your component works, stand-alone, look outward. -TH --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, "Carlos Rovira" carlos.rovira@ wrote: It looks like and old bud in flash v2 components, but I never get it in flex 2... On 8/24/06, stevehousefl cyberdust@ wrote: I have a very standard combobox control: mx:ComboBox id="cbStatus" dataProvider="{statusesWithAll}" labelField="sStatus" change="filterChange()"/mx:ComboBox When I click on it and it opens, some items are invisible. The spacefor them is there, but the text is missing. If I select an invisible item, it displays properly in the closed combobox and works as designed with the app. It seems to randomly make items appear and disappear with each openand close of the combobox. Sometimes the selected item will reappear with the highlight on it or sometimes just the empty row will be highlighted. Any ideas? Thanks, Steve H. -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- ::| Carlos Rovira ::| http://www.carlosrovira.com -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] FDMS: check, if an item exists on the client?
Hi Dirk, getItem() will always fetch the current state of the requested object from the server and update the local instance with the result if it exists. If you don't have auto sync enabled (server pushed updates) this is how you can periodically refresh your local instance. If you call getItem() you'll already have a reference to the item so just hang onto that. If you've fill()'ed and you want to get a reference to an instance in your filled ArrayCollection take a look at the ICursor.findX() APIs. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Friday, August 25, 2006 7:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FDMS: check, if an item exists on the client? Is there any way in FDMS to get an item without really going to the server if it's on the client already? I found that calling dataService.getItem(uid) always goes to the server, even if the item in question is available on the client. This is unnecessary overhead IMHO if the item is available in the DataStore/Collection. Do I have to implement my own lookup strategy here??? Thanks, Dirk. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Weird problem with my search.
In my application I have a setup a search screen. I was asked to add in two more search parameters, House Number and Street. In all I have 3 search parameters, searchTerm, searchKey, and seachStatus. The searchTerm, is the term they are trying to find, the key is the parameter they are searching by (house number, street, file number etc..) and the status is the status of the file (closed, pending, active, etc..) The problem I have having is this, if I search by house number or street number, I get the error below. I have tested passing the same data into my cfc with a test page, and it returns and works fine. But once I do it in flex, I get an error. House Number and Street are the only two searchKeys that I have problems with, all the other ones work just fine. Can anyone see a reason below why this would happen Here is my code. Flex As. //*VALIDATION START // DEFINE VARS FOR STORING VALIDATION OBJECTS private var vSearchTerm:ValidationResultEvent // FUNCTION TO VALIDATE, IF VALID SAVE FORM, IF NOT VALID SHOW ERRORS private function SearchSaleValidation():void{ // Validate FORM INPUTS vSearchTerm = searchTermV.validate(); if (vSearchTerm.type==ValidationResultEvent.INVALID){ return; } else{ SearchSale_Sale_Search(searchTerm.text,searchKey.selectedItem.data,searchStatus.selectedItem.data) } } //*VALIDATION END** //- //*START SALE SEARCH*** // CALL WEBSERVICE FUNCTION FOR LISTING SEARCH private function SearchSale_Sale_Search(searchTerm,searchKey,searchStatus){ SearchSale.Sale_Search(searchTerm,searchKey,searchStatus) } // HANDLE LISTING SEARCH WEBSERVER RESULTS private function SearchSale_Sale_Search_Result(result):void{ saleSearchDG.dataProvider = result; } // HANDLE LISTING SEARCH WEBSERVICE ERROR private function SearchSale_Sale_Search_Fault(event:FaultEvent):void{ Alert.show(ObjectUtil.toString(event.fault)) } //*END SALE SEARCH* CFc Code: cffunction name=Sale_Search access=remote returntype=query output=false cfargument name=searchTerm type=string required=no / cfargument name=searchKey type=string required=no / cfargument name=searchStatus type=string default= required=no / cfif arguments.searchKey eq street cfquery name=SaleSearchQry datasource=#application.dsn# select * from tbl_smartPanel_propInfo_Sale where fld_propStreet like '#arguments.searchTerm#%' cfif arguments.searchStatus neq and fld_propStatus = '#arguments.searchStatus#' /cfif /cfquery /cfif cfif arguments.searchKey eq houseNum cfquery name=SaleSearchQry datasource=#application.dsn# select * from tbl_smartPanel_propInfo_Sale where fld_propNum like '#arguments.searchTerm#%' cfif arguments.searchStatus neq and fld_propStatus = '#arguments.searchStatus#' /cfif /cfquery /cfif ... And here is the error. (mx.rpc::Fault)#0 errorID = 0 faultCode = Server.Error.Request faultDetail = Error: [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: http://beta.homesmartagent.com/cfc/SaleManager.cfc;]. URL: http://beta.homesmartagent.com/cfc/SaleManager.cfc; faultString = HTTP request error message = faultCode:Server.Error.Request
[flexcoders] i can not find flex 1.5 SDK
Hi, guys i really need the Flex 1.5 SDK and i can not find it anywhere. Macromedia is gone, and adobe is really cold on this matter. Does anyone of you have the Flex 1.5 SDK ? And if so can you send it over? on email, or up it on an FTP or something? I hope you keep archives and someone from this list will be able to help me. It is kind of an emergency. Thanks a lot, DAN -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] i can not find flex 1.5 SDK
Flex 1.5 didn't have an SDK to my knowledge. The entire licensing scheme of Flex has changed between versions. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dan_marcu_eee Sent: Friday, August 25, 2006 1:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] i can not find flex 1.5 SDK Hi, guys i really need the Flex 1.5 SDK and i can not find it anywhere. Macromedia is gone, and adobe is really cold on this matter. Does anyone of you have the Flex 1.5 SDK ? And if so can you send it over? on email, or up it on an FTP or something? I hope you keep archives and someone from this list will be able to help me. It is kind of an emergency. Thanks a lot, DAN -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] POP3 by Socket
The link to flickr's crossdomain.xml seems to be broken..ThijsOp 25-aug-2006, om 20:20 heeft Ted Patrick het volgende geschreven:I will get that added ASAP. Great feedback.Anyone else?Ted PatrickFlex EvangelistAdobe Systems IncorporatedFrom: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Tracy SprattSent: Friday, August 25, 2006 10:09 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] POP3 by SocketTed, that is a handy site. A suggestion: An issue that is not obvious to those who are not web/network administratiors is: "Where do I put the crossdomain.xml file". While I bet this is discussed on more than one of the links you provide, consider a quick paragraph on the subject, for additional convenience. The usual response: "In the root of the web server" is not enough for non-experts. Include an example path for, say the default integrated Flex 1.5 install, one for a default Tomcat install, and one for a default IIS install. I figured mine out by putting a full access crossdomain file in every possible folder until my call worked, then deleting them until I broke it again. This showed me the right place. You see why I am not offering to provide the examples! Tracy From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Ted PatrickSent: Friday, August 25, 2006 12:14 PMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] POP3 by Socket Rogerio, http://www.crossdomainxml.org http://www.crossdomainxml.org With Socket operations you will need to have a crossdomain.xml file on the server you are connecting to, in this case the POP server! This particular crossdomain.xml file needs to permit access to use low/high ports for inbound connections. It is identical to the process needed to support XMLSocket servers. The use of crossdomain policy files prevents Flash/Flex clients from abusing other peoples servers. As permission is delegated to the server owner, they can decide what ports Flash Player can connect to. Example: cross-domain-policy allow-access-from domain="*" to-ports="507" / allow-access-from domain="*.foo.com" to-ports="507,516" / allow-access-from domain="*.bar.com" to-ports="516-523" / allow-access-from domain="www.foo.com" to-ports="507,516-523" / allow-access-from domain="www.bar.com" to-ports="*" //cross-domain-policy I put together this small site on crossdomain policy files. It doesn't have any glits and gives you the bare bones knowledge on using crossdomain. http://www.crossdomainxml.org http://www.crossdomainxml.org IFBIN on Flexcoders You just made my day!Go IFBIN! Cheers, Ted PatrickFlex EvangelistAdobe Systems Incorporated From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of SantoSent: Friday, August 25, 2006 6:46 AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] POP3 by Socket Bom dia pessoal,Hi folks,I want to know if anyone of you try make the POP3 by Socket example,from IFBIN(Flex by Example), work with final version of Flex 2.Now that he´s free, I try to test something but it just don´t work.Don´t give me any errors. Seems to be a security issue, likecrossdomain, but I can´t figure out the real problem.ThanksRogerio Gonzalez __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] POP3 by Socket
Sometimes it's not obvious from debugging that the lack of a crossdomain.xml file is at issue. Perhaps you could list some common symptoms of malformed or non-existent crossdomain.xml files? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted Patrick Sent: Friday, August 25, 2006 2:20 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] POP3 by Socket I will get that added ASAP. Great feedback. Anyone else? Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Friday, August 25, 2006 10:09 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] POP3 by Socket Ted, that is a handy site. A suggestion: An issue that is not obvious to those who are not web/network administratiors is: Where do I put the crossdomain.xml file. While I bet this is discussed on more than one of the links you provide, consider a quick paragraph on the subject, for additional convenience. The usual response: In the root of the web server is not enough for non-experts. Include an example path for, say the default integrated Flex 1.5 install, one for a default Tomcat install, and one for a default IIS install. I figured mine out by putting a full access crossdomain file in every possible folder until my call worked, then deleting them until I broke it again. This showed me the right place. You see why I am not offering to provide the examples! Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ted Patrick Sent: Friday, August 25, 2006 12:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] POP3 by Socket Rogerio, http://www.crossdomainxml.org http://www.crossdomainxml.org With Socket operations you will need to have a crossdomain.xml file on the server you are connecting to, in this case the POP server! This particular crossdomain.xml file needs to permit access to use low/high ports for inbound connections. It is identical to the process needed to support XMLSocket servers. The use of crossdomain policy files prevents Flash/Flex clients from abusing other peoples servers. As permission is delegated to the server owner, they can decide what ports Flash Player can connect to. Example: cross-domain-policy allow-access-from domain=* to-ports=507 / allow-access-from domain=*.foo.com to-ports=507,516 / allow-access-from domain=*.bar.com to-ports=516-523 / allow-access-from domain=www.foo.com to-ports=507,516-523 / allow-access-from domain=www.bar.com to-ports=* / /cross-domain-policy I put together this small site on crossdomain policy files. It doesn't have any glits and gives you the bare bones knowledge on using crossdomain. http://www.crossdomainxml.org http://www.crossdomainxml.org IFBIN on Flexcoders You just made my day! Go IFBIN! Cheers, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Santo Sent: Friday, August 25, 2006 6:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] POP3 by Socket Bom dia pessoal, Hi folks, I want to know if anyone of you try make the POP3 by Socket example, from IFBIN(Flex by Example), work with final version of Flex 2. Now that he´s free, I try to test something but it just don´t work. Don´t give me any errors. Seems to be a security issue, like crossdomain, but I can´t figure out the real problem. Thanks Rogerio Gonzalez -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] POP3 by Socket
I would also include this article...http://www.martijndevisser.com/blog/article/why-crossdomainxml-is-a-good-thing It's gotta kewl flash slide show that explains it pretty well.On 8/25/06, Ted Patrick [EMAIL PROTECTED] wrote: I will get that added ASAP. Great feedback. Anyone else? Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, August 25, 2006 10:09 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] POP3 by Socket Ted, that is a handy site. A suggestion: An issue that is not obvious to those who are not web/network administratiors is: Where do I put the crossdomain.xml file. While I bet this is discussed on more than one of the links you provide, consider a quick paragraph on the subject, for additional convenience. The usual response: In the root of the web server is not enough for non-experts. Include an example path for, say the default integrated Flex 1.5 install, one for a default Tomcat install, and one for a default IIS install. I figured mine out by putting a full access crossdomain file in every possible folder until my call worked, then deleting them until I broke it again. This showed me the right place. You see why I am not offering to provide the examples! Tracy From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Ted Patrick Sent: Friday, August 25, 2006 12:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] POP3 by Socket Rogerio, http://www.crossdomainxml.org http://www.crossdomainxml.org With Socket operations you will need to have a crossdomain.xml file on the server you are connecting to, in this case the POP server! This particular crossdomain.xml file needs to permit access to use low/high ports for inbound connections. It is identical to the process needed to support XMLSocket servers. The use of crossdomain policy files prevents Flash/Flex clients from abusing other peoples servers. As permission is delegated to the server owner, they can decide what ports Flash Player can connect to. Example: cross-domain-policy allow-access-from domain=* to-ports=507 / allow-access-from domain=*.foo.com to-ports=507,516 / allow-access-from domain=*.bar.com to-ports=516-523 / allow-access-from domain=www.foo.com to-ports=507,516-523 / allow-access-from domain=www.bar.com to-ports=* / /cross-domain-policy I put together this small site on crossdomain policy files. It doesn't have any glits and gives you the bare bones knowledge on using crossdomain. http://www.crossdomainxml.org http://www.crossdomainxml.org IFBIN on Flexcoders You just made my day! Go IFBIN! Cheers, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Santo Sent: Friday, August 25, 2006 6:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] POP3 by Socket Bom dia pessoal, Hi folks, I want to know if anyone of you try make the POP3 by Socket example, from IFBIN(Flex by Example), work with final version of Flex 2. Now that he´s free, I try to test something but it just don´t work. Don´t give me any errors. Seems to be a security issue, like crossdomain, but I can´t figure out the real problem. Thanks Rogerio Gonzalez __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] POP3 by Socket
Adding that as well. Good one. Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Modien Sent: Friday, August 25, 2006 11:44 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] POP3 by Socket I would also include this article... http://www.martijndevisser.com/blog/article/why-crossdomainxml-is-a-good-thing It's gotta kewl flash slide show that explains it pretty well. On 8/25/06, Ted Patrick [EMAIL PROTECTED]com wrote: I will get that added ASAP. Great feedback. Anyone else? Ted Patrick Flex Evangelist Adobe Systems Incorporated From: [EMAIL PROTECTED]ups.com [mailto: [EMAIL PROTECTED]ups.com] On Behalf Of Tracy Spratt Sent: Friday, August 25, 2006 10:09 AM To: [EMAIL PROTECTED]ups.com Subject: RE: [flexcoders] POP3 by Socket Ted, that is a handy site. A suggestion: An issue that is not obvious to those who are not web/network administratiors is: Where do I put the crossdomain.xml file. While I bet this is discussed on more than one of the links you provide, consider a quick paragraph on the subject, for additional convenience. The usual response: In the root of the web server is not enough for non-experts. Include an example path for, say the default integrated Flex 1.5 install, one for a default Tomcat install, and one for a default IIS install. I figured mine out by putting a full access crossdomain file in every possible folder until my call worked, then deleting them until I broke it again. This showed me the right place. You see why I am not offering to provide the examples! Tracy From: [EMAIL PROTECTED]ups.com [mailto: [EMAIL PROTECTED]ups.com] On Behalf Of Ted Patrick Sent: Friday, August 25, 2006 12:14 PM To: [EMAIL PROTECTED]ups.com Subject: RE: [flexcoders] POP3 by Socket Rogerio, http://www.crossdomainxml.org http://www.crossdomainxml.org With Socket operations you will need to have a crossdomain.xml file on the server you are connecting to, in this case the POP server! This particular crossdomain.xml file needs to permit access to use low/high ports for inbound connections. It is identical to the process needed to support XMLSocket servers. The use of crossdomain policy files prevents Flash/Flex clients from abusing other peoples servers. As permission is delegated to the server owner, they can decide what ports Flash Player can connect to. Example: cross-domain-policy allow-access-from domain=* to-ports=507 / allow-access-from domain=*.foo.com to-ports=507,516 / allow-access-from domain=*.bar.com to-ports=516-523 / allow-access-from domain=www.foo.com to-ports=507,516-523 / allow-access-from domain=www.bar.com to-ports=* / /cross-domain-policy I put together this small site on crossdomain policy files. It doesn't have any glits and gives you the bare bones knowledge on using crossdomain. http://www.crossdomainxml.org http://www.crossdomainxml.org IFBIN on Flexcoders You just made my day! Go IFBIN! Cheers, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: [EMAIL PROTECTED]ups.com [mailto: [EMAIL PROTECTED]ups.com] On Behalf Of Santo Sent: Friday, August 25, 2006 6:46 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] POP3 by Socket Bom dia pessoal, Hi folks, I want to know if anyone of you try make the POP3 by Socket example, from IFBIN(Flex by Example), work with final version of Flex 2. Now that he´s free, I try to test something but it just don´t work. Don´t give me any errors. Seems to be a security issue, like crossdomain, but I can´t figure out the real problem. Thanks Rogerio Gonzalez __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: i can not find flex 1.5 SDK
On adobe.com there are some traces of flex 1.5 SDK. From that kit i need the executable used to compile SWF's. I can not use the one in flex 2 sdk because it seems it does not recognize the source code and i get compile errors. So i really need it badly to complete one of my projects. If anyone knows or has the 1.5 SDK please help me! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] menubar icon
Can someone send me an example of an icon in a menubar? - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Asynchronous TestCase.setUp in FlexUnit (and another use case)
Thanks Matt! Here's a real-world example of where the fixed ordering of the addAsync calls just bit me: I'm testing what is essentially an HTTPService, that could throw a result or a fault. I instinctively wrote the following: public function testChangeUser():void { // cp is my service object that throws results and faults var tempfunc:Function = addAsync(handleChangeUserPart1,TIMEOUT); cp.faultCallback = addAsync( handleUnexpectedFault, TIMEOUT, testChangeUserPart1, onNotCalledIgnore); // NOTE: I had to use a temporary function because I don't expect // the fault handler to be called, but the error must be caught if // it is cp.addUser(userToBeAdded,tempfunc); } private function handleChangeUserPart1(data:ResultEvent):void { assertEquals(true,[EMAIL PROTECTED]); // ok, user has been added, verify that I can change the username var tempfunc:Function = addAsync(handleChangeUserPart2,TIMEOUT); cp.faultCallback = addAsync( handleUnexpectedFault, TIMEOUT, testChangeUserPart2, onNotCalledIgnore); cp.changeUserName(oldname,newname,tempfunc); } private function handleChangeUserPart2(data:ResultEvent):void { assertEquals(true,[EMAIL PROTECTED]); } private function handleUnexpectedFault(e:*,d:*=null):void {fail(blah);} private function onNotCalledIgnore(d:*):void {} The above seems pretty straightforward. I add the user, when the response comes back and I confirm that the user was added, I change the username and then confirm that the username was changed. However, it doesn't work like that. Because I have a second call to addAsync() in testChangeUser, the Unit Test framework expects that the next async callback to come is my fault event, which is not the case -- my next event is the receipt of my call to change the username. I don't care if it gets skipped nor do I want to require that it gets called. Thus, my testcase errors out because of ordering. I can't remove the call or reference to addAsync(myFaultCallback) because I need it to handle faults I haven't been able to come up with a workaround for this case -- any suggestions? Matt, I'll gladly try to help fix these issues, but I need a bit more direction on where to look (ok... I could figure it out, but I'm not that zealous nor do I have quite that much time ;). BTW, I have wondered many times if FlexUnit would work better if the whole thing was structured on async events. Of course, that would require a major re-work, but it seems a lot more natural given the number of async events that need to be dealt with in Flex Thanks for the help everyone. --Kaleb --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Doing a while loop won't work, if it did we wouldn't have all the complications of this system :-) Your idea of #1 is exactly right, setup now needs to become more like the async calls. Sorry, I haven't looked at this code in a year, you'll need to muddle through but it should be doable. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kaleb_pederson Sent: Tuesday, August 22, 2006 12:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] RE: Asynchronous TestCase.setUp in FlexUnit (and another use case) Matt and all, I took a quick stab at this as it didn't look too bad, but unfortunately, it isn't quite that simple. FlexUnit is written such that it expects a number of things to happen synchronously, which causes some other problems in this case. Let me explain. After modifying TestCase::runMiddle() to wait for a flag indicating that the testcase setup has completed, runMiddle fires off a timer and waits for the flag to change. At this point, runMiddle, as called by ProtectedMiddleTestCase::protect(), returns and the next TestCase is fired off. In the end, this results in the setup function being called many times before the test cases actually fire off (as the test cases are now waiting for the flag to change) and many test functions being called in parallel when the flag changes. There are a couple of different ways that seem like obvious solutions: 1) Change the setup process so that it worked kind of like the async calls as handled by addAsync. 2) Instead of allowing runMiddle to return (as its synchronous), put it in a while loop waiting for the flag to change [!BAD HACK!] I don't fully understand the interactions between all the different classes and objects at this point, so I'm not sure if there is an easy way to get to a reasonable solution, so I'm asking for feedback. Is there an easier way to make this work correctly? Other suggestions? Another sample use case: Unfortunately, when callbacks are registered with addAsync(), the order in which the calls are made imposes a restriction on the order in which the callbacks can return. For
Re: [flexcoders] bug when loading a CFReport inside SWFLoader
I've been trying to figure out the same issue. The only thing I've been able to do that seems to work alright is use the IFRAME component to embed it as HTML, but that has a whole slew of issues in and of itself. On 8/25/06, João Fernandes [EMAIL PROTECTED] wrote: Hi there, I'm trying to load a SWF from a cfreport and I'm getting this behaviour… Is there a way to avoid this 2 tripes? Thanks, João Fernandes __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Launch Failed
Hi All, When I add an additional application file to my project and try to launch it, I get an error: Launch Failed File not found: It seems as though Flex is not creating the HTML file for the swf. Is there a fix for this Thanks - Ken __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: i can not find flex 1.5 SDK
If you really need this then you will need to call Adobe. Get your wallet out before hand though, and be prepared to empty it. DKOn 8/25/06, dan_marcu_eee [EMAIL PROTECTED] wrote:On adobe.com there are some traces of flex 1.5 SDK. From that kit ineed the executable used to compile SWF's. I can not use the one inflex 2 sdk because it seems it does not recognize the source code andi get compile errors. So i really need it badly to complete one of my projects. If anyone knows or has the 1.5 SDK please help me!--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: i can not find flex 1.5 SDK
Dan, Yes, there was a command line compiler that shipped with Flex - but if you have a Flex 1.5 license, you should have it. Last time I checked, you needed a Flex license to build/deploy in Flex 1.5. Thankfully the entire business model has changed with Flex 2. Upgrading AS2 code to AS3 is not that difficult. It might be a faster route just to figure it out and do that instead, and as a bonus you get to leverage all the advantages of Flex 2. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dan_marcu_eee Sent: Friday, August 25, 2006 2:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: i can not find flex 1.5 SDK On adobe.com there are some traces of flex 1.5 SDK. From that kit i need the executable used to compile SWF's. I can not use the one in flex 2 sdk because it seems it does not recognize the source code and i get compile errors. So i really need it badly to complete one of my projects. If anyone knows or has the 1.5 SDK please help me! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Blitz XRay
Thanks, that is what I thought, just got confused with the talk of Flex connector. Any plans for a AS3 connnector? --- In flexcoders@yahoogroups.com, John Grden [EMAIL PROTECTED] wrote: Sorry, it doesn't support AS3 yet. 1.6 connector is for AS2 applications only. The Xray interface that communicates with that connector is a Flex2 application however. On 8/24/06, Renaun Erickson [EMAIL PROTECTED] wrote: Would be less confusing if the OSFlash site stated it supported AS3. How do you put the connector directly into a Flex2 application? Do you have the SWC or AS source code for the connector? Thanks for the info, --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, John Grden neoriley@ wrote: Yes, click on the link for the 1.6 version: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.mxp?format=raw On 8/24/06, Renaun Erickson renaun@ wrote: The connectors link shows: Connectors (8.11.2006) * Latest component package for AS2 (xray_conn_1.6.mxp) * Latest component package for AS1 (xray_component_as1.mxp) * Connector-only package for MTASC, SFWMill, etc. * Connector Only Tutorial (Tutorial in French) Is there a AS3 connector? -- [ JPG ] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: i can not find flex 1.5 SDK
the flex 1.5 SDK should be free, that is what they told me whan i talked about the Flex 2 SDK! I Got somthein on may email, hope it will help! On 8/25/06, Battershall, Jeff [EMAIL PROTECTED] wrote: Dan, Yes, there was a command line compiler that shipped with Flex - but if you have a Flex 1.5 license, you should have it. Last time I checked, you needed a Flex license to build/deploy in Flex 1.5. Thankfully the entire business model has changed with Flex 2. Upgrading AS2 code to AS3 is not that difficult. It might be a faster route just to figure it out and do that instead, and as a bonus you get to leverage all the advantages of Flex 2. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of dan_marcu_eee Sent: Friday, August 25, 2006 2:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: i can not find flex 1.5 SDK On adobe.com there are some traces of flex 1.5 SDK. From that kit i need the executable used to compile SWF's. I can not use the one in flex 2 sdk because it seems it does not recognize the source code and i get compile errors. So i really need it badly to complete one of my projects. If anyone knows or has the 1.5 SDK please help me! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Blitz XRay
LOL yep! man, lately, that's all I've been hearing about...guess I should get on it ;)On 8/25/06, Renaun Erickson [EMAIL PROTECTED] wrote: Thanks, that is what I thought, just got confused with the talk of Flex connector. Any plans for a AS3 connnector? --- In flexcoders@yahoogroups.com, John Grden [EMAIL PROTECTED] wrote: Sorry, it doesn't support AS3 yet. 1.6 connector is for AS2 applications only. The Xray interface that communicates with that connector is a Flex2 application however. On 8/24/06, Renaun Erickson [EMAIL PROTECTED] wrote: Would be less confusing if the OSFlash site stated it supported AS3. How do you put the connector directly into a Flex2 application? Do you have the SWC or AS source code for the connector? Thanks for the info, --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, John Grden neoriley@ wrote: Yes, click on the link for the 1.6 version: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.mxp?format=raw On 8/24/06, Renaun Erickson renaun@ wrote: The connectors link shows: Connectors (8.11.2006) * Latest component package for AS2 (xray_conn_1.6.mxp) * Latest component package for AS1 (xray_component_as1.mxp) * Connector-only package for MTASC, SFWMill, etc. * Connector Only Tutorial (Tutorial in French) Is there a AS3 connector? -- [ JPG ] -- [JPG] __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] POP3 by Socket
Don't have the correct syntax in front of me, but it should also be noted that by calling System.loadPolicyFile(http://www.foo.com/some/nested/folder/crossdomain.xml) or somthing similar, Flash Player can load crossdomain files that do not live in the root of the server. Also, by using loadPolicyFile() the file does not even need to be named crossdomain.xml :) Dirk. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
RE: [flexcoders] Launch Failed
Try this open project properties, turn off Generate HTML wrapper, apply the change, then turn it back on. Hope this helps, Mark From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ken Bromberger Sent: Friday, August 25, 2006 12:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Launch Failed Hi All, When I add an additional application file to my project and try to launch it, I get an error: Launch Failed File not found: It seems as though Flex is not creating the HTML file for the swf. Is there a fix for this Thanks - Ken __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Specifying LineSeries itemRenderer with Actionscript
I have some LineSeries charts that are generated all through ActionScript (because the number of lines I need is not know until run-time). --- CODE START --- var seriesArray:Array = new Array(); var i:int; var marketShareData:ArrayCollection = new ArrayCollection; marketShareData = wsData.getMarketShare.lastResult; for(i=0; imarketShareData.length; i++) { // Line for brand-specific data var columnSeries:ColumnSeries = new ColumnSeries(); columnSeries.xField = fiscalyear; columnSeries.yField = sharepercentage; columnSeries.dataProvider = marketShareData.getItemAt(i); columnSeries.displayName = marketShareData.getItemAt(i).getItemAt(0).series; seriesArray.push(columnSeries); } columnchartMarketShare.dataProvider = marketShareData; columnchartMarketShare.series = seriesArray; --- CODE END --- My question is: How in the world do I specify a custom itemRenderer through Actionscript? With MXML you can do it like this: LineSeries yField=costs itemRenderer=mx.charts.renderers.DiamondItemRenderer/ But I'm not defining my LineSeries that way. I saw the demo of the charting stuff over at QuietlyScheming.com (http://demo.quietlyscheming.com/ChartSampler/app.html) but he's also defining the series at design-time. Any thoughts? Thanks in advance for any help that somebody can provide. Cheers, Jacob -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Launch Failed
Simple enough that works. Thanks! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Rausch Sent: Friday, August 25, 2006 1:10 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Launch Failed Try this open project properties, turn off Generate HTML wrapper, apply the change, then turn it back on. Hope this helps, Mark From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ken Bromberger Sent: Friday, August 25, 2006 12:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Launch Failed Hi All, When I add an additional application file to my project and try to launch it, I get an error: Launch Failed File not found: It seems as though Flex is not creating the HTML file for the swf. Is there a fix for this Thanks - Ken __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Adding Components on the Fly
I have created a simple component which extends the image component, and i Want to add it to the application on the fly. Eg when i clikc start, flex will create the component for me and then i can interact with it, how can this be done. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] SWFLoader doesn't work inside custom component
Hello guys, I'm playing a little with the TileList.itemRenderer so i built a simpl custom component but it doesn't seem to work. Here's my component code: package { import mx.core.UIComponent; import mx.controls.listClasses.BaseListData; import mx.core.IDataRenderer; import mx.controls.listClasses.IDropInListItemRenderer; import mx.controls.listClasses.IListItemRenderer; import mx.controls.SWFLoader; public class Thumb extends UIComponent implements IDataRenderer, IDropInListItemRenderer, IListItemRenderer { // --- Properties -- private var img:SWFLoader; private var pic:String; private var _listData:BaseListData; public function Thumb(){ super(); } override protected function createChildren():void { super.createChildren(); if(!img){ img = new SWFLoader(); img.move(24, 25); addChild(img); } } override protected function commitProperties():void { super.commitProperties(); img.source = http://localhost/test.jpg;; } override protected function measure():void { super.measure(); } override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); } public function set data(obj:Object):void{ } public function get data():Object{ return {}; } public function set listData(value:BaseListData):void{ _listData = value; invalidateProperties(); } public function get listData():BaseListData{ return _listData; } } } It seems the image is loading but it's not been displayed. Has anyone seen smth like this? Thanks, Fernando -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Icons in menu - not working
Can someone please send me this same file as an example? Thanks! - Doug On 6/28/06, Kelly Birr [EMAIL PROTECTED] wrote: Thank you, that is the solution I cam up with also. It's nice to know that this is not the intended behavior, and that hopefully some day I can go back to static embedded images. I use them very successfully for button icons. - Kelly From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Deepa SubramaniamSent: Wednesday, June 28, 2006 4:46 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Icons in menu - not working Hmmm – well our Embed expert says that you can make the variable for the embedded asset static, but that seems to be your problem. I'll file a bug on your behalf, but for now, don't make exitOn static and the icon should show up. Let me know if it doesn't – Deepa Flex SDK From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kelly BirrSent: Wednesday, June 28, 2006 4:26 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Icons in menu - not working I've been racking my brain trying to get icons in themenu bar. I think I'm doing exactly what the docs say but I cannot get any icon to render. Thelabel and actions work perfectly but the icondoes not show up. The icon is embedding properly as I can see it in the icon property of a button in the same file. I've also tried putting the path to the icon file in the xml, no joy. My Menu XML Is: menu menuitem label=File menuitem label=Open data="" / menuitem type=separator / menuitem label=Exit data="" icon=exitOn / /menuitem /menu MyMXML is: mx:Script ![CDATA[[Embed(source=images/icons/iconExitOn.gif)] public static const exitOn:Class; ]]/mx:Script mx:MenuBar id=menu width=100% x=0 y=0 height=27 dataProvider={menuXml} showRoot=false cornerRadius=3 itemClick=menuHandler(event) labelField=@label iconField=@icon / I cannot find any samples anywhere with icons in the menu, Is this still supported? Can anyone tell me what i'm doing wrong? I am using Flex 2.0 RTM - Kelly __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Org Chart
ok, here it ishttp://www.cubicleman.com/2006/08/25/cmorgchart-releasedfinally/nothing outstandingly spectacular for sure, but free code and another Cairngorm example. DKOn 7/18/06, Douglas Knudsen [EMAIL PROTECTED] wrote: np! darn hot out these days and all, eh? DKOn 7/18/06, Paul Andrews [EMAIL PROTECTED] wrote: Sorry Douglas, didn't spot that bit - didn't mean to hassle you. Paul - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Tuesday, July 18, 2006 2:14 PM Subject: Re: [flexcoders] Org Chart I have to find time to update it to the Flex 2 GR code and make it purtierI'm in knee deep with work projects, so fell behind updating it. Paying jobs come first, eh? hehe! DK On 7/18/06, Paul Andrews [EMAIL PROTECTED] wrote: Same here: TypeError: Error #1009: Cannot access a property or method of a null object reference.at mx.containers::Panel/mx.containers:Panel::layoutChrome()at mx.core::Container/mx.core:Container::updateDisplayList()at mx.containers::Panel/mx.containers:Panel::updateDisplayList()at mx.core::UIComponent/validateDisplayList()at mx.core::Container/validateDisplayList()at mx.managers::LayoutManager/::validateDisplayList()at mx.managers::LayoutManager/::doPhasedInstantiation()at Function/http://adobe.com/AS3/2006/builtin::apply()at mx.core::UIComponent/::callLaterDispatcher2()at mx.core::UIComponent/::callLaterDispatcher() Paul - Original Message - From: Nick Collins To: flexcoders@yahoogroups.com Sent: Tuesday, July 18, 2006 4:41 AM Subject: Re: [flexcoders] Org Chart Hey Doug, I tried to view your CMOrgChart and it doesn't load with the final release of Flash Player 9. On 7/17/06, Douglas Knudsen [EMAIL PROTECTED] wrote: I have one I created. Staye tuned to http://www.cubicleman.com/ I have to find time to update it to the Flex 2 GR code and make it purtier. It will be open source and all. http://www.cubicleman.com/2006/05/11/cmorgchart-is-here/ is the orginal post...works with FlashPlayer 9 beta 3DK On 7/17/06, hitch_nj [EMAIL PROTECTED] wrote: Hi,I want to create an organisation chart, want to know if there are anysamples available. Actually I am new to Flex and would like to knowwhere to start.Thanksh --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/-- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Selecting a Leaf in a Tree
Greetings - I have a tree whose dataProvider is some E4X XML. I'd simply like to programatically open the tree to and select a given leaf. Can't figure out however what property to set the xml reference to. I'd expected being able to do something like: myTree.selectedItem = sandwich[1].condiments[3] But I get back a null reference error. Help? cheers, ethan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Adding Components on the Fly
mx:Button click=clickHandler(event)/ mx:Script private function clickHandler(event:Event):void { var myImage:MyImage = new MyImage(); myImage.source = ...; addChild(myImage); } /mx:Script - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Faisal Abid Sent: Friday, August 25, 2006 1:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Adding Components on the Fly I have created a simple component which extends the image component, and i Want to add it to the application on the fly. Eg when i clikc start, flex will create the component for me and then i can interact with it, how can this be done. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] menubar icon
I never could get this to work. Id like to see a simple working sample app myself. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Arthur Sent: Friday, August 25, 2006 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] menubar icon Can someone send me an example of an icon in a menubar? - Doug __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Component access to dynamic application variable
I'm currently learning how to utilize components. In a slideshow app, I have a thumbnail component (image) that is rendered by a TileList in the main application. dataProvider in the TileList is being used to supply the path, image name, etc, by sending a repeating node of an xml file. However, I'd like the thumbnail component to also be able to read a property of a selected parent node (via a ComboBox in the main application) of the data its receiving. Can I make a bound variable in the main application dynmaically accessible by the component? The xml is basically laid out as root(i.e. URL to root).album(i.e. folder name).image(i.e. filename), and any time I render an image, I'm recollecting the various nodes to produce an absolute URL to the image. Hope that makes sense...still learning my Flex2 terminology. - Chris -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] How can I tell an AreaChart data tip to display?
I'm creating an AreaChart and I want the DataTip to appear whenever the mouse rolls over the Series. I know that I can set showDataTips=true on the Chart but the DataTip will only appear if the mouse is directly over the data point. I've extended AreaSeries and captured the mouseOver and mouseOut. I'm using findDataPoints to get a reference to the HitData for the closest data point, but I need some way to tell the DataTip for that data point to show/hide. Does anybody know? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Blitz XRay
--- In flexcoders@yahoogroups.com, John Grden [EMAIL PROTECTED] wrote: LOL yep! man, lately, that's all I've been hearing about...guess I should get on it ;) On 8/25/06, Renaun Erickson [EMAIL PROTECTED] wrote: Lol, good luck :) Thanks, that is what I thought, just got confused with the talk of Flex connector. Any plans for a AS3 connnector? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, John Grden neoriley@ wrote: Sorry, it doesn't support AS3 yet. 1.6 connector is for AS2 applications only. The Xray interface that communicates with that connector is a Flex2 application however. On 8/24/06, Renaun Erickson renaun@ wrote: Would be less confusing if the OSFlash site stated it supported AS3. How do you put the connector directly into a Flex2 application? Do you have the SWC or AS source code for the connector? Thanks for the info, --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com, John Grden neoriley@ wrote: Yes, click on the link for the 1.6 version: http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.mxp?format=raw On 8/24/06, Renaun Erickson renaun@ wrote: The connectors link shows: Connectors (8.11.2006) * Latest component package for AS2 (xray_conn_1.6.mxp) * Latest component package for AS1 (xray_component_as1.mxp) * Connector-only package for MTASC, SFWMill, etc. * Connector Only Tutorial (Tutorial in French) Is there a AS3 connector? -- [ JPG ] -- [ JPG ] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Specifying LineSeries itemRenderer with Actionscript
Try something like: columnSeries.setStyle(itemRenderer, new ClassFactory (DiamondItemRenderer)); --- In flexcoders@yahoogroups.com, j_sevlie [EMAIL PROTECTED] wrote: I have some LineSeries charts that are generated all through ActionScript (because the number of lines I need is not know until run-time). --- CODE START --- var seriesArray:Array = new Array(); var i:int; var marketShareData:ArrayCollection = new ArrayCollection; marketShareData = wsData.getMarketShare.lastResult; for(i=0; imarketShareData.length; i++) { // Line for brand-specific data var columnSeries:ColumnSeries = new ColumnSeries(); columnSeries.xField = fiscalyear; columnSeries.yField = sharepercentage; columnSeries.dataProvider = marketShareData.getItemAt(i); columnSeries.displayName = marketShareData.getItemAt(i).getItemAt(0).series; seriesArray.push(columnSeries); } columnchartMarketShare.dataProvider = marketShareData; columnchartMarketShare.series = seriesArray; --- CODE END --- My question is: How in the world do I specify a custom itemRenderer through Actionscript? With MXML you can do it like this: LineSeries yField=costs itemRenderer=mx.charts.renderers.DiamondItemRenderer/ But I'm not defining my LineSeries that way. I saw the demo of the charting stuff over at QuietlyScheming.com (http://demo.quietlyscheming.com/ChartSampler/app.html) but he's also defining the series at design-time. Any thoughts? Thanks in advance for any help that somebody can provide. Cheers, Jacob -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Custom server validation
So I recently came upon an interesting situation. I needed to validate a form entry against data on the server. For example, I wanted to query the db to make sure the quantity that the user typed in was a validamount with the stock on hand. My initial thought was that I could just extend the Validator class (so I get all of the validation triggers)and write a flash remoting server side call to validate the data. However, that doesn't seem possible because the doValidation() method, where I would make my Flash Remoting call, has to returnan array of ResultEvents. Which means you can't wait for the result handler to determine if something is valid or invalid. It seems like server side validation is a common enough thing. Has anyone else tried to do this? How did you get it to work? thanks, --nimer __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] restrict length (maxChars) in an editable combobox
Resending this as I never saw it show up. -Original Message- From: Lisa Nelson Sent: Friday, August 25, 2006 8:48 To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] restrict length (maxChars) in an editable combobox Anyone know how I can restrict the length of input in an editable combobox? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] restrict length (maxChars) in an editable combobox
I haven't spent a lot of time on this, but my guess is that you're going to have to extend the combobox. From their you'll have access to textInput, which you can call getTextField() on, which returns a UITextField that has a maxChars Property. On 8/25/06, Lisa Nelson [EMAIL PROTECTED] wrote: Anyone know how I can restrict the length of input in an editablecombobox?--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] flex-config.xml in Flexbuilder
Does anyone know where flex-config.xml is for the flex builder? I want to enable AS output when mxml compiles thanks. Louie __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] flex-config.xml in Flexbuilder
You now include this parameter in the project build options. There is a text input for command line parameters. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Louie PenaflorSent: Friday, August 25, 2006 1:38 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] flex-config.xml in Flexbuilder Does anyone know where flex-config.xml is for the flex builder? I want to enable AS output when mxml compiles thanks. Louie __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Adding Components on the Fly
Thank you for that, a little late but i also figured out something from yours, i was using the canvas.addchild, but you showed me i didnt have to , so thanks alot. From: "Gordon Smith" [EMAIL PROTECTED]Sent: Friday, August 25, 2006 5:50 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Adding Components on the Fly mx:Button click="clickHandler(event)"/ mx:Script private function clickHandler(event:Event):void { var myImage:MyImage = new MyImage(); myImage.source = ...; addChild(myImage); } /mx:Script - Gordon From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Faisal AbidSent: Friday, August 25, 2006 1:16 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Adding Components on the Fly I have created a simple component which extends the image component, and i Want to add it to the application on the fly. Eg when i clikc start, flex will create the component for me and then i can interact with it, how can this be done. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Items Invisible in ComboBox
I experienced this too at one point and it was because one of the items was "null" Remove it and back to normal. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stevehouseflSent: Thursday, August 24, 2006 2:34 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Items Invisible in ComboBox I have a very standard combobox control:mx:ComboBox id="cbStatus" dataProvider="{statusesWithAll}"labelField="sStatus" change="filterChange()"/mx:ComboBoxWhen I click on it and it opens, some items are invisible. The spacefor them is there, but the text is missing. If I select an invisibleitem, it displays properly in the closed combobox and works asdesigned with the app.It seems to randomly make items appear and disappear with each openand close of the combobox. Sometimes the selected item will reappearwith the highlight on it or sometimes just the empty row will behighlighted.Any ideas? Thanks,Steve H. AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] FDMS: check, if an item exists on the client?
I think what you are looking for is: myArrayCollection.getItem( x ); Assuming myArrayCollection was populated by the fill() method of a DataService. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: Friday, August 25, 2006 10:43 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FDMS: check, if an item exists on the client? Is there any way in FDMS to get an item without really going to theserver if it's on the client already? I found that calling dataService.getItem(uid) always goes to the server,even if the item in question is available on the client. This isunnecessary overhead IMHO if the item is available in theDataStore/Collection. Do I have to implement my own lookup strategy here???Thanks,Dirk. AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: i can not find flex 1.5 SDK
I would expect the trial and developer licenses to still be available for free. Converting a large 1.5 app to 2.0 can be a very difficult process. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas Knudsen Sent: Friday, August 25, 2006 3:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: i can not find flex 1.5 SDK If you really need this then you will need to call Adobe. Get your wallet out before hand though, and be prepared to empty it. DK On 8/25/06, dan_marcu_eee [EMAIL PROTECTED]com wrote: On adobe.com there are some traces of flex 1.5 SDK. >From that kit i need the executable used to compile SWF's. I can not use the one in flex 2 sdk because it seems it does not recognize the source code and i get compile errors. So i really need it badly to complete one of my projects. If anyone knows or has the 1.5 SDK please help me! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: flexcoders-unsubscr[EMAIL PROTECTED]com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex with Coldfusion Beginner
Check out the flex docs on the DataGrid.dataProvider property. Basically you'll assign the result from CF to a variable and at the same time you'll bind the dataGrid to this variable. Flex will take care of the rest. hth, ---nimer - Original Message From: plucka70 [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, August 24, 2006 4:53:08 PMSubject: [flexcoders] Flex with Coldfusion Beginner I'm a real beginner, and know CF inside out. So I want to use Flex 2. I've read a bit online and got a webservice call working displaying the current time from a cfc.Now I have a cfc generated using the wizard which is a database related one, not sure what to do from here. I seems to generate an array of objects, and each object defines a row in the table, this all makes sense.But how do get this into a flex data grid.I assume I need to loop over the array and populate the data grid using an Action Script function. Conceptually simple, but I'm hoping people can explain the best way to do this and perhaps post a simple sample that takes a table into a data grid.PS: I'd rather not use the full generate wizards available, I'd rather learn how to do it line by line on the Flex side.RegardsDale Fraserhttp://dale. fraser.id. au __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
Speaking of that Ive always wondered, is the gzip decompression handled by the browser, or by the Flash player? Ive assumed it was the browser (HTTP Compression, right?). That being the case, arent there some browsers which dont have gzip support, or are they all dead? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager Sent: Wednesday, August 23, 2006 12:53 PM To: flexcoders@yahoogroups.com Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Simply turing on gzip compression has an amazing effect here dramatically reducing the total payload size of web service calls. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Lee Sent: Wednesday, August 23, 2006 9:22 AM To: flexcoders@yahoogroups.com Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides I'm sure someone already pointed this out, but network latency is also a factor. AMF is a compressed format, so it can load faster and in that sense make your app more responsive. With XML web services, the tags themselves add a degree of overhead. There are schemes for compressing web services which can help. -Original Message- From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Martin Wood Sent: Wednesday, August 23, 2006 11:27 AM To: [EMAIL PROTECTED]ups.com Subject: Re: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Jack Caldwell wrote: Martin: OK . . . . so the lag time is when the data gets back to the end-user? exactly, its the time it takes for the flash player or actionscript code to convert the incoming data into a format usable by the application. Before in the flash world that was a big deal as XML processing was expensive and often tedious to code whilst remoting was natively implemented and provided you with typed business objects as a result of the call. With Flex 2 the differences are not so important as the features like data binding and e4x pretty much level the playing field for the data formats. Bottom line . . . . with all things being equal . . . . Does a web service request take longer to process on the server than a AMF request? If the answer is . . . . in general yes, then that can be an issue with an increase in users. If the answer is . . . . it depends on the data being requested and/or the data format then that seems to suggest that everyone must run tests to compare results and then test again based on scaling up. I suppose one of the main factors would be the server code that handles the incoming request and then transforms the business data into the required format to send back to the client. That could be anything from some hand written php code to a commercial remoting gateway. Its so context dependent that its impossible to make a general statement of the type 'Remoting performs better than Web Services' It would be interesting to see a comparison of the throughput you could expect when comparing different solutions on the same server hardware, e.g. PHP Nu-Soap against AMFPHP.. Jrun's remoting vs. OpenAMF vs JAX-WS etc.. and where they each perform the same business operation and return the same data.. but then there are other concerns such as memory usage and what else the server is used for and how it performs for those use cases. thats what i mean by you have to take it on a case by case basis. :) martin -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: XML editor (contd)
John I wrote a sample app to demonstrate using HTTPService to load/save xml files on the server. It uses a Tree to display the xml and provides for editing and deleting the selected node and adding nodes. It might be of some use to you, so Ill send it directly to you. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff Sent: Friday, August 25, 2006 10:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: XML editor (contd) Before getting long-winded, what's your goal? Using the same itemRenderer/Editor for every column in a DataGrid sounds suspicious, but certainly a challenge. I'm out of time right now, but happy to help later. (Since I can't make MAX this year, I'm off to Vegas this weekend instead. Wish I could be there, :: sulking in jealousy ::) -TH --- In [EMAIL PROTECTED]ups.com, John Mazzocchi john.mazzocchi@... wrote: Tim, hi. Ta. Now just to figure out how to do that ... :) J -Original Message- From: Tim Hoff [mailto:TimHoff@...] Sent: Friday, 25 August 2006 3:22 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Re: XML editor (contd) Hi John, Sure, the data object contains all of the individual column elements. You would have to conditionally change states or control types by checking the dataField name and binding the appropriate field. -TH --- In [EMAIL PROTECTED]ups.com, John Mazzocchi john.mazzocchi@ wrote: Never mind about my 2nd question, I've solved it :) Buty I'd still like an answer to my first one ... Can each row of a DataGrid have a separate and different custom ItemRenderer/Editor? Ta. J -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides
An architect I closely work with always says: ‘Each extra component introduces complexity’. I think that is true. Each component ‘in the middle’ makes a system harder to understand, debug, maintain, deploy and requires an additional level of competence. Unless it has true added value, one should think very delicately if this extra component is really necessary. Actually, there is some contradiction in your last paragraph. You admit that putting middleware in place needs thorough testing (which costs money ... probably much more than the 20k you pay for FDS) and is a ‘daunting task’ (which means that you are aware of the extra complexity and the risks that it brings). You actually mention the exact reasons why I would not like putting middleware in place for just one single client. Costs can only be discussed if the business case is clear. In some cases (where millions are at stake) the investment in FDS will be a no-brainer. In other cases where budget is limited then the non-investment is a no-brainer as well. Therefore, I always keep aside from the money discussions. You can’t tell. I really wish that Adobe will make good money from the Flash/Flex/FDS stack. They deserve it. They built a great product and I am truly grateful for that. I am sure they put great thought in the pricing scheme. Per case you will have to decide whether the business case allows for the particular investments. Cheers, Franck From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Thursday, August 24, 2006 7:31 PM To: flexcoders@yahoogroups.com Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides One key enterprise objection to using AMF is the lack of AMF clients for integration. Would non-flash clients for AMF and Messaging help? I can understand why it would be difficult to shell out $20K per proc for something that is solely for the Flash platform. That's almost as much as SQL licenses. Not feasible where I work. If you have to use Flex Data Services to realize the full benefits of Flex, that high cost can lead teams to shy away from the Flash Platform because the remaining benefits may be less clear. However, aside from the cost, I don't see why anyone would have a problem with putting middleware in place for a specific client. Non-Flash clients can use whatever other communications protocols you like, which are possibly already in place. Granted, you've got to test things thoroughly to make sure your existing environment is not affected by the installation of FDS (which can be a daunting task). -Original Message- From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Ted Patrick Sent: Thursday, August 24, 2006 12:50 PM To: [EMAIL PROTECTED]ups.com Subject: RE: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides Frank, RPC IS LESS THAN 25% OF FLEX DATA SERVICES!!! Flex Data Services is so much more that RPC. This entire discussion is really FDS.RPC to WebServices. FDS contains 4 major parts: 1. Messaging - ASMessaging and JMSMessaging 2. Data Management - Data Synchronization and Distributed ArrayCollections 3. Web Tier Compiler - Compilation of AS/MXML on the server side. 4. RPC - Remoting and WebService Proxy Using Web Services directly affects user experience!!! Using Web Services directly affects user experience!!! Using Web Services directly affects user experience!!! Web Services burns up player performance that you could be using to make the user experience better. When working in Flash Player, everything affects performance. If you abuse the player in one area, you limit what you can do elsewhere before the player starts to slow down. The Flash Player (like all software) is limited in capability; if you spend that capability doing hard things (read Web Services) then you will not be able to do other things. On a high quality machine, WS can take 400ms, but on a slower machine it can take 3-10 seconds for a single call and the larger the data exchanged, the worse it gets. Not good. With Flash Player it is important to keep things light and fast. Web Services are abusive to the Flash Player runtime. Support is included for integration purposes but it was really not designed as an optimized way to exchange data. Web Services view: Flash Player Receives XML ASCII Text XML Parsing → XML Parsing!!! SOAP Parsing occurs to AS Objects → Traverse SOAP Objects Recursively!!! Objects are passed into events RemoteObject: Flash Player Receives AMF Data AMF Binary Decoding → Direct to typed objects. Objects are passed into events I am sure there are many smart people out there who will get WebServices to work well for them with Flex. It is a lot of hard work to make this work well and I have only seen one company do it really well. I do not doubt that others will make this work reliably but I question its use. It will affect
RE: [Junk E-Mail - LOW] [flexcoders] Re: Flex with Coldfusion Beginner
At the risk of invoking wrath from the "web services vs AMF" thread, if you're using ColdFusion, you probably shouldn't be using web services. You should be using Remote Objects (CF version 7.0.2 required). I googled, and this was the best example I could come up with in 30 seconds: http://coldfusion.sys-con.com/read/256202.htm Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of OscarSent: Friday, August 25, 2006 10:42 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] Re: Flex with Coldfusion Beginner You can bind the result of your WebService to an ArrayCollection and then use it as the dataprovider for your Datagrid. Here is a simple of example of using an ArrayCollection as the datagrid dataprovider.?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"mx:Script![CDATA[[Bindable]public var myArray:Array = [{colA:'A',colB:'B'},{colA:'A1',colB:'This is a test'}];]]/mx:Scriptmx:DataGrid id="myGrid" dataProvider="{myArray}" width="100%" height="50%"variableRowHeight="true" mx:columnsmx:Arraymx:DataGridColumn dataField="colA" headerText="Column A" width="70"/mx:DataGridColumn dataField="colB" headerText="Column B" width="50"//mx:Array/mx:columns/mx:DataGrid/mx:Application--- In [EMAIL PROTECTED]ups.com, "plucka70" [EMAIL PROTECTED] wrote: I'm a real beginner, and know CF inside out. So I want to use Flex 2. I've read a bit online and got a webservice call working displaying the current time from a cfc.Now I have a cfc generated using the wizard which is a database related one, not sure what to do from here. I seems to generate an array of objects, and each object defines a row in the table, this all makes sense. But how do get this into a flex data grid.I assume I need to loop over the array and populate the data grid using an Action Script function. Conceptually simple, but I'm hoping people can explain the best way to do this and perhaps post a simple sample that takes a table into a data grid. PS: I'd rather not use the full generate wizards available, I'd rather learn how to do it line by line on the Flex side. Regards Dale Fraser http://dale.fraser.id.au --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006
RE: [flexcoders] POP3 by Socket
Ok, good one too. Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Lee Sent: Friday, August 25, 2006 11:44 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] POP3 by Socket Sometimes it's not obvious from debugging that the lack of a crossdomain.xml file is at issue. Perhaps you could list some common symptoms of malformed or non-existent crossdomain.xml files? -Original Message- From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Ted Patrick Sent: Friday, August 25, 2006 2:20 PM To: [EMAIL PROTECTED]ups.com Subject: RE: [flexcoders] POP3 by Socket I will get that added ASAP. Great feedback. Anyone else? Ted Patrick Flex Evangelist Adobe Systems Incorporated From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Tracy Spratt Sent: Friday, August 25, 2006 10:09 AM To: [EMAIL PROTECTED]ups.com Subject: RE: [flexcoders] POP3 by Socket Ted, that is a handy site. A suggestion: An issue that is not obvious to those who are not web/network administratiors is: Where do I put the crossdomain.xml file. While I bet this is discussed on more than one of the links you provide, consider a quick paragraph on the subject, for additional convenience. The usual response: In the root of the web server is not enough for non-experts. Include an example path for, say the default integrated Flex 1.5 install, one for a default Tomcat install, and one for a default IIS install. I figured mine out by putting a full access crossdomain file in every possible folder until my call worked, then deleting them until I broke it again. This showed me the right place. You see why I am not offering to provide the examples! Tracy From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Ted Patrick Sent: Friday, August 25, 2006 12:14 PM To: [EMAIL PROTECTED]ups.com Subject: RE: [flexcoders] POP3 by Socket Rogerio, http://www.crossdomainxml.org http://www.crossdomainxml.org With Socket operations you will need to have a crossdomain.xml file on the server you are connecting to, in this case the POP server! This particular crossdomain.xml file needs to permit access to use low/high ports for inbound connections. It is identical to the process needed to support XMLSocket servers. The use of crossdomain policy files prevents Flash/Flex clients from abusing other peoples servers. As permission is delegated to the server owner, they can decide what ports Flash Player can connect to. Example: cross-domain-policy allow-access-from domain=* to-ports=507 / allow-access-from domain=*.foo.com to-ports=507,516 / allow-access-from domain=*.bar.com to-ports=516-523 / allow-access-from domain=www.foo.com to-ports=507,516-523 / allow-access-from domain=www.bar.com to-ports=* / /cross-domain-policy I put together this small site on crossdomain policy files. It doesn't have any glits and gives you the bare bones knowledge on using crossdomain. http://www.crossdomainxml.org http://www.crossdomainxml.org IFBIN on Flexcoders You just made my day! Go IFBIN! Cheers, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Santo Sent: Friday, August 25, 2006 6:46 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] POP3 by Socket Bom dia pessoal, Hi folks, I want to know if anyone of you try make the POP3 by Socket example, from IFBIN(Flex by Example), work with final version of Flex 2. Now that he´s free, I try to test something but it just don´t work. Don´t give me any errors. Seems to be a security issue, like crossdomain, but I can´t figure out the real problem. Thanks Rogerio Gonzalez -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the
Re: [flexcoders] i can not find flex 1.5 SDK
google flex 1.5 swd and decompile. its sorta the source of the 1.5 framework, but it doesn't compile, but could help you on your way.On 8/25/06, Battershall, Jeff [EMAIL PROTECTED] wrote: Flex 1.5 didn't have an SDK to my knowledge.The entire licensing scheme of Flex has changed between versions.Jeff-Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of dan_marcu_eeeSent: Friday, August 25, 2006 1:33 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] i can not find flex 1.5 SDKHi,guys i really need the Flex 1.5 SDK and i can not find it anywhere.Macromedia is gone, and adobe is really cold on this matter. Does anyoneof you have the Flex 1.5 SDK ? And if so can you send it over? on email, or up it on an FTP or something? I hope you keep archives and someonefrom this list will be able to help me. It is kind of an emergency.Thanks a lot,DAN--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- j:pn http://www.lennel.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: i can not find flex 1.5 SDK
you mean the compiler...heh. yeah mate, that ain't dodgy at all. On 8/25/06, dan_marcu_eee [EMAIL PROTECTED] wrote:On adobe.com there are some traces of flex 1.5 SDK. From that kit ineed the executable used to compile SWF's. I can not use the one inflex 2 sdk because it seems it does not recognize the source code andi get compile errors. So i really need it badly to complete one of my projects. If anyone knows or has the 1.5 SDK please help me!--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- j:pn http://www.lennel.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Functionality Between Components and the Main Application
dispatch an event when a button gets clicked. let the container listen to it on the toolbar. On 8/23/06, Megan [EMAIL PROTECTED] wrote:Hi! I've been trying to figure out how to do this sort of thing, and thought I'd ask before messing with it anymore.I have a toolbar that's in its own component, and it has some buttonson it that will open new windows/popups. What I need to have happenis, when one of the buttons gets clicked, the window pops up inside a container that's on the main application. Right now they show up atthe top corner of the toolbar.I gave the VBox in the middle of the main application an ID, but whenI try to tell the toolbar to open the window there, it gives me an error because that ID doesn't exist inside the toolbar...I've also tried telling the button to run a function in the mainapplication to open the popup but it tells me that I'm calling apossibly undefined method through a reference with static type Class. I hope that makes sense. Any ideas?Thank you!--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- j:pn http://www.lennel.org __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___