[flexcoders] Re: how to cancel down arrow on a combobox
anyone have an idea how to do this? --- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote: hello i m using FLEX 1.5 !! the ComboBox have a default behavior that when pressing the down/up arrows it selects the next/previous object in its list. how do i cancel this behavior??? i need that arrow down/up on a ComboBox will do NOTHING !! how? -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Moving flexcoders to Google Groups- would you come along?
Good thinking ! There's a welcome message that goes out with email, we should add that to the welcome message. Thanks for the great (and now that you mention it, obvious :) ) suggestion... Steven Steven WebsterPractice Leader (Rich Internet Applications and LiveCycle)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mete AtamelSent: 10 September 2006 03:28To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Moving flexcoders to Google Groups- would you come along? Hi,Could someone who joins the list for the first time get a message stating that they might be moderated and their posts might be delayed as a result? I had no idea about this for a while and I was under the impression that Yahoo Groups simply didn't work until you pointed it out.-MeteSteven Webster [EMAIL PROTECTED]com wrote: David, I posted about this the other day -- your first post is moderated and thereafter all posts should come straight through. In a m! inority of cases, some users don't seem to be changed from moderated to unmoderated after their first post, and when the moderators spot this (for people that post regularly I guess) we'll change it. If that's you, and we've not spotted it, drop us a note and we'll change your settings. This policy has allowed us to keep the list free of a large number of attempts by recruitment agents to post irrelevant job ads for C++ and Java programmers - apart from the few times one of our over-keen moderators approves the posts anyway (and I've never done that, erm, honest). It's more work for us moderators, but it keeps the list spam free. David - your messages were being moderated; I've gone in and fixed this already. You should now be able to time your message posts in microseconds :) Best, Steven Steven WebsterPractice Leader (Rich Internet Applications and LiveCycle)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED]com From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David BrownSent: 09 September 2006 19:15To: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Moving flexcoders to Google Groups- would you come along? Well it I understand what you are saying, but why does it take over 12 hours for my post to show up on the form? This is one more slow "pony" express mailing list. Subject (Can someone help me understand this price info and what I get for it) Post on 9/8/06 @ 7:01 pm Shows up on list @ 10:03am 9/9/06. This is not the first time I have seen this. David - Original Message - From: Steven Webster To: [EMAIL PROTECTED]ups.com Sent: Saturday, September 09, 2006 12:30 PM Subject: RE: [flexcoders] Moving flexcoders to Google Groups- would you come along? Guys, this thread rears it's head every couple of months. If we move to googlegroups, will we find ourselves2 months down the line with a thread asking why we don't move to something else (or back to yahoo) ? Seriously, there's a pattern to this thread ... any second now someone is going to ask why we don't move to Adobe forums, then we're going to be asked why we don't have a knowledge-base, and then I'm going to have to step in and moderate the list and say that we're not going to move the list for the time being, or split it into smaller lists, or all the other spin off discussions that the vocal few will have, and we'll ask people to move the discussion offlist. Seriously, this list works for the majority, so if it's ok with everyone else I think the long-time list members here will be appreciative of us not hashing it up again. Thanks, Steven
RE: [flexcoders] Re: how to cancel down arrow on a combobox
Listen to the keyevents and prevent the default Paste below in a new application to test mx:Script![CDATA[[Bindable]public var ComboDS:XML = new XML(item datasource="CmbData"object label="Mr."/object label="Mrs."/object label="Dr"//item);private function DisableKey(event:KeyboardEvent):void{if (event.type == "keydown" || event.type == "keyup" ){event.preventDefault();return;}}]]/mx:Script mx:ComboBox dataProvider="{ComboDS.children()}" labelField="@label" keyUp="DisableKey(event);" keyDown="DisableKey(event);" / hope this helps Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de shemeshkaleEnvoyé: dimanche 10 septembre 2006 09:01À: flexcoders@yahoogroups.comObjet: [flexcoders] Re: how to cancel down arrow on a combobox anyone have an idea how to do this?--- In [EMAIL PROTECTED]ups.com, "shemeshkale" baldhead72@... wrote: hello i m using FLEX 1.5 !! the ComboBox have a default behavior that when pressing the down/up arrows it selects the next/previous object in its list. how do i cancel this behavior??? i need that arrow down/up on a ComboBox will do NOTHING !! how? __._,_.___ -- 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: how to cancel down arrow on a combobox
Jason, tnx. it seems pretty easy, BUT!!! i m using flex 1.5 ! tried the preventDefault() but its not working here. ? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: Listen to the key events and prevent the default Paste below in a new application to test mx:Script ![CDATA[ [Bindable] public var ComboDS:XML = new XML( item datasource=CmbData object label=Mr./ object label=Mrs./ object label=Dr/ /item ); private function DisableKey(event:KeyboardEvent):void{ if (event.type == keydown || event.type == keyup ){ event.preventDefault(); return; } } ]] /mx:Script mx:ComboBox dataProvider={ComboDS.children()} labelField=@label keyUp=DisableKey(event); keyDown=DisableKey(event); / hope this helps Jason -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: how to cancel down arrow on a combobox
oh; sorry i though it might be about the same. No Flex1.5 here. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de shemeshkaleEnvoyé: dimanche 10 septembre 2006 11:21À: flexcoders@yahoogroups.comObjet: [flexcoders] Re: how to cancel down arrow on a combobox Jason, tnx.it seems pretty easy, BUT!!!i m using flex 1.5 !tried the preventDefault() but its not working here.?--- In [EMAIL PROTECTED]ups.com, "Jason Hawryluk" [EMAIL PROTECTED] wrote: Listen to the key events and prevent the default Paste below in a new application to test mx:Script ![CDATA[ [Bindable] public var ComboDS:XML = new XML( item datasource="CmbData" object label="Mr."/ object label="Mrs."/ object label="Dr"/ /item ); private function DisableKey(event:KeyboardEvent):void{ if (event.type == "keydown" || event.type == "keyup" ){ event.preventDefault(); return; } } ]] /mx:Script mx:ComboBox dataProvider="{ComboDS.children()}" labelField="@label" keyUp="DisableKey(event);" keyDown="DisableKey(event);" / hope this helps Jason __._,_.___ -- 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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] URLRequest and crossdomain.xml
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213 - Original Message - From: Robert Thompson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, September 10, 2006 4:45 AM Subject: Re: [flexcoders] URLRequest and crossdomain.xml What is the format/schema of the crossdomain.xml file? And is it called that, and placed in the root directory? -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Flashmaps and Flex 2
Has anyone tried integrationg Flashmaps (www.flashmaps.com) into a Flex 2 application? A google query for flashmaps Flex 2doesn't yield many results... Rick -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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 prevent copying custom content into [bin] folder?
Hi, I have project structure like this: [Project] [Bin] Main.swf Main.html [Docs] 1.doc 2.doc [Html-template] 1.mxml 2.mxml Sometimes Flex copies folder [Docs] with all contents into folder [Bin] automatically. How can I prevent this? 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] File - flexcodersFAQ.txt
Flexcoders Frequently Asked Questions Last Updated: 30th May 2005 Contributors: Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper, Peter Farland, Abdul Qabiz, Tracy Spratt, Jesse Warden, Dan Harfleet, Manish Jethani, Dimitrios Gianninas 1. What is Flexcoders? 2. How does Flexcoders relate to the Macromedia Flex Forum on www.macromedia.com? 3. Who posts to Flexcoders? 4. Resources to check before asking a question 5. Guidelines for effective question-asking 6. FAQ 1. What is Flexcoders? Flexcoders is a forum where developers can ask questions about Flex, FlexBuilder, and Flex-related technologies (like Cairngorm, FlexUnit and SynergyFLEX). The community is made up of everyday Flex developers as well as Macromedia employees. However, this is not an official Macromedia-sponsored forum, it is actually moderated by the folks at iteration::two, a consultancy responsible for authoring the book Developing Rich Internet Applications with Macromedia Flex. 2. How does Flexcoders relate to the Macromedia Flex Forum on www.macromedia.com? Both the Macromedia Flex Forum and Flexcoders provide help on issues related to Flex, and neither is an official support mechanism. Some people monitor both forums, some only one. It is up to you to decide where you might have a better experience getting a question answered and being able to subsequently help others. 3. Who posts to Flexcoders? Everyone who has a question or an answer. Many members of the Flex development team read and respond to Flexcoders as well as other Macromedia folks who monitor the community. Some recurring Macromedia folks are: David Mendels: EVP and GM, highest-level executive in charge of Flex. Lucian Beebe: Sr. Product Manager, Flex. Matt Chotin, Manish Jethani, Abdul Qabiz, Gordon Smith, Peter Farland and many more: Engineers on Flex. Active community members include: Steven Webster (Technical Director at iteration::two and co-author of Developing Rich Clients with Macromedia Flex), Alistair McLeod (Development Director at iteration::two and co-author of Developing Rich Clients with Macromedia Flex), Jesse Warden (JesterXL - Flash badass playing with Flex), Tracy Spratt (long-time member, holder of all knowledge related to 32K limits), Jeff Steiner (maintainer of www.flexauthority.com), Tariq Ahmed (maintainer of www.cflex.net), Jimmy Gianninas (long-time member, developer at Optimal Payments). And so many more! 4. Resources to check before asking a question The Flexcoders Mail Archive (better searching than YahooGroups): http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.cflex.net/showfaq.cfm http://livedocs.macromedia.com/flex/15/asdocs_en/index.html http://www.macromedia.com/go/flex15_java_livedocs http://www.macromedia.com/cfusion/knowledgebase/index.cfm http://www.cflex.net http://www.flexauthority.com http://www.macromedia.com/devnet/flex http://coenraets.com http://weblogs.macromedia.com/mxna/ http://www.google.com The Book Developing Rich Clients with Macromedia Flex (check your favorite bookstore) 5. Guidelines to effective question-asking Include a useful subject; this will help people find their own questions and answers later. Explain what you are trying to accomplish. Explain the error (include compilation errors or a description of the runtime behavior). Be prepared to break your problem down into a simpler scenario in case someone wants to try to debug the code themselves. Remember, private web services are inaccessible; you may need to create some dummy data to emulate problems. Phrases to avoid: URGENT (we all have deadlines, no one is intentionally delaying a response to you) Please send code (this is very frustrating to read as it implies you aren't interested in learning anything on your own. Where code is appropriate you can expect someone to provide it, but in many cases you will learn more by doing it on your own with appropriate guidance. It may be that you're on a deadline and just want to finish, but many of those who respond regularly would prefer to teach you to fish so that you can answer your own questions next time and even help out others). 6. Mini-FAQ Q: Can I mail Matt, Manish, Abdul, Pete, Gordon, iteration::two, or anyone else for that matter off-line with my question? A: Please don't! If someone is capable of answering your question on- list please believe that it will be done. Everyone on the list has full-time jobs doing their own work and often answer flexcoders on their own time; mailing them off- list doesnt endear you to them. If no one answers on-list in a reasonable amount of time (24 hours) you can try to rephrase the question and perhaps include more detail (including a version of the problem that someone can run without doing any setup on their own
[flexcoders] [ANN][ADV] Flexible Rails Alpha Book now available
Announcing the Alpha Book version of Flexible Rails. http://www.flexiblerails.com/ This is an in-progress, PDF-only book about using Ruby on Rails 1.1 and Flex 2 to build Rich Internet Applications (RIAs). It is not an exhaustive Ruby on Rails tutorial (Agile Web Development with Rails does that already) or a Flex 2 reference manual (Adobe ships over 3000 pages of PDF reference documentation with Flex 2). Instead, it is (in the process of becoming) an extensive tutorial, developed iteratively, on building a fairly interesting RIA using Flex 2 and Rails 1.1 together. It is currently 214 pages, or 169 pages if you don't count the Preface and the six Appendices full of installation instructions. I expect it is between 20% and 40% of the final length of the book. There are many revisions to come in the evenings and weekends over the months ahead. That said, there is enough useful material and code in it that I can sell it with the belief that readers will get their money's worth today. Obviously, purchasers of any version (Alpha, Beta, Final) of this first edition of this book are entitled to a free PDF copy of every subsequent version of this first edition of this book. For more information visit http://www.flexiblerails.com. Thanks, Peter Armstrong -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Customizing Default Drag with List Components
Still looking for an answer to this if anyone has one. Also postedo n the Macromedia forums. Seems like it should be doable with DragDrop, but again, I'm a bit confused as to what's talking to what when using the built-in drag-drop implementation. - Chris --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: I have implemented a very simplistic drag/drop with a single Tree component (dragEnabled=true dropEnabled=true) and would like to keep it as simple as possible. But is there any way to limit items within the component that can or can not drag or be dragged to? i.e. in my case, my tree will always consist of three levels (Root Folder:Collection of folders:Collection of files), and files will only exist in the last level. I want to be able to limit: 1) Can not start dragging any item except for a file 2) Can not drop a file to anywhere except another last-level folder (i.e. can't drop to the root). Should be simple, but I'm a bit confused by the drag examples given at the livedocs... - 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Flex2 and Breeze syncSWF
Is there any way to dispatch/receive breeze syncSWF functions in Flex2? Other than loading the extension, is there anything else I need to do to get started in Flex? http://www.adobe.com/devnet/breeze/articles/intro_sync_swf.html - 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] Stacked Series and Interpolation effects exceptions
Anyone know if there is a fix for this yet, or a workaround? I am getting this problem as well. -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Handling Login
Im trying to create a Login screen where I can save a user's session information, so I can retrieve that later and use it for some validations. Is there a way that I can save this info as a session that last even when the user closes the browser, and until he signs out? How would you recommend it should be handled? I'd love to see some examples if you have any. Thanks in advance! -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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 keep one component in front of all other components?
Hi, I want to keep one component always in front. It looks like the 'task bar' in windows. no matter how many windows you opened, task bar is always on top of all the windows. I want to keep it in front even the other components are poped up by the popup manager. What should I do then? (I think the z-order is useless because other component is created by popup manager..) regards, Ark -- 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] Newbie
Hi Steven, I think this is happening to my posts as I posted two last week and never saw them. Could you please fix this. thanks in advance. Diego. On Sat, 09 Sep 2006 01:49:55 +1200, Steven Webster [EMAIL PROTECTED] wrote: Your first post to the list is moderated; then once you have posted once, your posts should go straight through - it's a simple anti-spam measure. However, for some reason some people's mail clients don't allow Yahoo! to recognise them the 2nd, 3rd, etc time they post -- so every post appears as their first post, and so all posts are moderated. When the (several) moderators spot this pattern, we'll go into admin panel and change you to unmoderated. If you think you're being moderated, just let us know and we'll fix your settings for you. Best, Steven Steven Webster Practice Leader (Rich Internet Applications and LiveCycle) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jburkett7 Sent: 08 September 2006 04:51 To: flexcoders@yahoogroups.com Subject: [flexcoders] Newbie Hello All, Just joined today. I went back and read posts over the past month or so. Question? Is there a pecking order as to whether a question is answered and how long it takes for a post to show up? I was interested in comments on a previous post, but have not seen any responses. I read where some people have had problems with posts not showing up or taking hours/days to do so. Also in some cases questions had not been answered. I realize everyone is busy, but I do not want to offend the powers that be when I have to ask a question. So, are these issues from other flexcoders a fluke or did I miss something? 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] File Download: Can scriptTimeLimit only be set globally?
if you have a LARGE dataset have you considered using a flv's metadata to stream the information in? On 9/8/06, Michael Schmalle [EMAIL PROTECTED] wrote: Ok,Before I go into detail, I use it for actual procssesing in the player.I am a bit confused on what you would use the setInterval() for.How about you just describe what exactly your program flow is so I can see if what I am saying applies to your situation. Peace, MikeOn 9/8/06, Stacy Young [EMAIL PROTECTED] wrote: Hi Michael, I'm not sure I follow …any chance you could provide some additional detail? I was thinking of trying a setInterval function while the client awaits download …not sure yet if that would fool the player into thinking its not hung. Stace From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com] On Behalf Of Michael Schmalle Sent: Thursday, September 07, 2006 10:04 PM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] File Download: Can scriptTimeLimit only be set globally? Hi, There is a work around with using the timer in a queue to give back cpu cycles to the cpu and trick the flash player that it is not locking up. I have a documenter that can easily do the flex framework, that takes 5 minutes from loading files, analyzing and rendering to server. Nothing locks up and you can actually move the cursor and semi use the app while it's doing it. Peace, Mike On 9/7/06, Stacy Young [EMAIL PROTECTED] wrote: 60 seconds ??? Uh oh …I missed that, thanks for heads up. Stace 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. -- What goes up, does come down. -- 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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Handling Login
- Original Message - From: Daniel [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, September 10, 2006 9:25 PM Subject: [flexcoders] Handling Login Im trying to create a Login screen where I can save a user's session information, so I can retrieve that later and use it for some validations. Is there a way that I can save this info as a session that last even when the user closes the browser, and until he signs out? If he closes the browser, how will (s)he log out? How would you recommend it should be handled? I'd love to see some examples if you have any. Thanks in advance! -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Flex2 and Breeze syncSWF
afaik breeze doesn't support flex 2 yet.On 9/10/06, qnotemedia [EMAIL PROTECTED] wrote: Is there any way to dispatch/receive breeze syncSWF functions inFlex2?Other than loading the extension, is there anything else I needto do to get started in Flex? http://www.adobe.com/devnet/breeze/articles/intro_sync_swf.html - Chris--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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Newbie
I have corrected this for you. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of Diego Guebel Sent: Sun 9/10/2006 5:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Newbie Hi Steven, I think this is happening to my posts as I posted two last week and never saw them. Could you please fix this. thanks in advance. Diego. On Sat, 09 Sep 2006 01:49:55 +1200, Steven Webster [EMAIL PROTECTED] wrote: Your first post to the list is moderated; then once you have posted once, your posts should go straight through - it's a simple anti-spam measure. However, for some reason some people's mail clients don't allow Yahoo! to recognise them the 2nd, 3rd, etc time they post -- so every post appears as their first post, and so all posts are moderated. When the (several) moderators spot this pattern, we'll go into admin panel and change you to unmoderated. If you think you're being moderated, just let us know and we'll fix your settings for you. Best, Steven Steven Webster Practice Leader (Rich Internet Applications and LiveCycle) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jburkett7 Sent: 08 September 2006 04:51 To: flexcoders@yahoogroups.com Subject: [flexcoders] Newbie Hello All, Just joined today. I went back and read posts over the past month or so. Question? Is there a pecking order as to whether a question is answered and how long it takes for a post to show up? I was interested in comments on a previous post, but have not seen any responses. I read where some people have had problems with posts not showing up or taking hours/days to do so. Also in some cases questions had not been answered. I realize everyone is busy, but I do not want to offend the powers that be when I have to ask a question. So, are these issues from other flexcoders a fluke or did I miss something? 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 -- WARNING --- 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. AVIS IMPORTANT -- 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. -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Re: Flex + .NET Web Services irritations
Nah, I'm not interested in JSON. If we weren't using WSs we'd be using Remoting. Thanks though.On 9/7/06, Sam Shrefler [EMAIL PROTECTED] wrote: John: You might want to also check out JSON + .NET + Flex. I've written a tiny little little tutorial to help get people started at: http://blog.shrefler.net/?p=5 Sam On 9/5/06, John C. Bland II [EMAIL PROTECTED] wrote: FLIPPIN' NAMESPACEI set the namespace and I'm rollin'! Now I can finish this app. :-) Thanks. On 9/5/06, John C. Bland II [EMAIL PROTECTED] wrote: Which code are you referring to seeing? I can't pass the WS code or url. As for the Flex code, it is based 100% off of the livedocs example but with our url's, etc. We don't use .NET datasets. We are returning VO's (classes) or Listclassname. This is .NET 2.0 so generics are used semi-heavily.Thanks. On 9/5/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi John, Without seeing the code, the first error seems E4X related. I'm not sure if this will help you with the second error, but natively Flex doesn't accept .Net datasets without receiving this error. If that's the case, you can solve this by casting the dataset to a class that is returned by the webservice. Here's an ASP.Net webservice code sample: http://www.cflex.net/showFileDetails.cfm?ObjectID=418Object=FileChannelID=1 -TH --- In [EMAIL PROTECTED] ups.com, John C. Bland II [EMAIL PROTECTED] wrote: Flex seems to have problems hitting .NET web services. Specifically, it has problems handling method overloads and, for whatever reason, can't seem to work with working .NET WS's. I setup the operation, etc just as examples showed to make sure my own knowledge wasn't lacking and it still didn't work right. The errors are as follows (extracted from my Google searches the other day): * The Proxy class does not implement getDescendants. It must be overridden by a subclass. * [WSDLError faultString=Element :SiteProvider_GetBySiteID not resolvable faultCode=WSDL.BadElement faultDetail=null] The second one is odd because I KNOW the method is there AND that it works. I can hit the wsdl with another tool and it works perfectly fine. Any ideas? -- John C. Bland II Chief Developer Katapult Media, Inc. - www.katapultmedia.com --- Biz Blog - http://blogs.katapultmedia.com/jb2 Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoands top.org Home of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com ---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.com http://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.org -- John C. Bland IIChief DeveloperKatapult Media, Inc. - www.katapultmedia.com---Biz Blog - http://blogs.katapultmedia.com/jb2Personal Blog - http://blog.blandfamilyonline.comhttp://www.lifthimhigh.com - Christian Products for Those Bold Enough to Wear Them Home of FMUG.az - http://www.gotoandstop.orgHome of AZCFUG - http://www.azcfug.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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: DataGrid Style: headerSeparatorSkin doc is wrong
Sorry, pasted the wrong stuff. =)The comment in the source for mx.skins.halo.DataGridHeaderSeparator says:/*** The skin for the separator between column headers in a DataGrid.*/Which is correct, and actually does vary. Hence my question. Thanks,Tom2On 9/10/06, Tom Ortega [EMAIL PROTECTED] wrote: The docs for DataGrid say:Type: Class CSS Inheritance: no The class to use as the skin for the separator between the DataGrid header and the rest of the rows. The default value is mx.skins.halo.DataGridHeaderSeparator.But the comment in the DataGrid source says:/*** The class to use as the skin for the separator between the DataGrid header * and the rest of the rows.* @default mx.skins.halo.DataGridHeaderSeparator*/[Style(name=headerSeparatorSkin, type=Class, inherit=no)]The source is correct, so the question is: What's the real style property for the separator between the header and the rest of the rows? __._,_.___ -- 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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] DataGrid Style: headerSeparatorSkin doc is wrong
The docs for DataGrid say:Type: Class CSS Inheritance: no The class to use as the skin for the separator between the DataGrid header and the rest of the rows. The default value is mx.skins.halo.DataGridHeaderSeparator.But the comment in the DataGrid source says:/*** The class to use as the skin for the separator between the DataGrid header * and the rest of the rows.* @default mx.skins.halo.DataGridHeaderSeparator*/[Style(name=headerSeparatorSkin, type=Class, inherit=no)]The source is correct, so the question is: What's the real style property for the separator between the header and the rest of the rows? __._,_.___ -- 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] Handling Login
Once all browser instances are closed youre pretty much stuck. (as with other web technologies) Without a session identifier to match up with on the server, theres no way to access that session data. You *could* store session data in a local shared object (flash cookie) and have your application read from that on startup to determine whether or not the user needs to be brought to a login page. Then when the user explicitly logs off you can nuke that shared object. Not the most secure approach though. Cheers, Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Sent: Sunday, September 10, 2006 4:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling Login Im trying to create a Login screen where I can save a user's session information, so I can retrieve that later and use it for some validations. Is there a way that I can save this info as a session that last even when the user closes the browser, and until he signs out? How would you recommend it should be handled? I'd love to see some examples if you have any. Thanks in advance! 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Controlling Position of mx.controls.Alert
Has anyone been able to get Alerts to center on anything other than the stage?The docs for the show() method document the 4th param as: parent:Sprite (default = null) Object upon which the Alert control centers itself.However, regardless what I pass on this param, the Alert window always centers itself on the stage.And when I create an instance of the Alert and trace(myAlert.parent) or go into debug and check the parent of the instance the following is always displayed: _AlertParentTest_mx_managers_SystemManager (where the application is (AlertParentTest.mxml) Is this a bug? Following is some sample test code I tried:?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="init();" mx:Script![CDATA[import mx.controls.Alert;private var myAlert:Alert = new Alert();private function init():void {myAlert=Alert.show( "init() executes Alert.show()","myAlert.parent:",Alert.OK,Button1);trace("myAlert.parent: "+ myAlert.parent); }]]/mx:Script mx:Canvas width="100%" height="100%"mx:Button label="Button1" id="Button1" click='myAlert=Alert.show( "Button1 Clicked","myAlert.parent:",Alert.OK,Button1);trace("myAlert.parent: "+ myAlert.parent);' left="0" top="0"/mx:Button label="Button2" id="Button2" click='myAlert=Alert.show( "Button2 Clicked","myAlert.parent:",Alert.OK,Button1);trace("myAlert.parent: "+ myAlert.parent);' right="0" bottom="0"//mx:Canvas/mx:Application All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. __._,_.___ -- 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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] How to prevent copying custom content into [bin] folder?
Right click the project in the Navigator Panel, select properties. Select the 'Flex Compiler' section on the left side. Unselect the 'copy non-embedded files to bin directory' option. Allthough it has been asked for during beta, there is no way to exlude a particular file or folder from being copied to the bin directory. So it's an 'all-or-nothing-at-all-thing'. Maybe in the next release, who knows.. regards, Muzak - Original Message - From: Mozilla By [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, September 10, 2006 6:29 PM Subject: [flexcoders] How to prevent copying custom content into [bin] folder? Hi, I have project structure like this: [Project] [Bin] Main.swf Main.html . [Docs] 1.doc 2.doc . [Html-template] . 1.mxml 2.mxml . Sometimes Flex copies folder [Docs] with all contents into folder [Bin] automatically. How can I prevent this? 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Error #2032 HTTPS IE only
It might be a problem with a self-signed certificate. You may need to update your computer to accept self-signed without prompting (I dont remember how to do that at the moment). If this isnt set no prompt will appear but no connection to the HTTPS destination will work either. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of vitopn Sent: Thursday, September 07, 2006 6:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error #2032 HTTPS IE only I am unable to get the SecureHTTPChannel to work in IE. In particular I'm trying to use the channel to connect to a set of dataservice destinations. I've experimented with my own client as well as with the flexcab sample. This is the error I get: [RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Ping.Failed error [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: https://localhost:8443/samples/messagebroker/httpsecure]] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent() at ::DataListRequestResponder/fault() at mx.rpc::AsyncRequest/fault() at mx.messaging::ChannelSet/::faultPendingSends() at mx.messaging::ChannelSet/channelFaultHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::Channel/mx.messaging:Channel::connectFailed() at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed() at mx.messaging.channels::HTTPChannel/::pingErrorHandler() at ::ChannelRequestLoader/::callEventCallback() at ::ChannelRequestLoader/::ioErrorHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() In each case all works well in firefox and IE works if I am using HTTPChannel instead of the SecureHTTPCHannel. I have tried using a self generated certificate and a trial certificate from verisign. For each certificate I also added the requiredcertificate to the CertificateAuthorities store so that I did not get any warnings in the browser. Is this a problem with self generated or trial certificates? Any information would be appreciated. Cheers, -Vito __._,_.___ -- 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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Deploying a Flex Application making rpc.remoting calls
Nope, you only need to deploy the SWF and HTML wrappers. Sounds like youre compiling using Flex Builder which may mean that its not pointing at the service-config.xml which I saw mentioned in some other posts recently. Make sure you your services-config compiler argument is set up (or that the flex-config.xml youre using has it set). Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of paromitadey Sent: Thursday, September 07, 2006 10:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Deploying a Flex Application making rpc.remoting calls Hello All, I am pretty new top flex and I am trying to develop a simple Flex application which makes RPC remote object calls using mx.rpc.remoting.RemoteObject ... The remote obect accesses a java object which in return sends a XML stream which is further received by the flex environment for populating datagrid, lists and other data driven controls. It runs fine when I make a http request call to the mxml file directly but when I try to run the application swf using the wrapper created by the builder itself. The remote object call it not functioning. For deploying flex application making remote object calls do we need to run and deploy the mxml file with all related actionscript files in the deployment environment? Please help. 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 SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Can someone help me understand this price info and what I get for it?
Per application means a conceptual application. Each one of our samples is an application. While the component explorer is made up of over 100 small application.mxml files it is still conceptually 1 application because its delivered through that one URL. So for departmental it doesnt matter how many CPUs you actually have, you are limited to 100 concurrent users across the whole cluster for a given application (section 3.1.2 in the EULA doesnt say per CPU it says per CPU group/cluster). If you want to support more than 100 concurrent users you will need to use the enterprise license. HTH, Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Brown Sent: Friday, September 08, 2006 4:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can someone help me understand this price info and what I get for it? Flex Data Services (Departmental license) : $6,000 per CPU, with a limit of 100 concurrent users per cluster Q3: How do you measure concurrent users in the Flex Data Services departmental license? A: Concurrent users will be counted by the number of unique IP connections to the CPU and/or CPU cluster We have two hardware load balanced servers both with two cpu's in them. They are not clustered in anyway. Does this mean I can have 200 concurrent users (100 for one server and 100 for the other server) because each server has 2 cpu's and is 12k each. Or does this mean that I can have 400 concurrent users (100 per cpu per box) so 2 cpus one server and 2 cpu's the other gives me 400? The EULA also reads: http://www.adobe.com/products/eulas/pdfs/AdobeFlexSDK-DataServices2_0.pdf#search=%22flex%20data%20services%20departmental%22 About 100 per application per cpu.. But this is beyond me. Any help. Thanks David __._,_.___ -- 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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Error #2032 HTTPS IE only
The simpliest way to test if that is the issue is to connect to some other resource, say a simple HTML page via HTTPS and see if you connect cleanly. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: It might be a problem with a self-signed certificate. You may need to update your computer to accept self-signed without prompting (I don't remember how to do that at the moment). If this isn't set no prompt will appear but no connection to the HTTPS destination will work either. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vitopn Sent: Thursday, September 07, 2006 6:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error #2032 HTTPS IE only I am unable to get the SecureHTTPChannel to work in IE. In particular I'm trying to use the channel to connect to a set of dataservice destinations. I've experimented with my own client as well as with the flexcab sample. This is the error I get: [RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Ping.Failed error [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2032: Stream Error. URL: https://localhost:8443/samples/messagebroker/httpsecure https://localhost:8443/samples/messagebroker/httpsecure ]] at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal: :dispatchFaultEvent() at ::DataListRequestResponder/fault() at mx.rpc::AsyncRequest/fault() at mx.messaging::ChannelSet/::faultPendingSends() at mx.messaging::ChannelSet/channelFaultHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven tFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::Channel/mx.messaging:Channel::connectFailed() at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChann el::connectFailed() at mx.messaging.channels::HTTPChannel/::pingErrorHandler() at ::ChannelRequestLoader/::callEventCallback() at ::ChannelRequestLoader/::ioErrorHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven tFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::redirectEvent() In each case all works well in firefox and IE works if I am using HTTPChannel instead of the SecureHTTPCHannel. I have tried using a self generated certificate and a trial certificate from verisign. For each certificate I also added the required certificate to the CertificateAuthorities store so that I did not get any warnings in the browser. Is this a problem with self generated or trial certificates? Any information would be appreciated. Cheers, -Vito -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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: Handling Login
Right. SharedObject is going to be the only way to do this. The problem is you cannot use the standard J2EE HttpSession object to store the session state because it is transient surviving only the like of the browser executable. You will need to persist this state off to some less transient storage like a database. When the user logs back in, you would read some opaque value (read GUID for instance) out of the SharedObject, then lookup the users state in the database and then store it into the transient HttpSession. Any changes to the session you will also have to manually persist off to the database (there are eventing hooks on the HttpSession so you could automate this). The user will need to log back in after a browser shutdown, but you could recover all state. Actually BTW this is a good way to handle lots of login/session business rules which arent easily supported via J2EE. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Stacy Young [EMAIL PROTECTED] wrote: Once all browser instances are closed you're pretty much stuck. (as with other web technologies) Without a session identifier to match up with on the server, there's no way to access that session data. You *could* store session data in a local shared object (flash cookie) and have your application read from that on startup to determine whether or not the user needs to be brought to a login page. Then when the user explicitly logs off you can nuke that shared object. Not the most secure approach though. Cheers, Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Sent: Sunday, September 10, 2006 4:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Handling Login Im trying to create a Login screen where I can save a user's session information, so I can retrieve that later and use it for some validations. Is there a way that I can save this info as a session that last even when the user closes the browser, and until he signs out? How would you recommend it should be handled? I'd love to see some examples if you have any. Thanks in advance! -- WARNING --- 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. AVIS IMPORTANT -- 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. -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] cairngorm: managing hundred of views
Hi there, My questions is theoretical and best practice oriented, I just wonder what is the best approach to manage hundreds of views since viewhelper/viewlocator is out of fashion. I was reading previous post but didn't find a good example or tutorial. Can anyone put some light on this? Sorry if some of you receive this post twice, I think the first once was moderated. Thanks in advance. Diego. -- 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] cairngorm: managing hundred of views
Good Question and I hope this thread gets a lot of posts. Personally I don't think that the modelLocator is always upto the job. Don't get me wrong, in a data-driven application this methodology is beautiful, But my feeling is it will not satisfy all requirements. For example, say you have about 100 view states that are loaded in and disposed of, at runtime, as required. I don't think the ModelLocator is up to the task. I think possibly a ViewManager of sorts is required that acts as a middle tier between the Views and the ModelLocator. I don't have any concrete classes to show an example of what I mean as I haven't developed such a solution as yet. But I am at the beginning of a project that will require such consideration. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Diego Guebel Sent: Monday, 11 September 2006 12:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cairngorm: managing hundred of views Hi there, My questions is theoretical and best practice oriented, I just wonder what is the best approach to manage hundreds of views since viewhelper/viewlocator is out of fashion. I was reading previous post but didn't find a good example or tutorial. Can anyone put some light on this? Sorry if some of you receive this post twice, I think the first once was moderated. Thanks in advance. Diego. -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] Localizing application
Hi there, Based on the flex documentation I have to compile one swf per each language, is that right? I'd like to be able to switch between languages during runtime. isn't that possible? Thanks, Diego. -- 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 2.0 logging
Dear Jeff, i have modifed the service-config.xml as below logging target class=flex.messaging.log.ConsoleTarget level=Debug properties prefix[Flex] /prefix includeDatefalse/includeDate includeTimefalse/includeTime includeLevelfalse/includeLevel includeCategorytrue/includeCategory /properties filters patternEndpoint.*/pattern patternService.*/pattern patternConfiguration/pattern patternMessage.*/pattern /filters /target /logging My application will call several httpservice on the starting of loading. However what i get in the flex.log is only 09/11 10:43:53 DEBUG configuration service started. 09/11 10:43:53 DEBUG logger services started. 09/11 10:44:00 DEBUG Loading configuration file /usr/local/tomcat/jakarta-tomcat-5.0.28/webapps/flex/WEB-INF/flex/flex-webtier-config.xml 09/11 10:44:00 DEBUG Loading configuration file /usr/local/tomcat/jakarta-tomcat-5.0.28/webapps/flex/WEB-INF/flex/flex-config.xml 09/11 10:44:01 DEBUG Initial setup: 350ms 09/11 10:44:01 DEBUG Loaded 10 SWCs: 740ms 09/11 10:44:10 DEBUG Files: 514 Time: 8293ms 09/11 10:44:10 DEBUG Linking... 99ms 09/11 10:44:11 DEBUG Optimizing... 767ms 09/11 10:44:11 DEBUG Total time: 10260ms 09/11 10:44:11 DEBUG SWF Encoding... 326ms even i have reload the tomcat . _ Have i do something wrong ? thx capho --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: On the client, this shows up if you just turn on the client side logging facility. You can do this by adding the MXML tag: mx:TraceTarget/ It then goes into the flashlog.txt which lives in %HOMEDRIVE%\%HOMEPATH% by default. A couple of other notes on flashlog.txt - it only shows up with the debug player and its location can be overridden if you have an mm.cfg in that folder which specifies a TraceOutputFileName property. If you are talking about server side logging using the FDS server, you go into WEB-INF/flex/services-config.xml, find the line which says level= and change that attributes value to Debug. Then make sure you have Message.* enabled as one of the patterns below. This logs a debug message in the app server's log file before and after each message processed by the server for each client. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Thursday, September 07, 2006 12:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex 2.0 logging Dear all, Can someone tell we that how i can get logging of the Httpservice result . I remember that i can find it in flex.log in Flex 1.5 after the config the xml file. But i dont know that i can do it in Flex 2.0 thx capho -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] How can I keep one component in front of all other components?
PopUpManager create pop-ups via SystemManager, which had a children list, and all DisplayObjectContainer( like SystemManager) has a setChildIndex() method to let you swap each child's depth, that's where you can start to implement. On 9/11/06, hastyarkxu [EMAIL PROTECTED] wrote: Hi,I want to keep one component always in front. It looks like the 'taskbar' in windows. no matter how many windows you opened, task bar isalways on top of all the windows.I want to keep it in front even the other components are poped up by the popup manager.What should I do then? (I think the z-order is useless because othercomponent is created by popup manager..)regards,Ark-- 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/ __._,_.___ -- 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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Using Auth.cfc from CF Wizard
Returning true/false to flex, like you are doing, tells Flash that the authentication was successful and to do what ever you want to do next at the client. However, with the code you have youhaven't told CF the user is authenticated. So if you made some other call that requires roles based security in CF it would fail. What you want to do is add a CFLOGIN tag to the method. hth, --nimer something like this: cffunction name="login" access="remote" returntype=" boolean"cfargument name="user" required="yes" /cfargument name="password" required="yes" /cfset var qRead=""cfquery name="qRead" datasource=" tiomkin" SELECT UserName, UserPassword FROM USERS WHERE UserName = cfqueryparam cfsqltype="CF_ SQL_VARCHAR" value="#arguments. user#" / AND UserPassword = cfqueryparam cfsqltype="CF_ SQL_VARCHAR" value="#arguments. password# " //cfquery cflogin cfloginuser name="#arguments.user#" password="#arguments.password#" roles="authenticatedUser"/ /cflogin cfif qRead.recordcount gt 0 cfreturn true cfelse cfreturn false /cfif/cffunction - Original Message From: envidobi [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Saturday, September 9, 2006 2:09:32 AMSubject: [flexcoders] Using Auth.cfc from CF Wizard Hi all,Does anyone have a working example of auth.cfc (the file that getsgenerated when using the CF Wizard? I thought the code below would besufficient but its still not working. Any suggestions?CODE:AUTH.CFC:cffunction name="login" access="remote" returntype=" boolean"cfargument name="user" required="yes" /cfargument name="password" required="yes" /cfset var qRead=""cfquery name="qRead" datasource=" tiomkin"SELECT UserName, UserPasswordFROM USERSWHERE UserName = cfqueryparam cfsqltype="CF_ SQL_VARCHAR"value="#arguments. user#" /AND UserPassword = cfqueryparam cfsqltype="CF_ SQL_VARCHAR"value="#arguments. password# " //cfquerycfif qRead.recordcount gt 0cfreturn truecfelsecfreturn false/cfif/cffunctionLOGIN.MXML:?xml version="1.0" encoding="utf- 8"?mx:Form xmlns:mx="http://www.adobe. com/2006/ mxml" xmlns="*"width="100%" height="100% " creationComplete= "initApp( )"mx:Metadata[Event("forgotpassw ord")] [Event("loginSucces sful")] /mx:Metadatamx:Script![CDATA[import mx.events.Validatio nResultEvent;import mx.rpc.events. ResultEvent;import mx.rpc.events. FaultEvent;import mx.utils.ObjectUtil ;import mx.controls. Alert;private var lso:SharedObject;private function initApp():void{this.lso = SharedObject. getLocal( "auth");if( this.lso.data[ 'email'] != null ){this.user.text = this.lso.data[ 'email'];this.rememberLogin. selected = true;}if( this.lso.data[ 'password' ] != null ){this.password. text = this.lso.data[ 'password' ];this.rememberLogin. selected = true;}}private function isValid():Boolean{var pswdValidResult: ValidationResult Event =this.pswdValidate. validate( this.password. text);if (pswdValidResult. type==Validation ResultEvent. VALID) {return true; }else{return false; }} private function authenticateUser( ):void{if( isValid() ){authManager. login( this.user.text, this.password. text); }} private function errorMessage( msg:String) :void{//Alert.show( ObjectUtil.toString (event.message) );this.errorMsg. text = msg;this.errorMsg. height = 15;this.errorMsg. visible = true;} private function serverFault( event:FaultEvent ):void{errorMessage( event.message[ 'message' ]);} private function login_result( event:ResultEven t):void{// login successful, remember the user.if( Boolean(event. result) ){if( this.rememberLogin. selected ){this.lso.data[ 'user'] = this.user.text;this.lso.data[ 'password' ] = this.password. text; }else{this.lso.data[ 'user'] = null;this.lso.data[ 'password' ] = null; }this.dispatchEvent( new Event('loginSuccess ful') );}else{// login didn't work. show messageerrorMessage( "Login unsuccessful" ); }}]]/mx:Scriptmx:RemoteObject id="authManager" destination= "ColdFusion" source="Tiomkin. Tiomkin_Admin. components. cfgenerated. managers. Auth" showBusyCursor= "true"mx:method name="login" result="login_ result(event) "fault="serverFault( event)" //mx:RemoteObject mx:StringValidator id="pswdValidate" source="{this. password} " property="text" required="true" /mx:Text id="errorMsg" visible="true" color="red" width="100%" height="0" /mx:FormItem width="100%" label="UserName" required="true" mx:TextInput id="user" width="175"/ /mx:FormItemmx:FormItem width="100%" label="Password" required="true" mx:TextInput id="password" displayAsPassword= "true" width="175"/ /mx:FormItemmx:FormItemmx:CheckBox id="rememberLogin" label="Remember Login"selected="false" //mx:FormItemmx:VBox width="100%" horizontalAlign= "right"mx:Button label="Login" click="authenticate User();"/ mx:LinkButton label="Forgot Password?" click="this. dispatchEvent( new Event('forgotpasswo rd'));"fontStyle="italic" width="150" textAlign="right" //mx:VBox /mx:FormThanks in advance,David __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
[flexcoders] Re: cairngorm: managing hundred of views
With views, the main thing to keep in mind is directory organization. Respectfully, I have a few differing ideas, than Steven, when it comes to views. But at Cairngorm's current iteration, all state == model (local and common). Organize the actual view classes in functional directory groups; for easy identification. In the ModelLocator, bind the state of the views accordingly. With hundreds of views, you will probably want to subclass the ModelLocator, into functional groups, to aid in organization. Ultimately, it boils down to each application's requirements. For me, I just try to keep things as simple and maintainable as possible; even when endless local state variables tend to clutter and complicate the ModelLocator. I'm calling this model happy. :) -TH --- In flexcoders@yahoogroups.com, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Good Question and I hope this thread gets a lot of posts. Personally I don't think that the modelLocator is always upto the job. Don't get me wrong, in a data-driven application this methodology is beautiful, But my feeling is it will not satisfy all requirements. For example, say you have about 100 view states that are loaded in and disposed of, at runtime, as required. I don't think the ModelLocator is up to the task. I think possibly a ViewManager of sorts is required that acts as a middle tier between the Views and the ModelLocator. I don't have any concrete classes to show an example of what I mean as I haven't developed such a solution as yet. But I am at the beginning of a project that will require such consideration. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Diego Guebel Sent: Monday, 11 September 2006 12:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cairngorm: managing hundred of views Hi there, My questions is theoretical and best practice oriented, I just wonder what is the best approach to manage hundreds of views since viewhelper/viewlocator is out of fashion. I was reading previous post but didn't find a good example or tutorial. Can anyone put some light on this? Sorry if some of you receive this post twice, I think the first once was moderated. Thanks in advance. Diego. -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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/