[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] get ComboBox selected item with RemoteObject
Hi, How can we get an item selected in a ComboxBox when it's coming from a RemoteObject? my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:RemoteObject id=toitureObject source=EEwizard3.G.toit_nf mx:method name=affichage result=resultHandler(event.result) mx:arguments zoneID1/zoneID /mx:arguments /mx:method /mx:RemoteObject mx:Script ![CDATA[ var iniVal:Object; function resultHandler(result){ iniVal = result; } ]] /mx:Script mx:Model id=typeToitureModel toiture type labelType I/label data3300/data /type type labelType II/label data3301/data /type type labelType III/label data3302/data /type /toiture /mx:Model mx:Button label=Get Data click=getdata();/ mx:ComboBox dataProvider={typeToitureModel.toiture.type} value=3302 selectedItem={???}/ /mx:Application Thanks -- 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] get ComboBox selected item with RemoteObject
You could loop thru the dataprovider of your combo and compare to whatever your current value for that field isthen set the combos selected index. HTH, Stace (not tested) var iniVal:Object; function resultHandler(result){ iniVal = result; var dp = comboboxId.dataProvider; for(var i:Number=0; i dp.length; i++){ if( dp[i].data == remoteCallResultValueHere ){ comboboxId.selectedIndex = i; break; } } } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard Sent: Sunday, July 17, 2005 3:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] get ComboBox selected item with RemoteObject Hi, How can we get an item selected in a ComboxBox when it's coming from a RemoteObject? my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:RemoteObject id=toitureObject source=EEwizard3.G.toit_nf mx:method name=affichage result=resultHandler(event.result) mx:arguments zoneID1/zoneID /mx:arguments /mx:method /mx:RemoteObject mx:Script ![CDATA[ var iniVal:Object; function resultHandler(result){ iniVal = result; } ]] /mx:Script mx:Model id=typeToitureModel toiture type labelType I/label data3300/data /type type labelType II/label data3301/data /type type labelType III/label data3302/data /type /toiture /mx:Model mx:Button label=Get Data click=getdata();/ mx:ComboBox dataProvider={typeToitureModel.toiture.type} value=3302 selectedItem={???}/ /mx:Application Thanks -- 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] get ComboBox selected item with RemoteObject
Hi Use a function to do your selection mx:ComboBox dataProvider={typeToitureModel.toiture.type} value=3302 creationComplete=doSelection(event)/ function doSelection( event : Object ) : Void { var comboBoxID = event.target; // In my case I always prefer to keep first element in Combo Box as PLEASE SELECT label. comboBoxID.addItemAt(0,Please Select, ); comboBoxID.selectedIndex = 0; } Thanks, Shahnavaz From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard Sent: Sunday, July 17, 2005 12:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] get ComboBox selected item with RemoteObject Hi, How can we get an item selected in a ComboxBox when it's coming from a RemoteObject? my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:RemoteObject id=toitureObject source=EEwizard3.G.toit_nf mx:method name=affichage result=resultHandler(event.result) mx:arguments zoneID1/zoneID /mx:arguments /mx:method /mx:RemoteObject mx:Script ![CDATA[ var iniVal:Object; function resultHandler(result){ iniVal = result; } ]] /mx:Script mx:Model id=typeToitureModel toiture type labelType I/label data3300/data /type type labelType II/label data3301/data /type type labelType III/label data3302/data /type /toiture /mx:Model mx:Button label=Get Data click=getdata();/ mx:ComboBox dataProvider={typeToitureModel.toiture.type} value=3302 selectedItem={???}/ /mx:Application 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 Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS #61607; Visit your group flexcoders on the web. #61607; To unsubscribe from this group, send an email to: [EMAIL PROTECTED] #61607; Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- 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: RE. [flexcoders] get ComboBox selected item with RemoteObject
The selection in my ComboBox is saved in a database. When I want to come back to that ComboBox (in an other session), I want to get back to the previously saved selected item. --- In flexcoders@yahoogroups.com, shahnavaza [EMAIL PROTECTED] wrote: Hi Use a function to do your selection mx:ComboBox dataProvider={typeToitureModel.toiture.type} value=3302 creationComplete=doSelection(event)/ function doSelection( event : Object ) : Void { var comboBoxID = event.target; // In my case I always prefer to keep first element in Combo Box as PLEASE SELECT label. comboBoxID.addItemAt(0,Please Select, ); comboBoxID.selectedIndex = 0; } Thanks, Shahnavaz From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard Sent: Sunday, July 17, 2005 12:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] get ComboBox selected item with RemoteObject Hi, How can we get an item selected in a ComboxBox when it's coming from a RemoteObject? my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:RemoteObject id=toitureObject source=EEwizard3.G.toit_nf mx:method name=affichage result=resultHandler(event.result) mx:arguments zoneID1/zoneID /mx:arguments /mx:method /mx:RemoteObject mx:Script ![CDATA[ var iniVal:Object; function resultHandler(result){ iniVal = result; } ]] /mx:Script mx:Model id=typeToitureModel toiture type labelType I/label data3300/data /type type labelType II/label data3301/data /type type labelType III/label data3302/data /type /toiture /mx:Model mx:Button label=Get Data click=getdata();/ mx:ComboBox dataProvider={typeToitureModel.toiture.type} value=3302 selectedItem={???}/ /mx:Application 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 Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS #61607; Visit your group flexcoders on the web. #61607; To unsubscribe from this group, send an email to: [EMAIL PROTECTED] #61607; Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- 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] Axis server exceptions and Flex.
Title: Mercury Email Signature Hi i know this is a question more suitable for Axis forum but we are all working with the same tools so maybe someone knows. The problem: when there is a server method exception Axis sends a faultcode of "Server.userException" in the SOAP response to the flex client and the actual class and stack trace in the faultstring. According to Axis docs if you throw an Exception which inherit from RemoteException than Axis will put the class name in the fault code field , see http://ws.apache.org/axis/java/user-guide.html#Exceptions. but unfortunately this did not work for me , i triedthrowing RemoteException and throwing a child of RemoteException but no luck. The need to distinguish between exceptions isobvious , we need to format a nice message according to the real exception happened on the server. we are about to build our own result object that will have an error code in it , but wanted to check if thereis a nicer formal way of changing the faultcode in the SOAP response. do you have any idea ? thanks Shlomi __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- 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.
[flexcoders] Rich Text Editor Component, someone have it?
Thanks... -- 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] Rich Text Editor Component, someone have it?
Closest you'll get for now: http://www.flashtexteditor.com/in.php - Original Message - From: Bruno Martins To: flexcoders@yahoogroups.com Sent: Sunday, July 17, 2005 4:32 PM Subject: [flexcoders] Rich Text Editor Component, someone have it? Thanks... -- 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] how to control antialiased text in flex?
hai thanks. I have a little confusion. ur mail says that antialiasing is not posible with lfex but when i searched in the live docs for this it says antialiasing is by default set to true.. what does that mean? its confusing... could you please explain? is antialiasing possible or not possible with flex? thanks nithyaMatt Horn [EMAIL PROTECTED] wrote: Not to my knowledge, but you can do a couple of things to get around it. - don't embed any fonts - use a text input field -- Flash never aliases font in them - change the style to a device font for areas where you want to use non-anti-aliased fonts hth, matt horn flex docs From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nithya RSent: Thursday, July 14, 2005 6:34 AMTo: flexcodersSubject: [flexcoders] how to control antialiased text in flex? hai is there any possibility for controlling antiakiased text in flex? say switching on/off? thanks nithya Send instant messages to your online friends http://uk.messenger.yahoo.com --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Send instant messages to your online friends http://uk.messenger.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 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.