Re: [flexcoders] NaN
On 8/2/05, Ghislain Simard [EMAIL PROTECTED] wrote: The following condition doesn't see the NaN...why ? and how to make the condition working? if (myField == NaN){ dosomething; } Use this: if (isNaN(myField)) ... There's some interesting things about NaN. See this post, for example: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05593.html Manish Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hntv9bv/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122972206/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Performace please some suggestion
Hi, if you can see my code, work fine ok, but when flex go to render the performance it's very very slow. 1) Before this function i call a AMF response it's very fast 2) Some other flex component are rendered very fast. About you, this is a bad approach? can you give some better solution Thank's devis function Init_Taglie() { dgmisure.removeAllColumns(); myColumn= new DataGridColumn(); myColumn.headerText = Stato; myColumn.width=50; myColumn.columnName=strecz; dgmisure.addColumn(myColumn); myColumn =new DataGridColumn(); myColumn.headerText = Descrizione; myColumn.width=150; myColumn.labelFunction=mx.utils.Delegate.create(this,getDsc_Misura); dgmisure.addColumn(myColumn); myColumn =new DataGridColumn(); myColumn.headerText = Calo; myColumn.width=50; myColumn.labelFunction=mx.utils.Delegate.create(this,getTipo_Calo); dgmisure.addColumn(myColumn); for(var row=0;rowmx.core.Application.application.taglie.length;row++) { myColumn= new DataGridColumn(); myColumn.headerText = mx.core.Application.application.taglie[row]; myColumn.width=50; myColumn.columnName=ma+(row+1)+cz; dgmisure.addColumn(myColumn); } } Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsgbt8n/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122977600/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] setFocus is evil
Title: Loading mxml Components Found that function getFocusManager() that makes it work quite well ;) ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" creationComplete="myInit()"mx:Scriptfunction myInit(){//http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11231.htmlvar fm = getFocusManager();fm.setFocus(testText);Selection.setSelection(0,testText.text.length)}/mx:Scriptmx:TextInput id="testText" text="hello world"/mx:TextInput/mx:Application Found in mail archives: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11231.html Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, DustinSent: mardi 2 août 2005 5:03To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] setFocus is evil GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them. Ok got it. You have to use the selection object. Here is the code (Straight from Flash MX 204 LiveDocs http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1659.html ) : this.createTextField("myText_txt", 99, 10, 10, 200, 30); myText_txt.text = "this is my text"; Selection.setFocus("myText_txt"); Selection.setSelection(0, 3); Hope this helps J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, DustinSent: Monday, August 01, 2005 7:54 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] setFocus is evil Stacy, I have had this problem as well L I am sad to say, I hate the focus manager. Ok that was a little harsh. but none the less, it has its' issues. There is a way to set the position of the caret though (Set the start index of the caret as well as the end, so you can choose the text you wish to be highlighted). I am going to try to find that code. In the mean time, you may want to try setFocus in the show event or childrenCreated event. That may fix your issue. If not, then the code for setting the caret position may help. I will find that code and post it. Give me a few. Dustin Mercer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy YoungSent: Monday, August 01, 2005 7:03 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] setFocus is evil Tiny problem but it's still driving me nuts. I've got a viewstack that's changed based on a users selection. Each time a container within that stack is viewed an initialization script is run to populate form elements. At the end of the process I'm using setFocus to, well, focus on the first textinput field. The problem is the selection on the textinput field is the length of the previous value for that field. So if the current value of the textinput is "abc" and the model changes to "abcdef".When the setFocus executes it's only highlighting from a to c Hope that was clear, 'tis late. Thx Stace -- 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. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
RE: [flexcoders] setFocus is evil
Title: Loading mxml Components This was first thing I triedit doesnt work properly because the text length it determines is that of the previous text. The textinput is bound to a data modelthe model changes, then setFocus is called. (as well as setSelection or any other things Ive tried) -Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Tuesday, August 02, 2005 12:51 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] setFocus is evil Old skool way was to use the text name. You can use the built in setFocus, which originally was just a wrapper to Selection.setFocus. As for setSelection: Selection.setSelection(0, myText_txt.length); That always has to occur after setFocus, not before. - Original Message - From: Mercer, Dustin To: flexcoders@yahoogroups.com Sent: Monday, August 01, 2005 11:03 PM Subject: RE: [flexcoders] setFocus is evil Ok got it. You have to use the selection object. Here is the code (Straight from Flash MX 204 LiveDocs http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1659.html ) : this.createTextField(myText_txt, 99, 10, 10, 200, 30); myText_txt.text = this is my text; Selection.setFocus(myText_txt); Selection.setSelection(0, 3); Hope this helps J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mercer, Dustin Sent: Monday, August 01, 2005 7:54 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] setFocus is evil Stacy, I have had this problem as well L I am sad to say, I hate the focus manager. Ok that was a little harsh but none the less, it has its issues. There is a way to set the position of the caret though (Set the start index of the caret as well as the end, so you can choose the text you wish to be highlighted). I am going to try to find that code. In the mean time, you may want to try setFocus in the show event or childrenCreated event. That may fix your issue. If not, then the code for setting the caret position may help. I will find that code and post it. Give me a few Dustin Mercer From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young Sent: Monday, August 01, 2005 7:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] setFocus is evil Tiny problem but its still driving me nuts. Ive got a viewstack thats changed based on a users selection. Each time a container within that stack is viewed an initialization script is run to populate form elements. At the end of the process Im using setFocus to, well, focus on the first textinput field. The problem is the selection on the textinput field is the length of the previous value for that field. So if the current value of the textinput is abc and the model changes to abcdefWhen the setFocus executes its only highlighting from a to c Hope that was clear, tis late Thx Stace -- 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] headerClass
According to the API docs: http://livedocs.macromedia.com/flex/15/asdocs_en/index.html headerClass: Function A reference to the class used to create the navigation buttons for each child. Read-only? Maybe someone else will know more. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Pruitt Sent: Tuesday, August 02, 2005 11:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] headerClass The FlexBuilder tag insector shows for Accordion an attribute called headerClass. I can't find any documentation for this attribute. Does anyone know what its for? -Steve Pruitt -- 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] setFocus is evil
Title: Loading mxml Components When is your initialize command firing, in the init event of the component? Can you try this? Will this not work in your situation? Granted what you have done should work but timing can be a pain. function initialize() { name.text = ModelLocator.field.languageDetails[0].label; } function childrenCreated() //or function show() { Selection.setFocus(formItem); } ]] /mx:Script mx:Text id=name width=100% autoSize=true styleName=fieldName / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Tuesday, August 02, 2005 8:34 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] setFocus is evil p.s. tried doLater as well. No go From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Tuesday, August 02, 2005 10:01 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] setFocus is evil Semi-pseudo codeIve attached two pics, before and after to highlight whats going oneven if I explicitly call setSelection using the text length to determine positionsits referencing the previous text value so calculations are wrong. function initialize() { name.text = ModelLocator.field.languageDetails[0].label; Selection.setFocus(formItem); } ]] /mx:Script mx:Text id=name width=100% autoSize=true styleName=fieldName / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Tuesday, August 02, 2005 9:49 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] setFocus is evil This was first thing I triedit doesnt work properly because the text length it determines is that of the previous text. The textinput is bound to a data modelthe model changes, then setFocus is called. (as well as setSelection or any other things Ive tried) -Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, August 02, 2005 12:51 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] setFocus is evil Old skool way was to use the text name. You can use the built in setFocus, which originally was just a wrapper to Selection.setFocus. As for setSelection: Selection.setSelection(0, myText_txt.length); That always has to occur after setFocus, not before. - Original Message - From: Mercer, Dustin To: flexcoders@yahoogroups.com Sent: Monday, August 01, 2005 11:03 PM Subject: RE: [flexcoders] setFocus is evil Ok got it. You have to use the selection object. Here is the code (Straight from Flash MX 204 LiveDocs http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004file=1659.html ) : this.createTextField(myText_txt, 99, 10, 10, 200, 30); myText_txt.text = this is my text; Selection.setFocus(myText_txt); Selection.setSelection(0, 3); Hope this helps J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin Sent: Monday, August 01, 2005 7:54 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] setFocus is evil Stacy, I have had this problem as well L I am sad to say, I hate the focus manager. Ok that was a little harsh but none the less, it has its issues. There is a way to set the position of the caret though (Set the start index of the caret as well as the end, so you can choose the text you wish to be highlighted). I am going to try to find that code. In the mean time, you may want to try setFocus in the show event or childrenCreated event. That may fix your issue. If not, then the code for setting the caret position may help. I will find that code and post it. Give me a few Dustin Mercer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacy Young Sent: Monday, August 01, 2005 7:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] setFocus is evil Tiny problem but its still driving me nuts. Ive got a viewstack thats changed based on a users selection. Each time a container within that stack is viewed an initialization script is run to populate form elements. At the end of the process Im using setFocus to, well, focus on the first textinput field. The problem is the selection on the textinput field is the length of the previous value for that field. So if the current value of the textinput is abc and the model changes to abcdefWhen the setFocus executes its only highlighting from a to c Hope that was clear, tis late Thx Stace -- 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
RE: [flexcoders] My XML with MXML.
You are going to have to have some middle tier to create, read, update and delete data on the server. If you are not familiar with Java of CF, Id say avoid RemoteObjects. Web services can also be a bit complicated. The easiest way to access data on the server is by using HTTPService. You still need to choose a server-side environment to process your data calls. Technology Pros/Cons jsp Runs in same container as Flex, requires some Java. Database access not easy I have some simple examples. Asp.net Needs Visual Studio environment, the Dot.Net Framework. My current preference. Asp Needs IIS, use _vbscript_ and ADO, probably simplest. I have an example There may be others. Make a choice, and we will go from there. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ahmed Sent: Tuesday, August 02, 2005 9:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] My XML with MXML. Good day to you. Thank you so much for all replies on my emails. With all your comments, and replies, and ideas .. I made a good steps in my project. As you can see in my ZIP file, I could create a XML database, and connect it to my Flex MXML page, so I can read data from it. I would like to ask you please, if you have any ideas, about how to build a MXML page to POST and Replace data in the XML file. Should this be related to (.Java and .Class) files or not ? What is the easiest way to create the page mentioning that I always have problems with compiling the (.Java) files? Note: I only started working on Flex since less than a month, and I am trying so hardly to learn it quickly and professionally, so I really appreciate your help. Looking forward to hearing from you. Best regards for all of you, Ahmed A. -- 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 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] Performace please some suggestion
I have found the dynamically building DataGrid columns is very slow as well. If you do not need sortable, resizable columns, you might try a custom cell renderer in a List, instead of a DataGrid. You might want to test this under the new FlashPlayer 8 beta. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of devis Sent: Tuesday, August 02, 2005 4:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Performace please some suggestion Hi, if you can see my code, work fine ok, but when flex go to render the performance it's very very slow. 1) Before this function i call a AMF response it's very fast 2) Some other flex component are rendered very fast. About you, this is a bad approach? can you give some better solution Thank's devis function Init_Taglie() { dgmisure.removeAllColumns(); myColumn= new DataGridColumn(); myColumn.headerText = Stato; myColumn.width=50; myColumn.columnName=strecz; dgmisure.addColumn(myColumn); myColumn =new DataGridColumn(); myColumn.headerText = Descrizione; myColumn.width=150; myColumn.labelFunction=mx.utils.Delegate.create(this,getDsc_Misura); dgmisure.addColumn(myColumn); myColumn =new DataGridColumn(); myColumn.headerText = Calo; myColumn.width=50; myColumn.labelFunction=mx.utils.Delegate.create(this,getTipo_Calo); dgmisure.addColumn(myColumn); for(var row=0;rowmx.core.Application.application.taglie.length;row++) { myColumn= new DataGridColumn(); myColumn.headerText = mx.core.Application.application.taglie[row]; myColumn.width=50; myColumn.columnName=ma+(row+1)+cz; dgmisure.addColumn(myColumn); } } -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h1dmp43/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123009855/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] Flash testing? iOpus Regressiong Suite?
There was an article in sdtimes regarding iopus for testing flash apps. Has anyone used this? http://iopus.com/iim/ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h6ee89f/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123010611/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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] CHART + CONTEXTMENU : Create a ContextMenu according to a chart
One quick observation, mouseOverData={ setDispatchingOptions( event ) } The curly braces are not necessary here. It should be: mouseOverData=setDispatchingOptions( event ) You are not trying to declare a binding there, just telling the flex compiler to create something like the following statement: ccChartOneColumn.mouseOverData = function(event){ setDispatchingOptions( event ); }; And regarding the context menu... have you searched the list for a click and hold context menu? Last year I created one that works just like the one you trigger by holding the pen on a pocket PC. It gives you more control on the result, as you can draw anything you like. I believe others have done the same and made it public. Good Luck, Aldo On 8/2/05, david_gal-reyniez [EMAIL PROTECTED] wrote: Hi, I try to implement a ContextMenu for different charts I generate thanks to a Repeater. For this I face with 2 problems : - Generate the right menu - Get the relative data on which I click into the chart Thanks for your ideas about this problem. I have also 1 question: - Is there any method allowing me to open the ContextMenu but not only with a right-click? ___ MXML File mx:ColumnChart id=ccChartOneColumn styleName=chart height=160 width=100% minWidth=500 dataProvider={ arrCharts[rpCharts.currentIndex].chartData } mouseOverData={ setDispatchingOptions( event ) } // Method which must create the right Menu, but only with a left-click on the chart before a right_click showDataTips=true ___ METHOD public function setDispatchingOptions( event ) { // Alert.show(typeof(event.target) : + typeof(event.target), __Message__, Alert.OK); // typeof(event.target) = movieclip so event.target.menu should run, shouldn't? var index:Number = event.target.instanceIndex; var itemArray:Array = new Array(); var boolArray:Array = new Array(); switch (index) { according to the case I define both arraies' values : itemArray and boolArray } var chartMenu = new ContextMenu(); chartMenu.hideBuiltInItems(); chartMenu.builtInItems.forward_back = false; // and so on chartMenu.builtInItems.loop = false; chartMenu.builtInItems.print = false; chartMenu.builtInItems.quality = false; chartMenu.builtInItems.rewind = false; chartMenu.builtInItems.save = false; chartMenu.builtInItems.zoom = false; Alert.show(chartMenu.builtInItems.loop : + chartMenu.builtInItems.loop, __Message__, Alert.OK); for (var i:Number=0; iitemArray.length; i++) { var item:ContextMenuItem = new ContextMenuItem(itemArray[i], openTheDetailsPanel, boolArray[i]); chartMenu.customItems.push(item); } mx.core.Application.application.menu = chartMenu; // I get a Menu but I logically need to click on the graph to update the items. // event.target.menu = chartMenu; // It doesn't work } Thank you so much for all replies on my mails! David ** Coface facilite les echanges entre les entreprises partout dans le monde. Pour cela, elle offre a toutes les entreprises des solutions pour gerer, financer et proteger leur poste client, en leur permettant d'externaliser tout ou partie de la gestion et des risques lies a leurs relations commerciales. Coface est notee AA par Fitch Ratings et Aa3 par Moody's. Pour en savoir plus, http://www.coface.fr Coface facilitates business-to-business commerce worldwide. It offers all size companies an array of solutions to manage, finance, and protect their accounts receivables affording them the option of fully or partly outsourcing trade relationship management and attendant risks. Coface is rated AA by Fitch ratings and Aa3 by Moody's. More about Coface, http://www.coface.com WARNING : - Soyez conscient que notre systeme Anti-Spam peut parfois rejeter des messages, soit parce que certains mots et types de fichiers ne sont pas acceptes, ou bien parce que le mail n'a pas ete identifie correctement. - Be aware that from time to time our Anti-Spam system may reject mails either because some words and types of files are not allowed or because mails are misidentified. ** -- 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
[flexcoders] Input formatting
Title: Loading mxml Components Hello All Anybody figure out to to-do input formatting: Exam: I want to save a phone number as 9991234567 But I want it to appear on input: (999) 123-4567 Any help would be appreciated JT -- 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. To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com
[flexcoders] Accordions hide underneath the buttom ControlBar
Is there a way to prevent the ControlBar to hide some accordion stacks when the browser is resized. Thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsfhnqb/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123013246/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Input formatting
Take a look at the phone formatter! http://livedocs.macromedia.com/flex/15/asdocs_en/mx/formatters/PhoneFormatter.html On 8/2/05, James [EMAIL PROTECTED] wrote: Hello All Anybody figure out to to-do input formatting: Exam: I want to save a phone number as 9991234567 But I want it to appear on input: (999) 123-4567 Any help would be appreciated JT -- 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. To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h3msic8/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123014260/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Input formatting
James wrote: Hello All Anybody figure out to to-do input formatting: Exam: I want to save a phone number as 9991234567 But I want it to appear on input: (999) 123-4567 Any help would be appreciated http://www.darronschall.com/downloads/fti.swf This component will be available as part of the IFBIN service. I've built a FormattedTextInput component (for both Flash and Flex) that allows you to specify a format mask, and it will restrict the user's input so that it matches the mask. Valid format 'input placeholder' characters: # - any digit (0-9) a - lowercase letter A - uppercase letter Z - any letter * - any letter or digit Example usage: my_ti.format = (###) ### - ; Then, to get the value of out it, use: my_ti.value - that will return just the input that matches the input placeholders, ie in the scernario about, .value will just be 10 digits (with formatting removed). If you set the .text property of the component, it will automatically format it as well: my_ti.text = 555999; // will display according to the format If you want this as a Flex component, you'll have to wait until Flex by Example ships. The Flash component was part of my talk on Extending Components at Flash in the Can in april. You can also either find my Flash source and tweak it to work with Flex, or hope someone else builds it for you.. but these are the types of high-quality examples and useful code snippets that you'll see in Flex by Example. ;-) -d Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h53s047/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123014254/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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] Accordions hide underneath the buttom ControlBar
ControlBar shouldn't hide anything defined inside the panel. Can you post your testfile. Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard Sent: Tuesday, August 02, 2005 11:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accordions hide underneath the buttom ControlBar Is there a way to prevent the ControlBar to hide some accordion stacks when the browser is resized. Thanks Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsfhnqb/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP= 1123013246/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12ht4upej/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123014563/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] Accordions hide underneath the buttom ControlBar
Hee is the main paert of the file: mx:Panel id=viewPanel width=100% height=100% horizontalAlign=center mx:ViewStack id=vsl width=100% height=100% selectedIndex=0 historyManagement=true creationPolicy=queued change={setNewTitle()} EEfrm:SiteBatimentFrm projectID={projID} id=SiteBatimentFrm/ EEfrm:AutresInfoBatimentFrm projectID={projID} id=AutresInfoBatimentFrm/ EEfrm:RepresentantAutoriseFrm id=RepresentantAutoriseFrm/ EEfrm:ProprietaireBatimentFrm id=ProprietaireBatimentFrm/ EEfrm:ArchitecteFrm id=ArchitecteFrm/ EEfrm:IngenieurFrm id=IngenieurFrm/ EEfrm:TechnologueFrm id=TechnologueFrm/ EEfrm:SimulateurFrm id=SimulateurFrm/ EEfrm:MursExtPEBCFrm id=MursExtPEBCFrm / EEfrm:FenestrationPEBCFrm id=FenestrationPEBCFrm / !--EEfrm:ToiturePEBCFrm id=ToiturePEBCFrm / -- EEfrm:EclairagePEBCFrm id=EclairagePEBCFrm / EEfrm:CuissonPEBCFrm id=CuissonPEBCFrm / EEfrm:EvacuaPEBCFrm id=EvacuaPEBCFrm / EEfrm:CVCAPEBCFrm id=CVCAPEBCFrm / EEfrm:RegulationPEBCFrm id=RegulationPEBCFrm / EEfrm:General_PEBCFrm projectID={projID} id=General_PEBCFrm/ EEfrm:CVCARegulation id=CVCARegulation/ EEfrm:CVCACommentaires id=CVCACommentaires/ EEfrm:CVCANouveauSysteme id=CVCANouveauSysteme/ EEfrm:CVCAChofageFrm id=CVCAChofageFrm/ EEfrm:CVCARefroidissementFrm id=CVCARefroidissementFrm/ EEfrm:CVCAVentilationFrm id=CVCAVentilationFrm/ EEfrm:CVACResultatsAppuiFinancierFrm id=CVACResultatsAppuiFinancierFrm/ EEfrm:HQSiteBatimentFrm id=HQSiteBatimentFrm/ EEfrm:HQAutresInformationsBatimentFrm id=HQAutresInformationsBatimentFrm/ EEfrm:HQGeneralFrm id=HQGeneralFrm/ EEfrm:CentralThermFrm id=CentralThermFrm/ EEfrm:CentralThermChaudiereFrm projectID={projID} id=CentralThermChaudiereFrm / EEfrm:CentralThermRefroidisseurFrm id=CentralThermRefroidisseurFrm / EEfrm:CentralThermPompeChaleurSurBoucleFrm projectID={projID} id=CentralThermPompeChaleurSurBoucleFrm / EEfrm:CentralThermTourRefroidissementFrm projectID={projID} id=CentralThermTourRefroidissementFrm / EEfrm:CentralThermRegulation projectID={projID} id=CentralThermRegulation / EEfrm:CentralThermRefroid projectID={projID} id=CentralThermRefroid / EEfrm:CVCA_Gestion id=CVCA_Gestion/ EEfrm:zone_hallPEBC projectID={projID} id=zone_hallPEBC zoneGenID={zoneGenID} target={this}/ EEfrm:zone_hallMainPEBC id=zone_hallMainPEBC/ EEfrm:zone_chambresPEBC id=zone_chambresPEBC/ EEfrm:zone_corridorsPEBC id=zone_corridorsPEBC/ EEfrm:zone_salleReceptionPEBC id=zone_salleReceptionPEBC/ EEfrm:zone_salleConferencesPEBC id=zone_salleConferencesPEBC/ EEfrm:zone_salleMangerPEBC id=zone_salleMangerPEBC/ EEfrm:zone_cuisinePEBC id=zone_cuisinePEBC/ EEfrm:zone_buanderiePEBC id=zone_buanderiePEBC/ EEfrm:zone_receptionPEBC id=zone_receptionPEBC/ EEfrm:zone_vestiairesPEBC id=zone_vestiairesPEBC/ EEfrm:zone_piscinePEBC id=zone_piscinePEBC/ EEfrm:zone_gymnasePEBC id=zone_gymnasePEBC/ EEfrm:zone_barsSalonsPEBC id=zone_barsSalonsPEBC/ EEfrm:zone_stationnementPEBC id=zone_stationnementPEBC/ EEfrm:Resultats id=Resultats/ EEfrm:zone_hallMainHQ id=zone_hallMainHQ/ EEfrm:HQRegulationFrm id=HQRegulationFrm/ EEfrm:HQMesuresEfficaciteEnergetiqueFrm id=HQMesuresEfficaciteEnergetiqueFrm/ EEfrm:CVCA_main id=CVCA_main/
RE: [flexcoders] NaN
Is there an equivalent for undefined? if (isUndefined(myField))??? Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Manish Jethani Sent: Tuesday, August 02, 2005 2:42 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] NaN On 8/2/05, Ghislain Simard [EMAIL PROTECTED] wrote: The following condition doesn't see the NaN...why ? and how to make the condition working? if (myField == NaN){ dosomething; } Use this: if (isNaN(myField)) ... There's some interesting things about NaN. See this post, for example: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05593.html Manish -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hbu190t/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123015673/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] NaN
if (myField == undefined) { //... } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Tuesday, August 02, 2005 2:47 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] NaN Is there an equivalent for undefined? if (isUndefined(myField))??? Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Manish Jethani Sent: Tuesday, August 02, 2005 2:42 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] NaN On 8/2/05, Ghislain Simard [EMAIL PROTECTED] wrote: The following condition doesn't see the NaN...why ? and how to make the condition working? if (myField == NaN){ dosomething; } Use this: if (isNaN(myField)) ... There's some interesting things about NaN. See this post, for example: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05593.html Manish -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12he2evq1/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123016616/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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] NaN Undefined
That's what I did...but I have this message in my debugger: the variable myField is required but was not passed in. and yes in the Call, I can see it as undefined. Why it is not goinf throughtout my condition?? Here is the info that I received: The Call: MethodName: EEWizard3.cf.therRegu_nf.sauvegarde Parameters (object #2) .[0] (object #3) ..modeRegulationTourRefroidissement: (undefined) The Status: tatus (object #2) .code: Server.Processing .description: The parameter MODEREGULATIONTOURREFROIDISSEMENT to function sauvegarde is required but was not passed in. .details: .level: error .type: .rootcause (object #3) ..code: (undefined) ..description: The parameter MODEREGULATIONTOURREFROIDISSEMENT to function sauvegarde is required but was not passed in. ..details: ..level: error ..type: The code: creation.modeRegulationTourRefroidissement = modeRegulationTourRefroidissement.selectedData; if (modeRegulationTourRefroidissement == undefined){ modeRegulationTourRefroidissement.selectedData = 0; }else{ creation.modeRegulationTourRefroidissement = modeRegulationTourRefroidissement.selectedData; } Message in my Debugger: Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Geoffrey Williams Sent: Tuesday, August 02, 2005 3:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] NaN if (myField == undefined) { //... } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Tuesday, August 02, 2005 2:47 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] NaN Is there an equivalent for undefined? if (isUndefined(myField))??? Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Manish Jethani Sent: Tuesday, August 02, 2005 2:42 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] NaN On 8/2/05, Ghislain Simard [EMAIL PROTECTED] wrote: The following condition doesn't see the NaN...why ? and how to make the condition working? if (myField == NaN){ dosomething; } Use this: if (isNaN(myField)) ... There's some interesting things about NaN. See this post, for example: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05593.html Manish -- 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 -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hrphoh8/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123017395/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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] NaN Undefined
hi, For consistency, I always use the core typeof() function. I have a CoreUtil class with some static constants that hold the strings. CoreUtil.TYPE_NUMBER; // string: number CoreUtil.TYPE_UNDEFINED; // string: undefined etc... usage: if ( typeof( myNumber ) === CoreUtil.TYPE_NUMBER ) if ( typeof( myNumber ) === CoreUtil.TYPE_UNDEFINED ) of course you could also do something like: if ( typeof( myNumber ) === number ) But then any typo would make this fail silently on runtime. Using constants allows you to take advantage of the compile time checking. I recommend you settle for one and only one way to do type checking / comparison, as it is a recurrent source of bugs. Best, Aldo On 8/2/05, Simard, Ghislain [EMAIL PROTECTED] wrote: That's what I did...but I have this message in my debugger: the variable myField is required but was not passed in. and yes in the Call, I can see it as undefined. Why it is not goinf throughtout my condition?? Here is the info that I received: The Call: MethodName: EEWizard3.cf.therRegu_nf.sauvegarde Parameters (object #2) .[0] (object #3) ..modeRegulationTourRefroidissement: (undefined) The Status: tatus (object #2) .code: Server.Processing .description: The parameter MODEREGULATIONTOURREFROIDISSEMENT to function sauvegarde is required but was not passed in. .details: .level: error .type: .rootcause (object #3) ..code: (undefined) ..description: The parameter MODEREGULATIONTOURREFROIDISSEMENT to function sauvegarde is required but was not passed in. ..details: ..level: error ..type: The code: creation.modeRegulationTourRefroidissement = modeRegulationTourRefroidissement.selectedData; if (modeRegulationTourRefroidissement == undefined){ modeRegulationTourRefroidissement.selectedData = 0; }else{ creation.modeRegulationTourRefroidissement = modeRegulationTourRefroidissement.selectedData; } Message in my Debugger: Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Geoffrey Williams Sent: Tuesday, August 02, 2005 3:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] NaN if (myField == undefined) { //... } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Tuesday, August 02, 2005 2:47 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] NaN Is there an equivalent for undefined? if (isUndefined(myField))??? Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile 613-996-9416 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Manish Jethani Sent: Tuesday, August 02, 2005 2:42 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] NaN On 8/2/05, Ghislain Simard [EMAIL PROTECTED] wrote: The following condition doesn't see the NaN...why ? and how to make the condition working? if (myField == NaN){ dosomething; } Use this: if (isNaN(myField)) ... There's some interesting things about NaN. See this post, for example: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05593.html Manish -- 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 -- 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 -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- font face=arial size=-1a
[flexcoders] databinding question
Quick question...why are these different: merlin:ReportingDatesPanel width=100% height=100% portfolio={selectedPortfolio} / Versus: mainContent.createChild(ReportingDatesPanel, , {width: 100%, height: 100%, portfolio: selectedPortfolio}); When the selectedPortfolio object changes in the main app with the MXML in first example above, the custom component recognizes the change in the selectedPortfolio object and performs the correct action. If I have the main application dynamically create the custom component with the code in the 2nd example above, if the selectedPortfolio object changes, the dynamically created custom component does not see that change and none of the actions that I want to take place, actually take place. Im guessing this is a databinding issueam I supposed to set the portfolio attribute differently to catch changes in this object when dynamically creating the custom component? Any help is greatly appreciated. Thanks, Rob robert l. brueckmann senior web developer merlin securities 595 madison avenue new york, ny 10022 p: 212.822.4821 f: 212.822.4820 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- 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 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] FlashPlayer 8 beta and scriptTimeLimit
Title: FlashPlayer 8 beta and scriptTimeLimit Below is an app that uses a loop to cause the scriptTimeLimit timeout. The limit is set at 600, which should be about ten minutes. Under FP7 this works fine, but under FP8 it still times out at a minute. Note that settings smaller than the default 60 work correctly. Also, this app will crash my browser. Set the time limit to something small like 15 At the prompt select abort Refresh the browser Click the loop script button On my system the browser disappears ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml scriptTimeLimit=600 backgroundColor=#FF horizontalAlign=left width=400 height=400 mx:Script![CDATA[ private function testTimeout():Void { var iNum:Number = 0; for ( var i:Number=0; i1; i++ ) { iNum += i; }//for ( var i:Number=0; alert(DONE: + iNum) } ]]/mx:Script mx:Label text=scriptTimeLimit is set to 600 / mx:Button label=testTimeout click=testTimeout()/ /mx:Application From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz Sent: Monday, August 01, 2005 11:21 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit Tracy, Can you please create a sample mxml file reproducing this case? I will also try to reproduce at my end and co-ordinate Flash Player team to get it fixed. Thanks -abdul From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Thursday, July 28, 2005 11:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit FP8 seems to not be honoring my ScriptTimeLimit setting. Same SWF, probably even locally cached, since I just installed the player, then restarted my app. I will see if anything changes this behavior. BTW, it appears to be about 30% faster on this ridiculously intense AS process. Tracy -- 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 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] Accordions hide underneath the buttom ControlBar
It seems like if there are many accordion tabs and you resize the window smaller to such an extent that all the accordion tabs cannot be displayed inside the panel then accordion headers goes behind the panel header or controlbar instead of showing scrollbars. This is definitely a bug and I'll log it in the Flex bugbase. I believe very few users will encounter this issue but thanks for finding it. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simard, Ghislain Sent: Tuesday, August 02, 2005 11:40 AM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Accordions hide underneath the buttom ControlBar Hee is the main paert of the file: mx:Panel id=viewPanel width=100% height=100% horizontalAlign=center mx:ViewStack id=vsl width=100% height=100% selectedIndex=0 historyManagement=true creationPolicy=queued change={setNewTitle()} EEfrm:SiteBatimentFrm projectID={projID} id=SiteBatimentFrm/ EEfrm:AutresInfoBatimentFrm projectID={projID} id=AutresInfoBatimentFrm/ EEfrm:RepresentantAutoriseFrm id=RepresentantAutoriseFrm/ EEfrm:ProprietaireBatimentFrm id=ProprietaireBatimentFrm/ EEfrm:ArchitecteFrm id=ArchitecteFrm/ EEfrm:IngenieurFrm id=IngenieurFrm/ EEfrm:TechnologueFrm id=TechnologueFrm/ EEfrm:SimulateurFrm id=SimulateurFrm/ EEfrm:MursExtPEBCFrm id=MursExtPEBCFrm / EEfrm:FenestrationPEBCFrm id=FenestrationPEBCFrm / !-- EEfrm:ToiturePEBCFrm id=ToiturePEBCFrm / -- EEfrm:EclairagePEBCFrm id=EclairagePEBCFrm / EEfrm:CuissonPEBCFrm id=CuissonPEBCFrm / EEfrm:EvacuaPEBCFrm id=EvacuaPEBCFrm / EEfrm:CVCAPEBCFrm id=CVCAPEBCFrm / EEfrm:RegulationPEBCFrm id=RegulationPEBCFrm / EEfrm:General_PEBCFrm projectID={projID} id=General_PEBCFrm/ EEfrm:CVCARegulation id=CVCARegulation/ EEfrm:CVCACommentaires id=CVCACommentaires/ EEfrm:CVCANouveauSysteme id=CVCANouveauSysteme/ EEfrm:CVCAChofageFrm id=CVCAChofageFrm/ EEfrm:CVCARefroidissementFrm id=CVCARefroidissementFrm/ EEfrm:CVCAVentilationFrm id=CVCAVentilationFrm/ EEfrm:CVACResultatsAppuiFinancierFrm id=CVACResultatsAppuiFinancierFrm/ EEfrm:HQSiteBatimentFrm id=HQSiteBatimentFrm/ EEfrm:HQAutresInformationsBatimentFrm id=HQAutresInformationsBatimentFrm/ EEfrm:HQGeneralFrm id=HQGeneralFrm/ EEfrm:CentralThermFrm id=CentralThermFrm/ EEfrm:CentralThermChaudiereFrm projectID={projID} id=CentralThermChaudiereFrm / EEfrm:CentralThermRefroidisseurFrm id=CentralThermRefroidisseurFrm / EEfrm:CentralThermPompeChaleurSurBoucleFrm projectID={projID} id=CentralThermPompeChaleurSurBoucleFrm / EEfrm:CentralThermTourRefroidissementFrm projectID={projID} id=CentralThermTourRefroidissementFrm / EEfrm:CentralThermRegulation projectID={projID} id=CentralThermRegulation / EEfrm:CentralThermRefroid projectID={projID} id=CentralThermRefroid / EEfrm:CVCA_Gestion id=CVCA_Gestion/ EEfrm:zone_hallPEBC projectID={projID} id=zone_hallPEBC zoneGenID={zoneGenID} target={this}/ EEfrm:zone_hallMainPEBC id=zone_hallMainPEBC/ EEfrm:zone_chambresPEBC id=zone_chambresPEBC/ EEfrm:zone_corridorsPEBC id=zone_corridorsPEBC/ EEfrm:zone_salleReceptionPEBC id=zone_salleReceptionPEBC/ EEfrm:zone_salleConferencesPEBC id=zone_salleConferencesPEBC/ EEfrm:zone_salleMangerPEBC id=zone_salleMangerPEBC/ EEfrm:zone_cuisinePEBC id=zone_cuisinePEBC/ EEfrm:zone_buanderiePEBC id=zone_buanderiePEBC/ EEfrm:zone_receptionPEBC id=zone_receptionPEBC/ EEfrm:zone_vestiairesPEBC
RE: [flexcoders] databinding question
Nevermind, I just found a past post from Matt saying databinding can only be done from MXML right now and not programmatically. Sorry for the post! robert l. brueckmann senior web developer merlin securities 595 madison avenue new york,ny 10022 p: 212.822.4821 f: 212.822.4820 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann Sent: Tuesday, August 02, 2005 4:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding question Quick question...why are these different: merlin:ReportingDatesPanel width=100% height=100% portfolio={selectedPortfolio} / Versus: mainContent.createChild(ReportingDatesPanel, , {width: 100%, height: 100%, portfolio: selectedPortfolio}); When the selectedPortfolio object changes in the main app with the MXML in first example above, the custom component recognizes the change in the selectedPortfolio object and performs the correct action. If I have the main application dynamically create the custom component with the code in the 2nd example above, if the selectedPortfolio object changes, the dynamically created custom component does not see that change and none of the actions that I want to take place, actually take place. Im guessing this is a databinding issueam I supposed to set the portfolio attribute differently to catch changes in this object when dynamically creating the custom component? Any help is greatly appreciated. Thanks, Rob robert l. brueckmann senior web developer merlin securities 595 madison avenue new york, ny 10022 p: 212.822.4821 f: 212.822.4820 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- 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] Passing variables into an alert handler
How about simple passing the parameters like: Alert(... ..., Delegate.create(this, this.alertHandler('apples','Bar')); And in your alertHandler(myVar,myFoo), you can get the values of your parameters. Does this answer your question? Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman Sent: Tuesday, August 02, 2005 9:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing variables into an alert handler I'm trying to pass variables into the Delegate that I have run during an alert. Here is the code I currently have: alert(Delete record?, Alert, mx.controls.Alert.OK | mx.controls.Alert.CANCEL, Delegate.create(this, this.alertHandler), mx.controls.Alert.CANCEL); I would like to be able to pass variables into the alertHandler, i.e.: Alert(... ..., Delegate.create(this, this.alertHandler({ myVar:'apples', myFoo:'Bar' }); This works... but the problem is that the 'event' is no longer passed. Trying to add 'myEvent:event' to that object doesn't work, as I get an error returned saying 'event' doesn't exist. Is there a way to pass variables using the method above while still capturing the event details? /*** * Jeff Beeman * Digital Media Instructional Technologies * Arizona State University ***/ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hn4jb9f/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123006875 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12htq29fs/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123024998/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Problem passing action script VOs using an array
I am having a problem passing action script VOs to the backend using an Array. Can someone tell me what I am missing here... Here is an example of what I am trying to do: First I get an array of VOs from the backend public function onResult(event:Object) : Void { var infoArray : Array = event.result; . . . } Then later I call the backend and pass back the array of VOs and this DOESN'T work because I get a class cast exception... public function saveUserInfo(userInfoArray : Array) : Void { var call:Object = service.save(userInfoArray); } However, if I do the same thing, but create an array of new VOs and transfer all the values, this DOES work public function saveUserInfo(userInfoArray : Array) : Void { var infoArray : Array = new Array(); for (var i in userInfoArray) { var userIfno : UserInfoVO = new UserInfoVO(); userIfno.oid = userInfoArray[i].oid; userIfno.name = userInfoArray[i].activityId; infoArray .addItem(activity); var call:Object = service.save(infoArray); } I don't understand exactly what the problem is here, can anyone give insight to this issue? Thanks, Dave -- 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 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] Passing variables into an alert handler
I just reread your question and it seems like you already got that part which I have mentioned in my previous post. About the passing of events, I tried adding event as the 3rd parameter and getting the event.target value but it returns blank. Somebody on the flexcodes who have played around with events should be able to answer your question.. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Tuesday, August 02, 2005 2:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Passing variables into an alert handler How about simple passing the parameters like: Alert(... ..., Delegate.create(this, this.alertHandler('apples','Bar')); And in your alertHandler(myVar,myFoo), you can get the values of your parameters. Does this answer your question? Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman Sent: Tuesday, August 02, 2005 9:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing variables into an alert handler I'm trying to pass variables into the Delegate that I have run during an alert. Here is the code I currently have: alert(Delete record?, Alert, mx.controls.Alert.OK | mx.controls.Alert.CANCEL, Delegate.create(this, this.alertHandler), mx.controls.Alert.CANCEL); I would like to be able to pass variables into the alertHandler, i.e.: Alert(... ..., Delegate.create(this, this.alertHandler({ myVar:'apples', myFoo:'Bar' }); This works... but the problem is that the 'event' is no longer passed. Trying to add 'myEvent:event' to that object doesn't work, as I get an error returned saying 'event' doesn't exist. Is there a way to pass variables using the method above while still capturing the event details? /*** * Jeff Beeman * Digital Media Instructional Technologies * Arizona State University ***/ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hn4jb9f/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123006875 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12htq29fs/M=362329.6886308.7 839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123024998 /A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?p age_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font -- --~- -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hsc3iup/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123025860/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Accessing HTTPService protected by Form-based authentication
I am trying to access a set of mxml and HTTPServices that are protected by form-based authentication. I have had 'limited' success by passing the jsessionid for the mxml page to the HTTPService (similar to the method outlined in http://weblogs.macromedia.com/eanderson/archives/2004/12/session_access.cfm#more but using ActionScript rather than a jsp), but this does not feel like the right way to go. Has anyone done this or could suggest a possible framework for handling it? Thanks in advance ...Col Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h8hanuj/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123025901/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Problem passing action script VOs using an array
HI, first, there are some typos in your code infoArray .addItem(activity); var userIfno : UserInfoVO = new UserInfoVO(); second, check that the received array has correctly casted objects (UserInfoVO ), perhaps you don't have if correctly configured. Note that the second time you are not relying on flex to do the correct casting. On 8/2/05, Shahnavaz Alware [EMAIL PROTECTED] wrote: I am having a problem passing action script VOs to the backend using an Array. Can someone tell me what I am missing here... Here is an example of what I am trying to do: First I get an array of VOs from the backend public function onResult(event:Object) : Void { var infoArray : Array = event.result; . . . } Then later I call the backend and pass back the array of VOs and this DOESN'T work because I get a class cast exception... public function saveUserInfo(userInfoArray : Array) : Void { var call:Object = service.save(userInfoArray); } However, if I do the same thing, but create an array of new VOs and transfer all the values, this DOES work public function saveUserInfo(userInfoArray : Array) : Void { var infoArray : Array = new Array(); for (var i in userInfoArray) { var userIfno : UserInfoVO = new UserInfoVO(); userIfno.oid = userInfoArray[i].oid; userIfno.name = userInfoArray[i].activityId; infoArray .addItem(activity); var call:Object = service.save(infoArray); } I don't understand exactly what the problem is here, can anyone give insight to this issue? Thanks, Dave -- 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 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. -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hp5s752/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123026696/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] databinding question
Its probably because of the way they are instantiated. dispatchEvent() is a mix-in from UIEventDispatcher. You might try adding ChangeEvent to the component once it is created. Just a thought. Hey, Im at 11 Madison Ave. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann Sent: Tuesday, August 02, 2005 4:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding question Quick question...why are these different: merlin:ReportingDatesPanel width=100% height=100% portfolio={selectedPortfolio} / Versus: mainContent.createChild(ReportingDatesPanel, , {width: 100%, height: 100%, portfolio: selectedPortfolio}); When the selectedPortfolio object changes in the main app with the MXML in first example above, the custom component recognizes the change in the selectedPortfolio object and performs the correct action. If I have the main application dynamically create the custom component with the code in the 2nd example above, if the selectedPortfolio object changes, the dynamically created custom component does not see that change and none of the actions that I want to take place, actually take place. Im guessing this is a databinding issueam I supposed to set the portfolio attribute differently to catch changes in this object when dynamically creating the custom component? Any help is greatly appreciated. Thanks, Rob robert l. brueckmann senior web developer merlin securities 595 madison avenue new york, ny 10022 p: 212.822.4821 f: 212.822.4820 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- 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] Dispatch event problem
Hi, I am having problem with dispatch event. I have a titlewindow (UpdateMarketRequest) from where one click of a button I open another window (findOrders) which contains a datagring with a button cell renderer which on click I dispatch and event. In UpdateMarketRequest script file I have popup = mx.managers.PopUpManager.createPopUp(this, FindEtsOrders, false, {deferred: true, mrId:this.mrId}); popup.addEventListener(orderSavedEvent, this); function orderSavedEvent(event) { mx.controls.Alert.show(DeleteWindow); popup.deletePopUp(); } In findOrders I have mx:DataGrid id=EtsOrderResults dataProvider={mx.utils.ArrayUtil.toArray(findEtsOrdersId.result.EtsOrders.EtsOrdersRow)} height=100% width=100% toolTip=Ets Orders borderStyle=solid hScrollPolicy=on editable=false vScrollPolicy=on sortableColumns=true mx:columns mx:Array mx:DataGridColumn columnName=OrderNumber headerText=ORDER NUMBER fontSize=10 sortable=true textAlign=left width=150 marginLeft=20/ mx:DataGridColumn columnName=OrderName headerText=ORDER NAME fontSize=10 sortable=true textAlign=left width=625 marginLeft=20/ mx:DataGridColumn columnName=OrderStatus headerText=ORDER STATUS fontSize=10 sortable=true textAlign=left width=125 marginLeft=20/ mx:DataGridColumn columnName=OrderId headerText= marginLeft=4 fontSize=10 cellRenderer=AddOrderToMRButtonRenderer/ /mx:Array /mx:columns /mx:DataGrid And in the AddOrderToMRButtonRenderer cell renderer function successfullyAdded(event) { mx.core.Application.alert(Order Added ); dispatchEvent({type:'orderSavedEvent'}) } I do not think the event is sent.. since I do not see the alert from UpdateMarketRequest ...orderSavedEvent method. what am I doing wrong? Can I not dispatch from a cellrendere? thanx in advance Rajesh J Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hg9h3n9/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123028007/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] databinding question
Hi, Databinding is a special beast in flex, and is set up in mxml-as compiling The compiler needs the metadata to figure out what events it has to listen to for each property (or perhaps just use getters setters). It then sets up a complex mechanism of watchers and stuff to make binding happen. This is the reason why it is only supported in mxml for now. If you want the same functionality on runtime you have some choices: - use the old flash binding api ( not possible I assume ) - create your own - wait for as2lib's future release. I'll be donating a quite powerful databinding framework soon (well, not that soon if work keeps me this busy ) it is flex compatible, supports chains and different types of watchers. Best, Aldo PD: Sorry for the delay Simon, I've been busy as hell at work. On 8/2/05, Rob Rusher [EMAIL PROTECTED] wrote: It's probably because of the way they are instantiated. dispatchEvent() is a mix-in from UIEventDispatcher. You might try adding ChangeEvent to the component once it is created. Just a thought. Hey, I'm at 11 Madison Ave. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann Sent: Tuesday, August 02, 2005 4:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding question Quick question...why are these different: merlin:ReportingDatesPanel width=100% height=100% portfolio={selectedPortfolio} / Versus: mainContent.createChild(ReportingDatesPanel, , {width: 100%, height: 100%, portfolio: selectedPortfolio}); When the selectedPortfolio object changes in the main app with the MXML in first example above, the custom component recognizes the change in the selectedPortfolio object and performs the correct action. If I have the main application dynamically create the custom component with the code in the 2nd example above, if the selectedPortfolio object changes, the dynamically created custom component does not see that change and none of the actions that I want to take place, actually take place. I'm guessing this is a databinding issue…am I supposed to set the portfolio attribute differently to catch changes in this object when dynamically creating the custom component? Any help is greatly appreciated. Thanks, Rob robert l. brueckmann senior web developer merlin securities 595 madison avenue new york, ny 10022 p: 212.822.4821 f: 212.822.4820 This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- 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. -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h7uikql/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123028146/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] *
RE: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit
Title: FlashPlayer 8 beta and scriptTimeLimit Thanks Tracy, I will get back to you. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Wednesday, August 03, 2005 2:31 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit Below is an app that uses a loop to cause the scriptTimeLimit timeout. The limit is set at 600, which should be about ten minutes. Under FP7 this works fine, but under FP8 it still times out at a minute. Note that settings smaller than the default 60 work correctly. Also, this app will crash my browser. Set the time limit to something small like 15 At the prompt select abort Refresh the browser Click the loop script button On my system the browser disappears ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" scriptTimeLimit="600" backgroundColor="#FF" horizontalAlign="left" width="400" height="400" mx:Script![CDATA[ private function testTimeout():Void { var iNum:Number = 0; for ( var i:Number=0; i1; i++ ) { iNum += i; }//for ( var i:Number=0; alert("DONE: " + iNum) } ]]/mx:Script mx:Label text="scriptTimeLimit is set to 600" / mx:Button label="testTimeout" click="testTimeout()"/ /mx:Application From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul QabizSent: Monday, August 01, 2005 11:21 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit Tracy, Can you please create a sample mxml file reproducing this case? I will also try to reproduce at my end and co-ordinate Flash Player team to get it fixed. Thanks -abdul From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy SprattSent: Thursday, July 28, 2005 11:42 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FlashPlayer 8 beta and scriptTimeLimit FP8 seems to not be honoring my ScriptTimeLimit setting. Same SWF, probably even locally cached, since I just installed the player, then restarted my app. I will see if anything changes this behavior. BTW, it appears to be about 30% faster on this ridiculously intense AS process. Tracy -- 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] Dispatch event problem
I am not very sure because I have not looked at complete code, but I have doubt that event handling is not done proper way or there are scope issues. You are dispatching event from button's handler, there could be scope issues. The idea is that, event handler can be subscribed from the object which dispatches event. I see, you are dispatching the event from cellRenderer and subscribing event from popup. Please check these things. Just for confirmation, do the following change in UpdateMarketRequest and check. popup = mx.managers.PopUpManager.createPopUp(this, FindEtsOrders, false, {deferred: true, mrId:this.mrId}); popup.addEventListener(orderSavedEvent, mx.utils.Delegate.create(this, orderSavedEvent)); function orderSavedEvent(event) { mx.controls.Alert.show(DeleteWindow); popup.deletePopUp(); } -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan Sent: Wednesday, August 03, 2005 3:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dispatch event problem Hi, I am having problem with dispatch event. I have a titlewindow (UpdateMarketRequest) from where one click of a button I open another window (findOrders) which contains a datagring with a button cell renderer which on click I dispatch and event. In UpdateMarketRequest script file I have popup = mx.managers.PopUpManager.createPopUp(this, FindEtsOrders, false, {deferred: true, mrId:this.mrId}); popup.addEventListener(orderSavedEvent, this); function orderSavedEvent(event) { mx.controls.Alert.show(DeleteWindow); popup.deletePopUp(); } In findOrders I have mx:DataGrid id=EtsOrderResults dataProvider={mx.utils.ArrayUtil.toArray(findEtsOrdersId.result.EtsOrde rs.EtsOrdersRow)} height=100% width=100% toolTip=Ets Orders borderStyle=solid hScrollPolicy=on editable=false vScrollPolicy=on sortableColumns=true mx:columns mx:Array mx:DataGridColumn columnName=OrderNumber headerText=ORDER NUMBER fontSize=10 sortable=true textAlign=left width=150 marginLeft=20/ mx:DataGridColumn columnName=OrderName headerText=ORDER NAME fontSize=10 sortable=true textAlign=left width=625 marginLeft=20/ mx:DataGridColumn columnName=OrderStatus headerText=ORDER STATUS fontSize=10 sortable=true textAlign=left width=125 marginLeft=20/ mx:DataGridColumn columnName=OrderId headerText= marginLeft=4 fontSize=10 cellRenderer=AddOrderToMRButtonRenderer/ /mx:Array /mx:columns /mx:DataGrid And in the AddOrderToMRButtonRenderer cell renderer function successfullyAdded(event) { mx.core.Application.alert(Order Added ); dispatchEvent({type:'orderSavedEvent'}) } I do not think the event is sent.. since I do not see the alert from UpdateMarketRequest ...orderSavedEvent method. what am I doing wrong? Can I not dispatch from a cellrendere? thanx in advance Rajesh 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h00bni9/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123028871/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: Dispatch event problem
Hi, That change did not help, This might be because my listener is to the popupwindow and not the cellrenderer, the event dispatched from there is never consumed by my listener. If this is the case how can I over come this? my FLow My App -- UpdateMarketRequest(window) -- findOrders(window) -- AddOrderToMRButtonRenderer(button cell render) The listener is in UpdateMarketRequest (since I need to close findOrders) The event is dispatched from AddOrderToMRButtonRenderer. Regards Rajesh J --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: I am not very sure because I have not looked at complete code, but I have doubt that event handling is not done proper way or there are scope issues. You are dispatching event from button's handler, there could be scope issues. The idea is that, event handler can be subscribed from the object which dispatches event. I see, you are dispatching the event from cellRenderer and subscribing event from popup. Please check these things. Just for confirmation, do the following change in UpdateMarketRequest and check. popup = mx.managers.PopUpManager.createPopUp(this, FindEtsOrders, false, {deferred: true, mrId:this.mrId}); popup.addEventListener(orderSavedEvent, mx.utils.Delegate.create(this, orderSavedEvent)); function orderSavedEvent(event) { mx.controls.Alert.show(DeleteWindow); popup.deletePopUp(); } -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan Sent: Wednesday, August 03, 2005 3:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dispatch event problem Hi, I am having problem with dispatch event. I have a titlewindow (UpdateMarketRequest) from where one click of a button I open another window (findOrders) which contains a datagring with a button cell renderer which on click I dispatch and event. In UpdateMarketRequest script file I have popup = mx.managers.PopUpManager.createPopUp(this, FindEtsOrders, false, {deferred: true, mrId:this.mrId}); popup.addEventListener(orderSavedEvent, this); function orderSavedEvent(event) { mx.controls.Alert.show(DeleteWindow); popup.deletePopUp(); } In findOrders I have mx:DataGrid id=EtsOrderResults dataProvider={mx.utils.ArrayUtil.toArray(findEtsOrdersId.result.EtsOrde rs.EtsOrdersRow)} height=100% width=100% toolTip=Ets Orders borderStyle=solid hScrollPolicy=on editable=false vScrollPolicy=on sortableColumns=true mx:columns mx:Array mx:DataGridColumn columnName=OrderNumber headerText=ORDER NUMBER fontSize=10 sortable=true textAlign=left width=150 marginLeft=20/ mx:DataGridColumn columnName=OrderName headerText=ORDER NAME fontSize=10 sortable=true textAlign=left width=625 marginLeft=20/ mx:DataGridColumn columnName=OrderStatus headerText=ORDER STATUS fontSize=10 sortable=true textAlign=left width=125 marginLeft=20/ mx:DataGridColumn columnName=OrderId headerText= marginLeft=4 fontSize=10 cellRenderer=AddOrderToMRButtonRenderer/ /mx:Array /mx:columns /mx:DataGrid And in the AddOrderToMRButtonRenderer cell renderer function successfullyAdded(event) { mx.core.Application.alert(Order Added ); dispatchEvent({type:'orderSavedEvent'}) } I do not think the event is sent.. since I do not see the alert from UpdateMarketRequest ...orderSavedEvent method. what am I doing wrong? Can I not dispatch from a cellrendere? thanx in advance Rajesh 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12haamta9/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123030075/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] XML as dataprovider : Changes to unknown property, childNodes, will not be detected.
I am using a Remote object that returns a string in a XML format, and converting this string to XML by using XMLStr = new XML(Str) I then use XMLStr as dataProvider in a Tree. mx:Tree labelFunction=lblFuncCode dataProvider={XMLStr.firstChild.childNodes} /mx:Tree. The results are displaying OK, but I get a warning message: Changes to unknown property, childNodes, will not be detected I think I understand that this means that if I change XMLStr that change will not be reflected on my Tree. I read this data at the beginning and I don't expect the data to change. This is mainly a look-up. How can I avoid this warning? --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hljdccj/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123032241/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Input formatting
I will have to admit, it's the closest I've seen, but when I went to the link, it reversed the numbers in the area code. Thanks for the ideas though JT -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darron J. Schall Sent: Tuesday, August 02, 2005 2:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Input formatting James wrote: Hello All Anybody figure out to to-do input formatting: Exam: I want to save a phone number as 9991234567 But I want it to appear on input: (999) 123-4567 Any help would be appreciated http://www.darronschall.com/downloads/fti.swf This component will be available as part of the IFBIN service. I've built a FormattedTextInput component (for both Flash and Flex) that allows you to specify a format mask, and it will restrict the user's input so that it matches the mask. Valid format 'input placeholder' characters: # - any digit (0-9) a - lowercase letter A - uppercase letter Z - any letter * - any letter or digit Example usage: my_ti.format = (###) ### - ; Then, to get the value of out it, use: my_ti.value - that will return just the input that matches the input placeholders, ie in the scernario about, .value will just be 10 digits (with formatting removed). If you set the .text property of the component, it will automatically format it as well: my_ti.text = 555999; // will display according to the format If you want this as a Flex component, you'll have to wait until Flex by Example ships. The Flash component was part of my talk on Extending Components at Flash in the Can in april. You can also either find my Flash source and tweak it to work with Flex, or hope someone else builds it for you.. but these are the types of high-quality examples and useful code snippets that you'll see in Flex by Example. ;-) -d -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hnqti2h/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123032250/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Input formatting
This works really well for a formatted a display, but not for input, the input is in/out from a web service is there something I can do about binding the data and using the format() function you have to check the data before sending/displaying the data? JT -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: Tuesday, August 02, 2005 2:24 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Input formatting Take a look at the phone formatter! http://livedocs.macromedia.com/flex/15/asdocs_en/mx/formatters/PhoneFormatte r.html On 8/2/05, James [EMAIL PROTECTED] wrote: Hello All Anybody figure out to to-do input formatting: Exam: I want to save a phone number as 9991234567 But I want it to appear on input: (999) 123-4567 Any help would be appreciated JT -- 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. To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. federal tax advice contained in this document (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein. This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hbgmh02/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123032256/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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] End key: Known bug?
I just noticed that in text input controls and editable combo boxes pressing the HOME key works fine, but pressing the END key moves the cursor BEFORE the last character, not after it. Is this a known bug? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hi5hh01/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123033898/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] databinding question
Gotchya on both accounts! Thanks for the feedback guys! robert l. brueckmann senior web developer merlin securities 595 madison avenue new york, ny 10022 p: 212.822.4821 f: 212.822.4820 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: Tuesday, August 02, 2005 6:16 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] databinding question Hi, Databinding is a special beast in flex, and is set up in mxml-as compiling The compiler needs the metadata to figure out what events it has to listen to for each property (or perhaps just use getters setters). It then sets up a complex mechanism of watchers and stuff to make binding happen. This is the reason why it is only supported in mxml for now. If you want the same functionality on runtime you have some choices: - use the old flash binding api ( not possible I assume ) - create your own - wait for as2lib's future release. I'll be donating a quite powerful databinding framework soon (well, not that soon if work keeps me this busy ) it is flex compatible, supports chains and different types of watchers. Best, Aldo PD: Sorry for the delay Simon, I've been busy as hell at work. On 8/2/05, Rob Rusher [EMAIL PROTECTED] wrote: It's probably because of the way they are instantiated. dispatchEvent() is a mix-in from UIEventDispatcher. You might try adding ChangeEvent to the component once it is created. Just a thought. Hey, I'm at 11 Madison Ave. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann Sent: Tuesday, August 02, 2005 4:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] databinding question Quick question...why are these different: merlin:ReportingDatesPanel width=100% height=100% portfolio={selectedPortfolio} / Versus: mainContent.createChild(ReportingDatesPanel, , {width: 100%, height: 100%, portfolio: selectedPortfolio}); When the selectedPortfolio object changes in the main app with the MXML in first example above, the custom component recognizes the change in the selectedPortfolio object and performs the correct action. If I have the main application dynamically create the custom component with the code in the 2nd example above, if the selectedPortfolio object changes, the dynamically created custom component does not see that change and none of the actions that I want to take place, actually take place. I'm guessing this is a databinding issue...am I supposed to set the portfolio attribute differently to catch changes in this object when dynamically creating the custom component? Any help is greatly appreciated. Thanks, Rob robert l. brueckmann senior web developer merlin securities 595 madison avenue new york, ny 10022 p: 212.822.4821 f: 212.822.4820 This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- 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. -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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 This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are
RE: [flexcoders] Problem passing action script VOs using an array
The issue we are having has something to do with the casting The code doesnt have a typo, there was a typo when transferring it to email.here is the code. This doesnt work. public function onResult(event:Object) : Void { var infoArray : Array = event.result; . . . } public function saveUserInfo(userInfoArray : Array) : Void { var call:Object = service.save(userInfoArray); } This does work. public function saveUserInfo(userInfoArray : Array) : Void { var infoArray : Array = new Array(); for (var i in userInfoArray) { var userInfo : UserInfoVO = new UserInfoVO(); userInfo.oid = userInfoArray[i].oid; userInfo.name = userInfoArray[i].name; infoArray .addItem(userInfo); var call:Object = service.save(infoArray); } How do we check to see if the received array has correctly casted objects?? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Aldo Bucchi Sent: Tuesday, August 02, 2005 2:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Problem passing action script VOs using an array HI, first, there are some typos in your code infoArray .addItem(activity); var userIfno : UserInfoVO = new UserInfoVO(); second, check that the received array has correctly casted objects (UserInfoVO ), perhaps you don't have if correctly configured. Note that the second time you are not relying on flex to do the correct casting. On 8/2/05, Shahnavaz Alware [EMAIL PROTECTED] wrote: I am having a problem passing action script VOs to the backend using an Array. Can someone tell me what I am missing here... Here is an example of what I am trying to do: First I get an array of VOs from the backend public function onResult(event:Object) : Void { var infoArray : Array = event.result; . . . } Then later I call the backend and pass back the array of VOs and this DOESN'T work because I get a class cast exception... public function saveUserInfo(userInfoArray : Array) : Void { var call:Object = service.save(userInfoArray); } However, if I do the same thing, but create an array of new VOs and transfer all the values, this DOES work public function saveUserInfo(userInfoArray : Array) : Void { var infoArray : Array = new Array(); for (var i in userInfoArray) { var userIfno : UserInfoVO = new UserInfoVO(); userIfno.oid = userInfoArray[i].oid; userIfno.name = userInfoArray[i].activityId; infoArray .addItem(activity); var call:Object = service.save(infoArray); } I don't understand exactly what the problem is here, can anyone give insight to this issue? Thanks, Dave -- 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 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. -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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.