[flexcoders] TabNavigator gimmick
Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to save the edited data before going to tab two. Is there a way to do this? So basically I need a way to catch the users click on tab two (havent figured out where) and then cancel the tab change event -Mika 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 the Yahoo! Terms of Service.
Re: [flexcoders] TabNavigator gimmick
subscribe to the TabNavigators click event. From here, execute a validation routine based on the last known tab clicked (ie default is tab0, then if user clicks tab1, then update a var to indicate such). Validate that tab, if it fails, then simply fire an exception routine (ie popup) and selectedIndex = failedTab. The end-user may experience a flicker between the two tabs based on how long it takes to compute the validation routine. this is the quick and easy way. If you want to prevent a user from accessing the tab, then you may have to extend the TabNavigator and over-ride the various methods associated to that class. I can't remember off the top of my head what the TabNavigator uses in terms of click, but i'd bet the farm it uses SimpleButton. I'd love to post the code for code, line by line here but i'm a bit swamped at present but the above is based on theory (especially if it works similiar to the Accordion) On 6/21/05, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to save the edited data before going to tab two. Is there a way to do this? So basically I need a way to catch the user's click on tab two (haven't figured out where) and then cancel the tab change event… -Mika 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 the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Waiting for FLEX NCL to arrive) 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] TabNavigator gimmick
Thanks Scott, but the problem is : Unknown attribute 'click' on mx.containers.TabNavigator. So there is no click event on TabNavigator, I tried placing it on change-event but it does not affect it if set selectedIndex=x, since change seems to be fired before the change actually occurs, so tabnavigator is going to change the tab after the event is handled anyway (so if I set it on change to something, the tabnavigator sets it anyway to what it was supposed to set to when the tab is clicked)... :[ -Mika -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes Sent: 21. kesäkuuta 2005 10:11 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TabNavigator gimmick subscribe to the TabNavigators click event. From here, execute a validation routine based on the last known tab clicked (ie default is tab0, then if user clicks tab1, then update a var to indicate such). Validate that tab, if it fails, then simply fire an exception routine (ie popup) and selectedIndex = failedTab. The end-user may experience a flicker between the two tabs based on how long it takes to compute the validation routine. this is the quick and easy way. If you want to prevent a user from accessing the tab, then you may have to extend the TabNavigator and over-ride the various methods associated to that class. I can't remember off the top of my head what the TabNavigator uses in terms of click, but i'd bet the farm it uses SimpleButton. I'd love to post the code for code, line by line here but i'm a bit swamped at present but the above is based on theory (especially if it works similiar to the Accordion) On 6/21/05, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to save the edited data before going to tab two. Is there a way to do this? So basically I need a way to catch the user's click on tab two (haven't figured out where) and then cancel the tab change event -Mika 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 the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Waiting for FLEX NCL to arrive) Yahoo! Groups Links 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: HTTPService problems with SSL when using IE
Thanks - I had not seen this - however do not believe that this is the same problem. I am using BEA Weblogic (will be using OAS in production). Also, the flex application appears to load fine. It issues two POST requests during startup. I am getting the data for one of the requests. It is the second request for which IE does not appear to be receiving the data. - viraf --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Did you see this thread? http://www.mail- archive.com/flexcoders@yahoogroups.com/msg08704.html Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of viraf_bankwalla Sent: Monday, June 20, 2005 7:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService problems with SSL when using IE Hi, I have a flex application that works fine when I use http. I have now switched to serving the application from https. The application appears to be failing with IE. It works fine with Firefox. Anyone had problems with IE and Flex in SSL mode using HTTPService. I am NOT using the proxy. Things appear to function if I enable the proxy - not sure why I need it. Maybe someone could explain. My preference would be NOT to use the proxy. Thanks. - viraf 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] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . 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] disable selected border textinput.
Can anybody tell me how you disabled the selection border of a textinput. I know you can set the themecolor to the backgroundColor, so it wont be visible. But I'm using A background image, so please no border at all. Mike 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] JPG delivery via Java-App
Hi there, I searched a lot of time for a solution of my problem in other forums, documentations an so on. But I didn't find any hint so far, thus you are my last hope. The problem is as follows: I have a Java-Servlet or a Java-Class, which retrieves an image (JPG) from a database. As customary this Blob is stored in a byte array (byte []). The Flex-Application connects to the Java application to request the image. My problem is now to find a suitable datatype, which can store binary data in ActionScript. This means, I need a corresponding data type in ActionScript, which fits to byte[] in Java. Or does possibly anyone know a completely different solution for my problem? Thanks for answers Markus Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: New to Flex, Questions for datagrid
Ritesh, I'm no expert on .net, but I think that any application that can do this will need to support MS latest flavour of OLE. I have heard the newer version of the MS OSs and their RIA framework will include Office components. So instead of a datagrid, you would have Excel. I have also heard that the actual reality of this is pretty far off, like years and years away. Well that's my limited knowledge, only rumours at this point. Anyone have the real inside scoop? Thanks, Al Allen Manning Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w: www.prismix.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: 20 June 2005 21:17To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: New to Flex, Questions for datagrid Unless I am mistaken, the Flash player doesn't support this functionality. You can make a feature request by using this form: http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: mehrotraritesh [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 4:08 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: New to Flex, Questions for datagrid Thanks Jimmy for the responses, I am reading the websites that you pointed. Could you or anybody tell why we cannot paste rows and columns in EXCEL to DataGrid, has anybody done any research on this topic?Thanks,Ritesh--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" [EMAIL PROTECTED] wrote: I'll quickly give you some answers: 1) you can find info here: http://macromedia.max04.v4.breezecentral.com/p98974576/ 2) you can find something like that here: http://www.richinternetapps.com/archives/2005_01.html 3) you mean paste and whole set of rows and columns? unfortunately not 4) easily done via CellRenderer 5) easily done via CellRenderer Dimitrios "Jimmy" Gianninas RIA Developer Optimal Payments Inc. _ From: mehrotraritesh [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 10:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] New to Flex, Questions for datagrid Hi All, I am new to Flex enviornment and have been assigned to investigate whether flex would make right choice for our application (VC++) based to move to Flex and this is where I am looking for help. I have few questions: Can Flex DataGrid conrol 1. Manage to hold more 1,00,000 rows with 256 columns. ( If so, does anybody has stats of how much it takes to load) 2. Freeze panes or fix column while other colums can scroll ( I read: it is real hard to do) 3. Cut/Copy/paste from and to Excel 4. Put images in one of columns of Grid control ( I read: I need to render an image, but donot know if I can add click event on the image) 5. Put Combo boxes or Date control in one of the columns of Grid Control Please execuse me if these are already answered, Any direction to previous post would also be great. Thanks in advance, Ritesh _ 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] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . AVIS IMPORTANT WARNING Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. 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 the Yahoo! Terms of Service.
RE: [flexcoders] JPG delivery via Java-App
Hi, Macromedia Flash Player doesn't have byte[] or its equivalent data type to store the binary data within AS. But you can load JPEG/SWF files using Loader/Image Flex classes or loadMovie(..) Flash Player API. If I am right, you want to load a JPG image in Flex app right? You can do that using Loader or Image tag mx:Image source=http://server.com/myservlet?imagename=logo; / Image/Loader can load non-progressive JPG and SWF files. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mummertm Sent: Tuesday, June 21, 2005 2:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] JPG delivery via Java-App Hi there, I searched a lot of time for a solution of my problem in other forums, documentations an so on. But I didn't find any hint so far, thus you are my last hope. The problem is as follows: I have a Java-Servlet or a Java-Class, which retrieves an image (JPG) from a database. As customary this Blob is stored in a byte array (byte []). The Flex-Application connects to the Java application to request the image. My problem is now to find a suitable datatype, which can store binary data in ActionScript. This means, I need a corresponding data type in ActionScript, which fits to byte[] in Java. Or does possibly anyone know a completely different solution for my problem? Thanks for answers Markus Yahoo! Groups Links 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: HTTPService problems with SSL when using IE
I am having the exact same problem... different circumstances though. I am trying to connect to my HTTPS .NET web services on IIS5 W2K which work fine in Firefox but not in IE!! Heres the killer that might lead to something , it only works on my IE on my computer but not any single other person that trys to connect to the shared server. I can communicate fine when I change the url from https to http. I am also choosing not to use the Flex Proxy for performance reasons. Do I need to create a policy file to access HTTPS services? - cennis http://www.mail- archive.com/flexcoders@yahoogroups.com/msg08704.html --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Thanks - I had not seen this - however do not believe that this is the same problem. I am using BEA Weblogic (will be using OAS in production). Also, the flex application appears to load fine. It issues two POST requests during startup. I am getting the data for one of the requests. It is the second request for which IE does not appear to be receiving the data. - viraf --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Did you see this thread? http://www.mail- archive.com/flexcoders@yahoogroups.com/msg08704.html Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of viraf_bankwalla Sent: Monday, June 20, 2005 7:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService problems with SSL when using IE Hi, I have a flex application that works fine when I use http. I have now switched to serving the application from https. The application appears to be failing with IE. It works fine with Firefox. Anyone had problems with IE and Flex in SSL mode using HTTPService. I am NOT using the proxy. Things appear to function if I enable the proxy - not sure why I need it. Maybe someone could explain. My preference would be NOT to use the proxy. Thanks. - viraf 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] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . 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: TabNavigator gimmick
Mika tab navigator doesn't support click event but change event. http://livedocs.macromedia.com/flex/15/asdocs_en/ Package mx.Containers Classes TabNavigator Scroll down to the events list. João Fernandes --- In flexcoders@yahoogroups.com, Mika Kiljunen [EMAIL PROTECTED] wrote: Thanks Scott, but the problem is : Unknown attribute 'click' on mx.containers.TabNavigator. So there is no click event on TabNavigator, I tried placing it on change-event but it does not affect it if set selectedIndex=x, since change seems to be fired before the change actually occurs, so tabnavigator is going to change the tab after the event is handled anyway (so if I set it on change to something, the tabnavigator sets it anyway to what it was supposed to set to when the tab is clicked)... :[ -Mika -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes Sent: 21. kesäkuuta 2005 10:11 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TabNavigator gimmick subscribe to the TabNavigators click event. From here, execute a validation routine based on the last known tab clicked (ie default is tab0, then if user clicks tab1, then update a var to indicate such). Validate that tab, if it fails, then simply fire an exception routine (ie popup) and selectedIndex = failedTab. The end-user may experience a flicker between the two tabs based on how long it takes to compute the validation routine. this is the quick and easy way. If you want to prevent a user from accessing the tab, then you may have to extend the TabNavigator and over-ride the various methods associated to that class. I can't remember off the top of my head what the TabNavigator uses in terms of click, but i'd bet the farm it uses SimpleButton. I'd love to post the code for code, line by line here but i'm a bit swamped at present but the above is based on theory (especially if it works similiar to the Accordion) On 6/21/05, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to save the edited data before going to tab two. Is there a way to do this? So basically I need a way to catch the user's click on tab two (haven't figured out where) and then cancel the tab change event -Mika 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 the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Waiting for FLEX NCL to arrive) Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] weird behavior evaluating values
Hi there, I'm getting a weird behavior with a tree that should switch the layout based on the selectedNode. something like this: mx.controls.Alert.show((tree.selectedNode.getData().property1 == undefined).toString()) if (tree.selectedNode.getData().property1 == undefined){ vs.selectedIndex=1; }else{ vs.selectedIndex=2; } what is very weird is that the mx.controls.Alert.show((tree.selectedNode.getData().property1 == undefined).toString()) evaluates correctly true false values but in the if part, the script goes always on vs.selectedIndex=1... Am I missing something? João Fernandes 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] TabNavigator gimmick
Hi All, I have same situations and unable to resolve. Can we request macromedia development/research group to provide a new event called changing to TabNavigator controls which should fire before change event and provide mechanism either go ahead or revert the navigation. This way we can have total control of navigation and program logic can decide whether to allow the user to navigate to next/other tab or not. Thanks! Hari -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen Sent: Tuesday, June 21, 2005 3:27 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator gimmick Thanks Scott, but the problem is : Unknown attribute 'click' on mx.containers.TabNavigator. So there is no click event on TabNavigator, I tried placing it on change-event but it does not affect it if set selectedIndex=x, since change seems to be fired before the change actually occurs, so tabnavigator is going to change the tab after the event is handled anyway (so if I set it on change to something, the tabnavigator sets it anyway to what it was supposed to set to when the tab is clicked)... :[ -Mika -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes Sent: 21. kesäkuuta 2005 10:11 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TabNavigator gimmick subscribe to the TabNavigators click event. From here, execute a validation routine based on the last known tab clicked (ie default is tab0, then if user clicks tab1, then update a var to indicate such). Validate that tab, if it fails, then simply fire an exception routine (ie popup) and selectedIndex = failedTab. The end-user may experience a flicker between the two tabs based on how long it takes to compute the validation routine. this is the quick and easy way. If you want to prevent a user from accessing the tab, then you may have to extend the TabNavigator and over-ride the various methods associated to that class. I can't remember off the top of my head what the TabNavigator uses in terms of click, but i'd bet the farm it uses SimpleButton. I'd love to post the code for code, line by line here but i'm a bit swamped at present but the above is based on theory (especially if it works similiar to the Accordion) On 6/21/05, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to save the edited data before going to tab two. Is there a way to do this? So basically I need a way to catch the user's click on tab two (haven't figured out where) and then cancel the tab change event... -Mika 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 the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Waiting for FLEX NCL to arrive) Yahoo! Groups Links Yahoo! Groups Links 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: weird behavior evaluating values
forget about it, forgot that vs.selectedIndex is a 0 based index. --- In flexcoders@yahoogroups.com, joao_m_fernandes [EMAIL PROTECTED] wrote: Hi there, I'm getting a weird behavior with a tree that should switch the layout based on the selectedNode. something like this: mx.controls.Alert.show((tree.selectedNode.getData().property1 == undefined).toString()) if (tree.selectedNode.getData().property1 == undefined){ vs.selectedIndex=1; }else{ vs.selectedIndex=2; } what is very weird is that the mx.controls.Alert.show((tree.selectedNode.getData().property1 == undefined).toString()) evaluates correctly true false values but in the if part, the script goes always on vs.selectedIndex=1... Am I missing something? João Fernandes 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] Extending the COMBOBOX
Does anyone has examples on extending a Combobox control? For example, I want to create two-line rows which would contain the name of the combobox item in the first line and description on the next. Thanks, Alex 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] Turning flex files in to exe files
I hope this is not a silly question but when your done making the program do you turn it in to an exe file? 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 the Yahoo! Terms of Service.
[flexcoders] Re: Turning flex files in to exe files
You don't, mxml, AS, components that you use in your flex application need a flex application server running on the top of a J2EE server. The application is then loaded trough a web browser or in Central. João Fernandes --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: I hope this is not a silly question but when your done making the program do you turn it in to an exe file? 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] JPG delivery via Java-App
To avoid having to save the image from the database to a physical file as an intermediate step you could try streaming the data from the database directly into the http request of the mx:image tag as Abdul suggests So, 1. Create a java/actionscript VO mapping that includes the image name as a sting. 2. After Flex has received the VO, trigger an event that request the image from the database either via an intermediate physical file save or directly streamed into the http request. Two requests for data instead of one, but it would get you the image. Hope this helps. Regards Ian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Sent: 21 June 2005 11:57 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] JPG delivery via Java-App Hi, Macromedia Flash Player doesn't have byte[] or its equivalent data type to store the binary data within AS. But you can load JPEG/SWF files using Loader/Image Flex classes or loadMovie(..) Flash Player API. If I am right, you want to load a JPG image in Flex app right? You can do that using Loader or Image tag mx:Image source=http://server.com/myservlet?imagename=logo; / Image/Loader can load non-progressive JPG and SWF files. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mummertm Sent: Tuesday, June 21, 2005 2:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] JPG delivery via Java-App Hi there, I searched a lot of time for a solution of my problem in other forums, documentations an so on. But I didn't find any hint so far, thus you are my last hope. The problem is as follows: I have a Java-Servlet or a Java-Class, which retrieves an image (JPG) from a database. As customary this Blob is stored in a byte array (byte []). The Flex-Application connects to the Java application to request the image. My problem is now to find a suitable datatype, which can store binary data in ActionScript. This means, I need a corresponding data type in ActionScript, which fits to byte[] in Java. Or does possibly anyone know a completely different solution for my problem? Thanks for answers Markus Yahoo! Groups Links Yahoo! Groups Links This E-mail scanned for viruses by Harlaxton College This E-mail scanned for viruses by Harlaxton College 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] TabNavigator gimmick
http://www.macromedia.com/go/wish Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR Sent: Tuesday, June 21, 2005 10:17 AM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] TabNavigator gimmick Hi All, I have same situations and unable to resolve. Can we request macromedia development/research group to provide a new event called changing to TabNavigator controls which should fire before change event and provide mechanism either go ahead or revert the navigation. This way we can have total control of navigation and program logic can decide whether to allow the user to navigate to next/other tab or not. Thanks! Hari -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen Sent: Tuesday, June 21, 2005 3:27 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator gimmick Thanks Scott, but the problem is : Unknown attribute 'click' on mx.containers.TabNavigator. So there is no click event on TabNavigator, I tried placing it on change-event but it does not affect it if set selectedIndex=x, since change seems to be fired before the change actually occurs, so tabnavigator is going to change the tab after the event is handled anyway (so if I set it on change to something, the tabnavigator sets it anyway to what it was supposed to set to when the tab is clicked)... :[ -Mika -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes Sent: 21. kesäkuuta 2005 10:11 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TabNavigator gimmick subscribe to the TabNavigators click event. From here, execute a validation routine based on the last known tab clicked (ie default is tab0, then if user clicks tab1, then update a var to indicate such). Validate that tab, if it fails, then simply fire an exception routine (ie popup) and selectedIndex = failedTab. The end-user may experience a flicker between the two tabs based on how long it takes to compute the validation routine. this is the quick and easy way. If you want to prevent a user from accessing the tab, then you may have to extend the TabNavigator and over-ride the various methods associated to that class. I can't remember off the top of my head what the TabNavigator uses in terms of click, but i'd bet the farm it uses SimpleButton. I'd love to post the code for code, line by line here but i'm a bit swamped at present but the above is based on theory (especially if it works similiar to the Accordion) On 6/21/05, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to save the edited data before going to tab two. Is there a way to do this? So basically I need a way to catch the user's click on tab two (haven't figured out where) and then cancel the tab change event... -Mika 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 the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Waiting for FLEX NCL to arrive) Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links 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] UI internationalization
Hello, Newbie question (I began using Flex 2 weeks ago) Initially i'm a Java developer, focused this last 3 years in J2EE application using MVC frameworks (Struts, Spring, etc...) I'm experienced, before 98 with C/S applications,. My question is about the best way to apply values to prompts, titles, ... in an internationalized Flex UI. If we exclude the use of JSP (including the MXML source using Flex Taglib) in which we can get in Java all key/values from a MessageResources file, and set the Label values with Java scriptlets inside the Flex component tags. Doing this has an impact i suppose , for the first load , for each language ( compilation ). Options i thought of : Having a generic Flex UI : when the client access it, UI is loading , then a first request is sent to the server to get all the necessary informations to configure the UI (including translated values for the prompts, titles,... in the user's preferred language for example) : in this case, when setting values to titles or labels , should this be done only by ActionScripting, or could we apply data-binding (that could help to reduce the volume of code simplify maintenance) Could we develop a single UI, using tokens as label, title,.. values (@@mylabel@@ for example). Then, with the help of Ant (or Maven) , the generic mxml source , and properties files (one per language), generate one mxml file per language ( precompile and deploy as is). Choosing language in a HTML page (homepage) to be able to re-route the user to the 'translated' corresponding SWF file. Thanks for your advice. Laurent NOTA: we should support Hebrew, Chinese, French, English, German, Dutch languages. 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/ begin:vcard fn:Laurent Bois n:Bois;Laurent email;internet:[EMAIL PROTECTED] version:2.1 end:vcard
RE: [flexcoders] Turning flex files in to exe files
Hi, That is possible but please go through the Flex licensing, in my opinion it is not allowed. May be someone else would confirm this. But you can use Macromedia Central Platform for the same. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Tuesday, June 21, 2005 9:55 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Turning flex files in to exe files I hope this is not a silly question but when your done making the program do you turn it in to an exe file? 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 the Yahoo! Terms of Service.
[flexcoders] Re: Extending the COMBOBOX
I don't think the standard ComboBox control has a cellRenderer property. Alex --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, You can achieve the same without creating ComboBox subclass. What you need a custom cellrenderer for ComboBox. Look into Flex documentation for Cellrenderer fundamentals and also search the flexcoders archives http://www.mail-archive.com/flexcoders%40yahoogroups.com/ If you still have any problem, feel free to post. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gevgelija50 Sent: Tuesday, June 21, 2005 8:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extending the COMBOBOX Does anyone has examples on extending a Combobox control? For example, I want to create two-line rows which would contain the name of the combobox item in the first line and description on the next. Thanks, Alex Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Extending the COMBOBOX
Hi, You are right, ComboBox doesn't have a cellRenderer property but ComboxBoxInstance.dropdown has. ComboxBoxInstance.dropdown is reference of the drop down List in the combobox. So you can do something like this, for example: comboBoxInstance.dropdown.cellRenderer = MultilineCellRenderer; -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gevgelija50 Sent: Wednesday, June 22, 2005 1:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Extending the COMBOBOX I don't think the standard ComboBox control has a cellRenderer property. Alex --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, You can achieve the same without creating ComboBox subclass. What you need a custom cellrenderer for ComboBox. Look into Flex documentation for Cellrenderer fundamentals and also search the flexcoders archives http://www.mail-archive.com/flexcoders%40yahoogroups.com/ If you still have any problem, feel free to post. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gevgelija50 Sent: Tuesday, June 21, 2005 8:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Extending the COMBOBOX Does anyone has examples on extending a Combobox control? For example, I want to create two-line rows which would contain the name of the combobox item in the first line and description on the next. Thanks, Alex Yahoo! Groups Links Yahoo! Groups Links 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] UI internationalization
Hi Laurent, There has been some discussions on the same. There are many ways to do this. You also talked about using tokens and ANT and generate mxml files, that is one way. Look at following link, Benoit Hediard wrote Resource Bundle library for Flex. http://groups.yahoo.com/group/flexcoders/message/8730 Manish also summarized some of the ways of doing UI localization: http://manish.revise.org/2005/04/resource-bundles-in-flex.html Hope that helps.. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Laurent Bois Sent: Wednesday, June 22, 2005 12:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] UI internationalization Hello, Newbie question (I began using Flex 2 weeks ago) Initially i'm a Java developer, focused this last 3 years in J2EE application using MVC frameworks (Struts, Spring, etc...) I'm experienced, before 98 with C/S applications,. My question is about the best way to apply values to prompts, titles, ... in an internationalized Flex UI. If we exclude the use of JSP (including the MXML source using Flex Taglib) in which we can get in Java all key/values from a MessageResources file, and set the Label values with Java scriptlets inside the Flex component tags. Doing this has an impact i suppose , for the first load , for each language ( compilation ). Options i thought of : Having a generic Flex UI : when the client access it, UI is loading , then a first request is sent to the server to get all the necessary informations to configure the UI (including translated values for the prompts, titles,... in the user's preferred language for example) : in this case, when setting values to titles or labels , should this be done only by ActionScripting, or could we apply data-binding (that could help to reduce the volume of code simplify maintenance) Could we develop a single UI, using tokens as label, title,.. values (@@mylabel@@ for example). Then, with the help of Ant (or Maven) , the generic mxml source , and properties files (one per language), generate one mxml file per language ( precompile and deploy as is). Choosing language in a HTML page (homepage) to be able to re-route the user to the 'translated' corresponding SWF file. Thanks for your advice. Laurent NOTA: we should support Hebrew, Chinese, French, English, German, Dutch languages. Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] DataGrid error handling
I have an editable data grid with which I would like to use the error handling capabilities of Flex (i.e. found in Flex application examples). I have not been able to find any documentation to help me. I would appreciate it if someone can point me to any documentation or examples. Thank you. 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] Turning flex files in to exe files
Ya... violation... go directly to jail... do not pass go... do not collect $200 On 6/21/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, That is possible but please go through the Flex licensing, in my opinion it is not allowed. May be someone else would confirm this. But you can use Macromedia Central Platform for the same. -abdul From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]Sent: Tuesday, June 21, 2005 9:55 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Turning flex files in to exe files I hope this is not a silly question but when your done making the program do you turn it in to an exe file? 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 the Yahoo! Terms of Service . 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 the Yahoo! Terms of Service.
RE: [flexcoders] Turning flex files in to exe files
Of course anythings possible when you talk to a Macromedia sales rep J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Modien Sent: Tuesday, June 21, 2005 2:18 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Turning flex files in to exe files Ya... violation... go directly to jail... do not pass go... do not collect $200 On 6/21/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, That is possible but please go through the Flex licensing, in my opinion it is not allowed. May be someone else would confirm this. But you can use Macromedia Central Platform for the same. -abdul From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 9:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Turning flex files in to exe files I hope this is not a silly question but when your done making the program do you turn it in to an exe file? 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 the Yahoo! Terms of Service . 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 the Yahoo! Terms of Service.
[flexcoders] Using Flex Controls in Flash 2004
Hi Everyone, We have an existing Flex App, that creates dashboards on the fly that pull data from http services. It's a beautiful thing as a real working, live application. However, creating an environment where such an app can be delivered or at least demo'ed entirely offline is a challenge. The problem is that both the layout and the data need to be rendered at runtime, not design time. The article Dynamically Creating User Interface Components is a small scale example of this. http://www.macromedia.com/devnet/flex/articles/flexprimer_03.html I'm looking to recreate some of the Flex controls in Flash. I understand that the flexforflash.zip is both outdated and deprecated in functionality, but conceptually it would be possible to reuse these components back in the Flash environment, provided we populated the components with the correct initial objects, etc. I also understand this would probably require implementing a large portion of the Flex Framework back into Flash, but it seems like early on Flex v1.0 some of this may have been done by providing the flexforflash.zip in the first place. For example the FlexforFlash, contained mx.core.Application, mx.containers.Panel, etc. How would one go about using these components since they were provided...? I've cobbled together the following example, but after tracing, I realize that my properties aren't getting populated properly, and the Panel isn't rendering correctly. Let me show the code below: import mx.core.Application; import mx.containers.Canvas; import mx.containers.Panel; import mx.charts.PieChart; trace(ROOT PROTO:+_root.__proto__); // Init Object, App, Canvas, Panel... var MyApplication:Object = null; var pnl:Object = null; //mx.containers.Panel var cnv:Object = null; //mx.containers.Canvas var init:Object = null; var pChart:Object = null; //mx.charts.PieChart MyApplication = new mx.core.Application(); trace(myApplication:+MyApplication); this.__proto__ = MyApplication; if (!(this.constructObject == undefined)) { this.constructObject(); } else { trace(COULD NOT FIND CONSTRUCTOBJECT); } trace(Application:+application); // Static Var should show ref? init = new Object(); init.id = CANVAS; init.borderStyle = none; init.x = 10; init.y = 30; init.width = 800; init.height = 600; cnvs = createChild(mx.containers.Canvas, cnvs, init) ; //cnvs.invalidate(); init = new Object(); init.id= PANEL1; init.x = 0.0; init.y = 0.0; init.width = 328.0; init.height = 296.0; init.title = Output Chart; init.headerHeight = 21; init.shadowDirection = right; init.panelBorderStyle = roundCorners; //init.cornerRadius = 3; //init.dropShadow = true; init.headerColors = [0xE1E5EB, 0xF4F5F7]; init.footerColors = [0xF4F5F7, 0xE1E5EB]; // Had prev. cast as Panel(createCh...), but same results pnl = cnvs.createChild(mx.containers.Panel, pnl, init) ; pnl.invalidate(); trace(Panel:+pnl); trace(Panel:+pnl.id); trace(Panel:+pnl.title); trace(Panel:+pnl.width); trace(Panel:+pnl.height); //trace(Panel:+pnl.headerHeight); init = new Object(); init.id = piechart1; init.x = 421; init.y = 735; init.dataprovider = ; pChart = pnl.createChild(mx.charts.PieChart, pChart, init) ; pChart.invalidate(); trace(PieChart:+pChart); trace(PieChart:+pChart.id); trace(PieChart:+pChart.x); trace(PieChart:+pChart.y); stop(); TRACE OUTPUT: ROOT PROTO:[object Object] myApplication:[object Object] Application:undefined Panel:_level0.cnvs.pnl Panel:PANEL1 Panel:Output Chart Panel:100 *SHOULD BE 0 Panel:100 *SHOULD BE 0 PieChart:_level0.cnvs.pnl.pChart PieChart:piechart1 PieChart:0 *SHOULD BE 421 PieChart:0 *SHOULD BE 735 Any thoughts would be greatly appreciated! Thanks, Jason 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] Shortcuts in caingorm
One requirement I have to implement is shortcuts. In my implementation, I introduced a few new classes and add logic which handles onKeyDown into my application's FrontController. I also introduced an empty Shortcut marker interface. Any command that can be invoked via a shortcut must extend the Shortcut interface. For example: import com.charged.infuse.business.Shortcut class com.charged.infuse.commands.ToggleConsoleWindow implements Command, Shortcut { public var keyCode:Number public var modifierKeyCode:Number public function ToggleConsoleWindow() { keyCode = 79; modifierKeyCode = Key.CONTROL; } ... } In my FrontController, I override the addCommand method to search for commands which implement Shortcut. The FrontController's overridden addCommand method will inspect commandRef looking for keyCode and modifierKeyCode properties. public function addCommand(commandName:String, commandRef:Command):Void { super.addCommand(commandName, commandRef); if(commandRef implements Shortcut) { ... look for key codes ... } } If the controller finds these properties, it creates a new entry in the shortcuts multi- dimentional Array stored in the ModelLocator: ModelLocator.shortcuts[commandRef.keyCode][commandRef.modifierKeyCode] = commandName; Finally, in FrontController's constructor, after initializeCommands(), I added an onKeyDown function to a keyListener Object and passed it to the addKeyListener method of Key. This onKeyDown method will search for matching shortcuts in the ModelLocator's shortcuts Array. var keyListener = new Object(); keyListener.onKeyDown = function() { ... }; Key.addListener(keyListener); I would like a more experienced opinion. Am I doing this the best way? Perhaps instead of a multi-dimentional array like object, I should introduce a ShortcutManager class which will have logic for context and a way to invoke a Shortcut function for event data. What do you guys think? -- Todd Boland Charged Software 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] Yahoo! is looking for a Sr. Flex engineer
Hi, I just joined the Flexcoders list today and Im sure Im going to have lots of questions as I get up to speed. In the meantime, I wanted to let everyone know that Yahoo! Inc. has several Flex positions open. Currently we have Sr. Engineer, Design Engineer, and Interaction Designer-prototyping positions available. These are full time, on site positions in Sunnyvale, CA. All three are great opportunities to work on some exciting projects with great people. If you would like more details about any of these positions, please contact me at [EMAIL PROTECTED]. Thanks, Justin ___ Justin Everett-Church Rich Media Evangelist Yahoo! Inc. [EMAIL PROTECTED] YIM: beltransf 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 the Yahoo! Terms of Service.
[flexcoders] Hosting flex application
Hi, I'm working ona community sitethats shares a large number of pictures,media etc. I'm using flex as the front for the Web application. If i choose to host the site at my home computer how do I set up server configuration? What would be the best approach to store all the files? Currently my test site is in c:\program files\I would like to move it some D:\site name. Alsothe folder should be accessible byASP.net pagesfor file uploads and other operations. Can anyone help me out. Thanks Venkat How does 6 Songs for 99 cents sound? Go to music.msn.com and meet FREE music 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 the Yahoo! Terms of Service.
RE: [flexcoders] TabNavigator gimmick
Hi. I was just trying to do this a week ago and worked with Macromedia gold support. This turns out to be rather difficult to do, partially because the tabnavigator is actually a tabBar attached to a viewstack. I had code that would fire on the tabnavigator's change event to determine if the old tab had changes, and if so, to set the selected index of the tabnavigator back to the old tab, but I ended up with the tabBar right but the viewstack wrong. One suggestion is to disable the tabnavigator if the user makes a change so that they can't move away until they save. That wasn't practical for me because there was a lot of other navigationto disable. So I let the user change tabs, but prompt to save, and process the save/cancel in the background. Love to hear if there are other solutions. Andrew From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika KiljunenSent: Tuesday, June 21, 2005 1:56 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TabNavigator gimmick Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to save the edited data before going to tab two. Is there a way to do this? So basically I need a way to catch the users click on tab two (havent figured out where) and then cancel the tab change event -Mika 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 the Yahoo! Terms of Service.
RE: [flexcoders] Shortcuts in caingorm
Hi Todd, | I would like a more experienced opinion. Am I doing this the best way? Perhaps instead of | a multi-dimentional array like object, I should introduce a ShortcutManager class which | will have logic for context and a way to invoke a Shortcut function for event data. What | do you guys think? Again, you've pre-empted what I think is the bad-smell here; the controller at first seems like a really elegant place to do a point-cut of this shortcut functionality, but the nail I think you've hit on the head, is that often shortcuts are context-sensitive; ie the delete key may be a shortcut for several different commands, eg DeleteUserCommand, DeleteMessageCommand, DeleteAddressCommand, etc ... and *which* of these commands to fire on pressing delete, would very much depend on the implicit state of the application. Now ... if you have a state-machine in your application for managing state, then I can see an interesting implementation where given a keypress and the current state, you could determine the next state and broadcast the appropriate event. So you'd move the functionality into your FSM (Finite State Machine). But the solution you've proposed might just be the simplest thing that works for the solution you require. Certainly centralising behavior in the controller is a good thing. I think personally, I'd want a KeyListener class that listens for keyboard shortcuts and broadcasts events+data to the controller. Whether you tied keypress into context/state or not, this would be encapsulated in the KeyListener class, and your controller would be none-the-wiser (a good thing IMHO). I'm happy to be convinced otherwise however. And if you produce a neat keyboard shortcut (and even better, tie that into a state machine implementation) solution, and want to contribute it back to the Cairngorm source, then give me a shout :) I think this would be an interesting and potentially generic piece of reusable architecture. Thoughts ? Steven -- Todd Boland Charged Software Yahoo! Groups Links 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] Casting not working to avoid Changes to property, length...will not be detected warning
Title: Casting not working to avoid Changes to property, length...will not be detected warning I have a custom object, and in the example line below, an instance is returned by a function. The object has a property, valuesarray, which is typed as an Array. This is a case where I would like binding to correctly, but I am getting the binding warning. I tried casting the length to a Number: visible={Number(app.p('DrawingData').valuesarray.length) == 0} but I still get the same warning: Changes to property, length, from built-in object, Array, will not be detected I can code around this but I have it in several places, and would like to be able to make this solution work. I know Matts actually working, but does anyone else have any ideas? Tracy 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 the Yahoo! Terms of Service.
Re: [flexcoders] Casting not working to avoid Changes to property, length...will not be detected warning
i usually make a var in actionscript and bind this to mxml..// actionscriptvar binding = (Number(app.p('DrawingData').valuesarray.length) == 0);// in mxmlmx:ComboBox visible = {binding}/i also would like to know if that is the best/only way to do it..ThijsOp 22-jun-2005, om 2:41 heeft Tracy Spratt het volgende geschreven: I have a custom object, and in the example line below, an instance is returned by a function. The object has a property, “valuesarray”, which is typed as an Array.This is a case where I would like binding to correctly, but I am getting the binding warning.I tried casting the length to a Number: visible="{Number(app.p('DrawingData').valuesarray.length) == 0}"but I still get the same warning:“Changes to property, length, from built-in object, Array, will not be detected”I can code around this but I have it in several places, and would like to be able to make this solution work.I know Matt’s actually working, but does anyone else have any ideas?TracyYahoo! 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 the Yahoo! Terms of Service. 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 the Yahoo! Terms of Service.
RE: [flexcoders] Casting not working to avoid Changes to property, length...will not be detected warning
Yes, that will work, plus one should always type their variables. But I would rather not have to create this extra var if I dont have to. The Casting trick usually works, but not in this situation. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thijs Triemstra | Collab Sent: Tuesday, June 21, 2005 9:06 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Casting not working to avoid Changes to property, length...will not be detected warning i usually make a var in actionscript and bind this to mxml.. // actionscript var binding = (Number(app.p('DrawingData').valuesarray.length) == 0); // in mxml mx:ComboBox visible = {binding}/ i also would like to know if that is the best/only way to do it.. Thijs Op 22-jun-2005, om 2:41 heeft Tracy Spratt het volgende geschreven: I have a custom object, and in the example line below, an instance is returned by a function. The object has a property, valuesarray, which is typed as an Array. This is a case where I would like binding to correctly, but I am getting the binding warning. I tried casting the length to a Number: visible={Number(app.p('DrawingData').valuesarray.length) == 0} but I still get the same warning: Changes to property, length, from built-in object, Array, will not be detected I can code around this but I have it in several places, and would like to be able to make this solution work. I know Matts actually working, but does anyone else have any ideas? Tracy 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 the Yahoo! Terms of Service. 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 the Yahoo! Terms of Service.
RE: [flexcoders] DataGrid error handling
Do you mean the validation functionality? You just need to create a cell renderer for your data grid. One example is here: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg02356.html. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dchilcoat Sent: Tuesday, June 21, 2005 1:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid error handling I have an editable data grid with which I would like to use the error handling capabilities of Flex (i.e. found in Flex application examples). I have not been able to find any documentation to help me. I would appreciate it if someone can point me to any documentation or examples. Thank you. 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 the Yahoo! Terms of Service.
RE: [flexcoders] Re: HTTPService problems with SSL when using IE
Is your SWF being served over HTTPS as well? If your SWF is served over HTTP but the web service is at HTTPS you will need a crossdomain.xml file on your HTTPS server to get the player to connect. Of course if Firefox is working correctly in the same config it doesnt seem like that would be the problem. We have seen IE bugs with HTTPS thats usually related to bugs in the app server. Check your app server support pages and see if anything jumps out. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cennis22 Sent: Tuesday, June 21, 2005 5:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService problems with SSL when using IE I am having the exact same problem... different circumstances though. I am trying to connect to my HTTPS .NET web services on IIS5 W2K which work fine in Firefox but not in IE!! Heres the killer that might lead to something , it only works on my IE on my computer but not any single other person that trys to connect to the shared server. I can communicate fine when I change the url from https to http. I am also choosing not to use the Flex Proxy for performance reasons. Do I need to create a policy file to access HTTPS services? - cennis http://www.mail- archive.com/flexcoders@yahoogroups.com/msg08704.html --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Thanks - I had not seen this - however do not believe that this is the same problem. I am using BEA Weblogic (will be using OAS in production). Also, the flex application appears to load fine. It issues two POST requests during startup. I am getting the data for one of the requests. It is the second request for which IE does not appear to be receiving the data. - viraf --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Did you see this thread? http://www.mail- archive.com/flexcoders@yahoogroups.com/msg08704.html Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of viraf_bankwalla Sent: Monday, June 20, 2005 7:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService problems with SSL when using IE Hi, I have a flex application that works fine when I use http. I have now switched to serving the application from https. The application appears to be failing with IE. It works fine with Firefox. Anyone had problems with IE and Flex in SSL mode using HTTPService. I am NOT using the proxy. Things appear to function if I enable the proxy - not sure why I need it. Maybe someone could explain. My preference would be NOT to use the proxy. Thanks. - viraf 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] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . 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 the Yahoo! Terms of Service.
RE: [flexcoders] TabNavigator gimmick solved
Hi, thank you all for your tips, I managed to solve this one by overriding the tabnavigator by making some changes to the code posted by Manish earlier: You'll have to extend the TabNavigator and override the selectedIndex setter. !-- MyTabNavigator.mxml -- ?xml version=1.0? mx:TabNavigator xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* mx:Script var savedSelectedIndex:Number; public function set selectedIndex(value:Number):Void { savedSelectedIndex = value; tabBar.selectedIndex = super.selectedIndex; confirm(Are you really, really sure?); } /mx:Script /mx:TabNavigator In your alert handler you set the selectedIndex to the savedSelectedIndex (if the user clicked OK). -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari - BLS CTR Sent: 21. kesäkuuta 2005 17:17 To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] TabNavigator gimmick Hi All, I have same situations and unable to resolve. Can we request macromedia development/research group to provide a new event called changing to TabNavigator controls which should fire before change event and provide mechanism either go ahead or revert the navigation. This way we can have total control of navigation and program logic can decide whether to allow the user to navigate to next/other tab or not. Thanks! Hari -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mika Kiljunen Sent: Tuesday, June 21, 2005 3:27 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator gimmick Thanks Scott, but the problem is : Unknown attribute 'click' on mx.containers.TabNavigator. So there is no click event on TabNavigator, I tried placing it on change-event but it does not affect it if set selectedIndex=x, since change seems to be fired before the change actually occurs, so tabnavigator is going to change the tab after the event is handled anyway (so if I set it on change to something, the tabnavigator sets it anyway to what it was supposed to set to when the tab is clicked)... :[ -Mika -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes Sent: 21. kesäkuuta 2005 10:11 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TabNavigator gimmick subscribe to the TabNavigators click event. From here, execute a validation routine based on the last known tab clicked (ie default is tab0, then if user clicks tab1, then update a var to indicate such). Validate that tab, if it fails, then simply fire an exception routine (ie popup) and selectedIndex = failedTab. The end-user may experience a flicker between the two tabs based on how long it takes to compute the validation routine. this is the quick and easy way. If you want to prevent a user from accessing the tab, then you may have to extend the TabNavigator and over-ride the various methods associated to that class. I can't remember off the top of my head what the TabNavigator uses in terms of click, but i'd bet the farm it uses SimpleButton. I'd love to post the code for code, line by line here but i'm a bit swamped at present but the above is based on theory (especially if it works similiar to the Accordion) On 6/21/05, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to save the edited data before going to tab two. Is there a way to do this? So basically I need a way to catch the user's click on tab two (haven't figured out where) and then cancel the tab change event... -Mika 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 the Yahoo! Terms of Service. -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Waiting for FLEX NCL to arrive) Yahoo! Groups Links Yahoo! Groups Links 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 the Yahoo! Terms of Service.