[flexcoders] Slice / Scale 9 Flex Skins don't scale
Dear all, we have some Flex Skins made in Flash exported as swc, as described in this article: http://devote.your.life.auricom.com/?p=70. We have Bitmaps in the Skins and the Bitmaps don't scale in Flex. We import the skins as artwork in Flex. It seems that we have encountered a bug which is described here: http://bugs.adobe.com/jira/browse/SDK-15575. Does anybody knows a solution or a workaround in order to get bitmapped skins to scale in Flex? Any help is highly appreciated! Thanks in advance Reto
[flexcoders] How to utilize browser specific shortcuts
Dear all, I know it is quite easy to use keyboard shortcuts in Flex. But is it possible to use CTRL-P / CMD-P or any other browser related shortcut and trigger actions in Flex instead open the print dialogue in the browser? Is there a difference how different browsers handle this issue? Or do I need Java-Script in order to catch the shortcut and send the command to Flex? Thanks in advance Reto
Re: [flexcoders] Drag and Drop into a Popup Window
Hello Alex, thanks for your answer! it was my fault. I didn't specified the proper event handlers in the drop target. It's working quite fine now. Sorry for the disturbance.. Cheers Reto 2008/12/8 Alex Harui [EMAIL PROTECTED]: What didn't work? Post a mini-example. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Reto M. Kiefer Sent: Monday, December 08, 2008 1:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Drag and Drop into a Popup Window Dear all, I want to drag and drop data from the main application into field in a popup window. The usual handling of dragEnter and dragDrop doesn't work. Any hints / links on how to enable drag and drop into a popup window is highly appreciated. Thanks in advance Reto
[flexcoders] Drag and Drop into a Popup Window
Dear all, I want to drag and drop data from the main application into field in a popup window. The usual handling of dragEnter and dragDrop doesn't work. Any hints / links on how to enable drag and drop into a popup window is highly appreciated. Thanks in advance Reto
[flexcoders] HTTPService with mixed parameters
Dear all, I need to call an HTTPService with POST method but I need to transfer some GET parameters too. The tricky part ist, that the GET parameters are transmitted as arrays. Can anyone help me in order to build the correct HTTPService? Currently I am using this code but this one sends everything as POST params to the service: mx:HTTPService method=GET id=jsonRequest2 resultFormat=text showBusyCursor=true result=handleResult(event) url=http://my.url/service; mx:request methodgetMessage/method params{params}/params !-- Should be GET -- preferedMainTextPartTypes{mainTypes}/preferedMainTextPartTypes !-- Should be GET -- /mx:request /mx:HTTPService The params are built in this way: [Bindable] private var params:Object = {folder:INBOX.Drafts, getHeaderFields:1, mainTextPartProcessing:html, uid:1592}; [Bindable] private var mainTypes:Object = {0:html, 1:plain}; Any help highly appreciated! Thanks in advance Reto
[flexcoders] Flex 1.5 Production Mode
Hi, we habe a problem with the production mode in Flex 1.5... As soon as we set production-mode to true in flex-config.xml we get a lot of Warings which we don't see in non-production mode (disbaled). Moreover the compile time is as long as in non-production mode. There seems no delivery of an already compiled SWF, instead cpu is 99% for some seconds like while compiling. I am afraid something goes wrong but I have no clue what. Any help, comments and suggestions are highly welcome... Thanks in advance Reto -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host
Dear all, thank you so much for this help. It was the lowercase filename of fileIO.swf that caused the problems... But this thing drove mealmost nuts... Anyway issue is solved thanks to you for you help! CU Reto 2006/1/31, Reto M. Kiefer [EMAIL PROTECTED]: Thanks for this suggestion!!! Yes we are devleoping on Windows and deploying on Linux Servers. I will check this out and report if this was the problem. Thanks again and best regards Reto 2006/1/31, Stacy Young [EMAIL PROTECTED]: Are you deploying on unix? I remember there was a case issue with that sample download (a while back)...Some places there's reference to fileio.swf and other places fileIO.swf. Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Reto M. Kiefer Sent: Monday, January 30, 2006 5:31 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host Hello Jesse, thnak you for your answer! Did you upload the File Upload SWF as well? Yes the installation is the same, local and remote identical... It is the fileIO.swf drom the example zip from the MM website... Is the SWF loaded on the same domain your Flex MXML is served from? We have an Apache-Server in front of a Tomcat-Server. The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the requests from the machine in front of the FW to the protected Tomcat Server. But the SWF is on the same physical machine as the MXML/AS stuff. It is embedded by mx:Loader alomst identical to the description in the MM document. CU Reto -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host
Thanks for this suggestion!!! Yes we are devleoping on Windows and deploying on Linux Servers. I will check this out and report if this was the problem. Thanks again and best regards Reto 2006/1/31, Stacy Young [EMAIL PROTECTED]: Are you deploying on unix? I remember there was a case issue with that sample download (a while back)...Some places there's reference to fileio.swf and other places fileIO.swf. Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Reto M. Kiefer Sent: Monday, January 30, 2006 5:31 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host Hello Jesse, thnak you for your answer! Did you upload the File Upload SWF as well? Yes the installation is the same, local and remote identical... It is the fileIO.swf drom the example zip from the MM website... Is the SWF loaded on the same domain your Flex MXML is served from? We have an Apache-Server in front of a Tomcat-Server. The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the requests from the machine in front of the FW to the protected Tomcat Server. But the SWF is on the same physical machine as the MXML/AS stuff. It is embedded by mx:Loader alomst identical to the description in the MM document. CU Reto -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host
Dear all, we just implemented a file upload function for a mail module (attachment uploads). We followed the instructions quite closely from this nice article: http://www.macromedia.com/devnet/flex/articles/fp8_features.html Running Flex on our local development machines (i.e. http://localhost/...) everything works like a charm we can upload attachments up to 100 MB. But as soon as we deploy the application on our staging server (remote host) the feature doesn't work any longer. By clicking the browse button nothing happens, no file selection dialog box appears :o( Maybe something with FB Security but I read the documentation but didn't found a solution. I would be thankful if anyone could give me a hint how to solve this issue. Thanks in advance Reto -- 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] Flex 1.5 / FlashPlayer 8 Upload problems on remote host
Hello Jesse, thnak you for your answer! Did you upload the File Upload SWF as well? Yes the installation is the same, local and remote identical... It is the fileIO.swf drom the example zip from the MM website... Is the SWF loaded on the same domain your Flex MXML is served from? We have an Apache-Server in front of a Tomcat-Server. The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the requests from the machine in front of the FW to the protected Tomcat Server. But the SWF is on the same physical machine as the MXML/AS stuff. It is embedded by mx:Loader alomst identical to the description in the MM document. CU Reto -- 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] MXML Components and instanceof
Hi Dirk! Thanks a lot for your answer. Unfortunatly the parentDocument doesn't work, I still got the error Two MXML Files cannot reference each other as child tags. Another idea: why not dispatching an event object from your basicSearchCompany? The embedding component could register for this event and act accordingly when the event occurs. This way you get a nice decoupling between your basicSearchCompany component and any embdeeing component. Would you be so kind and provide me with a link for this solution. I have my Flex book @ home and I am on tour till tuesday... Thanks Reto PS: Do we know each other from CeBIt tis year? Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- 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] MXML Components and instanceof
Hi Dirk! Thanks a lot for your detailed answer. I will try and give you a feedback! Cheers Reto Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: RE : [flexcoders] Rich Text Editor
Hi Philippe, I'm curious to see your RTE, I wrote one my self using CF7 flash forms: http://cfpim.blogspot.com/2005/04/rich-textarea-for-flash-cfforms.html http://cfpim.blogspot.com/2005/04/rich-textarea-for-flash-cfforms.html It could be adapted to flex, it's a mix of CF + AS I would be glad to try it but unfortunately the download link doesn't work... Could you take a look please? Cheers Reto Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- 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] Combobox troubles
Dear all, I have two coressponding comboxes for a search function. In the first combobox you can select the search criterion (like Name or Business Type) and the second combobox displays the search values for the corresponding criterion. Some criteria are free text entry like Name. Other like Business Type get their values from a webservice call. If you have free text entry the combobox is editable = true otherwise editable = false. No I have strange misbehaviour. If I am changing from a fixed list (i.e. ueditable) back to a free text entry feld (i.e. editable) the combobox gets displayed in wrong way: Like a TextInput field accomapnied by a dropdown = it looks definitly like an error. Is this a bug or do I have to instruct flex to render the combobox again and if so how? Thanks in advance Reto Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hhkoopv/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123882112/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] Combobox troubles
Hello Jeff, Just wondering whether a combo box is the best solution - all by itself. Why not show a text input and hide your combo box when appropriate selections are made in combo box 1? And do the reverse if they select business type. I would think users would tolerate that a bit better. Yes they reverse again if selecting a fixed preselected value list (i.e. the editable = false combo box is always rendered the right way)... Hiding the combobox: I want to have a search parameter either free text entry or selecting from a fixed list. And a combobox with either editable true (with no preselected values) or editable false (with preselected values) is the only component that is capable of both ways as far as I know... Thanks fpr your suggestion -- I will try with a hiding combo box / text input but if someone has an explanation for the strange combobox behaviour I would be happt to know about solution... Thanks again Reto Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hp09hmf/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123886893/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] date.getUTCMonth / date.getUTCDate with a leading zero
Dear all, maybe I am simply do not see the crucial point but I have a small problem. In a form the users can enter some dates via mx:DateField id=compBop dateFormatter=formatDate / The corresponding formatDate() looks like this one: function formatDate(date:Date):String { return (date.getUTCDate() + 1) + - + ( date.getUTCMonth() + 1 ) + - + date.getUTCFullYear(); } This works quite good, but I want have a leading 0 if the Day or the month conists of only on digit, e.g. 02 instead of 2 for february. I searched all the variants of date.UTC() but did not saw an option for this. I assume there is one because you can have the year displayes with 4 or 2 digits... Maybe some is so helpful and can provide me with the proper function call or a workaround if there is no such a call. Thanks in advance and best regards Reto Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hi3apt8/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122891737/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] date.getUTCMonth / date.getUTCDate with a leading zero
Hello Michael, Look up the /dateFormatter/ class (mx.formatters.DateFormatter). In your format function, create an instance of it and supply it with the format string “DD\MM\” and that should give you what you want. Cool! Thank you very much for this fast solution! Thanks again and best regards Reto Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h9nkore/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122892731/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] date.getUTCMonth / date.getUTCDate with a leading zero
Hi all, Look up the /dateFormatter/ class (mx.formatters.DateFormatter). In your format function, create an instance of it and supply it with the format string “DD\MM\” and that should give you what you want. Just for the records I managed it in the following way: [1] mx:FormItem label=Birthday mx:DateField id=persBirthday dateFormatter=formatDate2 / /mx:FormItem [2] mx:DateFormatter id=dateformatter formatString=DD.MM./ [3] function formatDate2(date:Date):String { return dateformatter.format(date); } Even if it seems to be trivial now, maybe some one else can find a solution for this topic in the archive Best regards Reto Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h7ck8j3/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1122897287/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] Flex und SOAP Parameters
Hi all, I want to consume a Webservice from a Flex form with 4 editable Comboxes, only the first field is required. But as soon the other three are empty Flex complains about Required Paramater cval2 not found in input arguments How can I make the parameters not required? In Flex and how or in the WSDL Service Description File and how. Thank you very much in advance for helping me CU Reto -- 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] Flex und SOAP Parameters (PS)
Hi again, How can I make the parameters not required? In Flex and how or in the WSDL Service Description File and how. I just found out if I am writing something into the fields and delete afterwards Flex doens't complain about required fields... Any ideas how to solve this issue... Bye Reto -- 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] Webservice troubles
Dear all, I'm experiencing a strange problem. My backend is SOAP based, where the Webservices are written in PHP5, connecting to an Oracle9. On my development system (Windows XP, Tomcat, Apache2 PHP5) everything works like a charm. On the production system, (Linux, Tomcat, Apache2 PHP5) none of the Webservices work. I always get the error message: Faulty WSDL format: Definitions must be the first element in a WSDL document. I compared all generated WSDL files and they are exactly the same on both systems. But why does Flex on Linux complain about the WSDL format? Any help or suggestions are highly appreciated! Thanks in advance Reto -- 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] Webservice troubles (solved)
Hi again, I'm experiencing a strange problem. My backend is SOAP based, where the Webservices are written in PHP5, connecting to an Oracle9. Problem solved, it was not Flex related. It was a mix up in the WSDL Cache... Sorry for the inconvenience... CU Reto -- 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] Access mouse selection
Hello list, I searched for a reasonable time but got no working result. I'd like to know how do I access with ActionScript the selected text, the user can select with the mouse in a editable textarea. Just the selection, before copied or cut... Background I want to modify the selection and return the modifications just in time. I'm playing with an online thesaurus based on a webservice and I want to pass the selected text in a webservice call. Thanks in advance Reto 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] Check against certain values in a
Hi, I have a datagrid which contains some data from email headers like read, from, subject etc. The dataprovider is a webservice: mx:dataProvider {mail_Manager.listInbox.result} /mx:dataProvider mx:columns mx:Array mx:DataGridColumn columnName=id headerText=Id width=50/ mx:DataGridColumn columnName=pid headerText=Part width=50/ mx:DataGridColumn columnName=read headerText=Read width=50/ mx:DataGridColumn columnName=from headerText=From width=150/ mx:DataGridColumn columnName=subject headerText=Subject/ mx:DataGridColumn columnName=sendtime headerText=Date width=150/ /mx:Array /mx:columns I want to check if a row has a cetain value in a cell. So iterate over the datagrid with: for( var j:Number=0; j grid1.rows.length; j++){ //??? IF check ??? grid1.rows[j].setStyle('fontWeight', 'bold'); } This version sets every row bold but I want to have only rows in bold that have an u in the column read, I can remember reading an example but I can't find it again. Any help is highly appreaciated... Thanks in advance Reto 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: Check against certain values in a
Hi Derrick, Your condition statement should be something like this: if (grid1.dataProvider.getItemAt(j).read == 'u'){ Thanks a lot that works like a charm. I had this solution before but got confused with the order of the webservice call which is the dataprovide so I couldn't see an effect... Alot of the 'properties' like length etc tend to run 'getter'/'setter' functions so just getting the value once will speed up the performance. That is a good hint did not know this -- thanks as well! Cheers Reto 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] MXML Schema
Dear all, not a direct question but I'd like to discuss this issue with you. I'm using Eclipse for Developing Flex with the oXygen-Plugin (XML), ASDT (ActionScript Plugin) and Sysdeo (Tomcat monitoring SOAP-Debugging!). It works like a charm and i prefer it instead of using Flexbuilder. Moreover I can code directly my logic tier (Java and PHP) without switching the IDE. Macromedia ships a file called mxml.xsd with Flex. It is declared to be a generated XML-Schema for XMLM by the compiler. The oXygen-Plugin provides functionalities in order to provide code-hinting while developing MXML (like Flexbuilder). But some featrues are missing, so I have a hunch that the Scheme is not complete. For example while beeing in a mx:operation within a mx:Webservice no hinting for result or concurenncy is provided. Checking the Schema with a Schema-Browser results in that attributes or sub-tags for mx:operation are not provided. I'd like to know from you if you have exerienced other missing elements in the Schema. Or do you know a source for obtaining a complete Schema? Thanks in andvance CU Reto 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] MXML Schema
Hi Blake, As I learned earlier (see ColumnChart thread), the lower-case tags aren't objects but shortcuts for defining properties of the parent tag. So, as in that ColumnChart thread, this code: Thnaks for your replay, I didn't studied the thread ColumnChart intensivly because right now I'm far away from developing a charting application... But nevertheless regardless if the lowercase-tags are objects or shourtcuts for the parent's attributes they should be provided within the xml schema definition, but they aren't. I studied the schema carefully, they don't appear neither as attributes to their parent tags nor as alowed children tags. Cheers Reto 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 rows in a datagrid
Hi, I'm trying for hours but doesn't come to a solution. I have a handler that should set a selected row in a datagrid to bold. The only thing I figured out is the highlighting for colums: function renderCell(event) { grid1.getColumnAt(event.columnIndex).setStyle(fontSize, 14); } (The renderCell is called on cellPress in the data grid.) Could someone help me with setting the selected row to bold? Thanks in andvance Reto 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] carriage return via web service
Hi John, This works just fine (I tested it), with the exception of the shame heaped upon me like so many burning coals. I do want to know if anyone else has encountered this, and what they have done to get around it. I'm experiencing exactly the same problem as you. The Webservice is written is PHP5 with native SOAP extension and I have to rewrite the content in the textarea with \n in the webservice before sending it with an mail :-( I'm not so sure if it is a Windows problem. I have the problem on Windows Tomcat and Linux(Debian Sarge) Tomcat. This workaround is really annoying, but it works at least. CU Reto 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/