[flexcoders] Re: Datagrid columns resize
Can you explain a bit more about what you need? Thanks Iain --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Thank you, that's perfect. Would you be able to tell me the correct syntax to get compute the colums in the datagrid? thanks CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be confidential or privileged. If you are not an intended recipient, you must not read, copy, use, or disclose this communication. Please also notify the sender by replying to this message, and then delete all copies of it from your system. Thank you. digital_eyezed [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 09/12/2005 03:26 PM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] Re: Datagrid columns resize Sorry, remove the cellrenderer: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; backgroundColor=#FF mx:Script ![CDATA[ public function setWidth(event){ if (event.target == _level0.myGrid2){ myGrid.getColumnAt(event.columnIndex).width = myGrid2.getColumnAt(event.columnIndex).width ; } else if(event.target == _level0.myGrid){ myGrid2.getColumnAt(event.columnIndex).width = myGrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:DataGrid width=100% id=myGrid alternatingRowColors=[#CC,#FF] columnStretch=setWidth (event); marginBottom=0 mx:columns mx:Array mx:DataGridColumn headerText=Key / mx:DataGridColumn headerText=Value/ mx:DataGridColumn headerText=Test/ mx:DataGridColumn headerText=Test2/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid rowHeight=30 width=100% borderThickness=0 vGridLineColor=#FF hGridLineColor=#FF id=myGrid2 columnStretch=setWidth(event); headerHeight=0 rowCount=1 mx:columns mx:Array mx:DataGridColumn / mx:DataGridColumn / mx:DataGridColumn / mx:DataGridColumn / /mx:Array /mx:columns /mx:DataGrid /mx:Application --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED] wrote: This does it: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; backgroundColor=#FF mx:Script ![CDATA[ public function setWidth(event){ if (event.target == _level0.myGrid2){ myGrid.getColumnAt(event.columnIndex).width = myGrid2.getColumnAt(event.columnIndex).width ; } else if(event.target == _level0.myGrid){ myGrid2.getColumnAt(event.columnIndex).width = myGrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:DataGrid width=100% id=myGrid alternatingRowColors=[#CC,#FF] columnStretch=setWidth (event); marginBottom=0 mx:columns mx:Array mx:DataGridColumn headerText=Key cellRenderer=MyTotal/ mx:DataGridColumn headerText=Value/ mx:DataGridColumn headerText=Test/ mx:DataGridColumn headerText=Test2/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid rowHeight=30 width=100% borderThickness=0 vGridLineColor=#FF hGridLineColor=#FF id=myGrid2 columnStretch=setWidth(event); headerHeight=0 rowCount=1 mx:columns mx:Array mx:DataGridColumn / mx:DataGridColumn / mx:DataGridColumn cellRenderer=MyTotal/ mx:DataGridColumn / /mx:Array /mx:columns /mx:DataGrid /mx:Application --- In flexcoders@yahoogroups.com, Joe [EMAIL PROTECTED] wrote: I have a datagrid on top of another datagrid. The bottom grid is for totals of the top grid. When I resize the a column in the top grid I want the bottom grid to adopt the new column width. Is this possible to do? I know I can call a function using columnStretch. So I guess I would need to know the correct actionscript syntax. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links 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
[flexcoders] Checking existance of file
Hi, Can someone tell me how to check existence of file. Checked several docs. But found nothing useful. I tried to do this with getURL(). But it is trying to open test.txt. I don't want to open. Just want to check it's existence. thanks - if(getURL(../test.txt)==false) { alert(File don't exist); } else alert(File exists); } - 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] DataGrid it's possibile
sorry, it's possibile with flex to build a table like below? First 2 rows are column for me, and 3^ row it's a "dataProvider", can you help me with an example or link please Thank you very much Devis CODE WORKING DAY DAY NIGHT WEEK MONTH .. .. -- 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 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.
[flexcoders] Flex Actionscript firstChild nextSibling
I'm trying to send back the response from a webservice and populate a tree control with the results. I don't want to have to hardcode the element names to be able to retrieve the values. I saw firstChild nextSibling in a Flash2004 tutorial and was wondering if these are also available in Flex. Probably just using them wrong but when I display the value I'm getting undefined. This is the snippet I'm working with: function addNodesToTree(response) { if (response.nbta.pb!=null) { displayQuestion.text = response.firstChild.nodeValue; } else if(response.nbta.cs!=null) { displayQuestion.text = response.nextSibling.nodeValue; } else if(response.nbta.es!=null) { displayQuestion.text = ES; } The last one works, which I just just using to test if I got the correct response. Thanks in advance! Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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] Upload/Download
Hello, Do you have any upload/download system, to flex + jsp, that don´t need CF? I Think that many people are searching this... Thank you. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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] Re: Setting focus on a specific cell.
try something like this mx:DataGrid id=dg editable=true initialize=startUp() ... function startUp() { var obj1 = {itemIndex:2, columnIndex:1}; dg.focusedCell = obj1; } --- In flexcoders@yahoogroups.com, Omar Ramos [EMAIL PROTECTED] wrote: Hi list, Is there a way to set focus on a specific cell of a datagrid to put the cell in edit mode? Thanks for any help. Omar Ramos System Developer 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] tree and checkbox
I have tried a new solution for the tree component with the checkbox component rendered along with it.Here is the renderer code CheckRenderer.mxml ?xml version=1.0 encoding=utf-8? mx:HBox xmlns:mx=http://www.macromedia.com/2003/mxml; borderStyle=none horizontalGap=0 backgroundAlpha=0 marginLeft=0 marginRight=0 mx:Script ![CDATA[ var listOwner : MovieClip; var getCellIndex : Function; var getDataLabel : Function; var isCellEditor : Boolean = true; function setValue(str:String, item:Object, sel:Boolean) : Void { _check._visible = (item!=undefined); if (item != undefined) { _check.visible = (item!=undefined); checkLabel.text = item.attributes.label ; var obj = item.attributes.checked; var newObj : Boolean; a Boolean. if (obj == true || obj == true) { newObj = true; } else if (obj == false || obj == false) { newObj = false; } else { String value return; } _check.selected = newObj; } } function checkClick() { listOwner.editField(getCellIndex().itemIndex, checked, (_check.selected) ? true : false); listOwner.dispatchEvent({type: 'change', checked:_check.selected, itm: listOwner.getNodeDisplayedAt(getCellIndex().itemIndex)}); } ]] /mx:Script mx:CheckBox id=_check label= width=16 click=checkClick ()/ /mx:HBox Thanks Anto 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/
[flexcoders] Re: DataGrid it's possibile
2 ways you can do this. i can think of. 1) (simplest way) put a line break in headertext for your datagrid column eg mx:DataGrid headerHeight=70 mx:DataGridColumn columnName=blah headerText=Working #13;Day/ or 2) use a headerRenderer in your DataGridColumn eg mx:DataGridColumn columnName=occupation headerRenderer={multiHeader}/ create a VBox container called multiHeader.mxml eg mx:VBox mx:Label text=blah/ mx:Label text=blah/ /mx:VBox --- In flexcoders@yahoogroups.com, Devis [EMAIL PROTECTED] wrote: 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/
[flexcoders] Need Urgent help
Hi to all, I am looking the below link example, its intresting one, I am little suprised about how this will work, I just copied the code and working around but need some help on below tag. http://www.richinternetapps.com/archives/000108.html animation:Flip name=bodyFlip foreground=shoppingCart background=checkoutProcess duration=1000 easingForeground=Sine.easeIn easingBackground=Sine.easeOut / do we need to write any ActionScript file or some thing else. please help me out, its an urgent need to me. Thanks in advance. Sandip...:) 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] Re: DataGrid it's possibile
Hi, as i think that he means to have two rows static values and the row no 3 and to end to be dynamic data. i am not sure. Thanksbhaq1972 [EMAIL PROTECTED] wrote: 2 ways you can do this. i can think of. 1) (simplest way) put a line break in headertext for your datagrid column egmx:DataGrid headerHeight="70"mx:DataGridColumn columnName="blah" headerText="Working #13;Day"/or2) use a headerRenderer in your DataGridColumn egmx:DataGridColumn columnName="occupation" headerRenderer="{multiHeader}"/create a VBox container called multiHeader.mxml egmx:VBoxmx:Label text="blah"/mx:Label text="blah"//mx:VBox--- In flexcoders@yahoogroups.com, Devis [EMAIL PROTECTED] wrote: __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] DW 8 Flex
Hi there, I'm currently trying DW8 to see if finally i'll get rid of FB. Some new features are (for me) good enough to leave FB behindbut it seemsthere is no support for mxml files. They are seen as text files, I can't even make a find replace (in all currentwebsite). Is there a way to have DW handling mxml even only in code view ? Thanks, João Fernandes Secção de Desenvolvimento Departamento de Informática -- 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 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: [flexcoders] Re: DataGrid it's possibile
Great and thank's for your help, Devis bhaq1972 ha scritto: 2 ways you can do this. i can think of. 1) (simplest way) put a line break in headertext for your datagrid column eg mx:DataGrid headerHeight=70 mx:DataGridColumn columnName=blah headerText=Working #13;Day/ or 2) use a headerRenderer in your DataGridColumn eg mx:DataGridColumn columnName=occupation headerRenderer={multiHeader}/ create a VBox container called multiHeader.mxml eg mx:VBox mx:Label text=blah/ mx:Label text=blah/ /mx:VBox --- In flexcoders@yahoogroups.com, Devis [EMAIL PROTECTED] wrote: -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- 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] Re: Cool Transition Effects
Hi Alex, I read your article (http://www.richinternetapps.com/archives/000108.html), its really cool can you guide us how to implement this. I copied your code and dowloaded the AnimationPackage_v1_06e.zip. I little bit confused in implementing. animation:Flip name=bodyFlip foreground=basic background=advanced duration=1000 easingForeground=Sine.easeIn easingBackground=Sine.easeOut / I didn't understand the above xmlns and their propeties I think I am missing some thing her. I apprecaite if you guide on this. Thanks in advance. Sandip:) --- In flexcoders@yahoogroups.com, Alex Uhlmann [EMAIL PROTECTED] wrote: Hi Andy, while I think we still have to wait a bit when we can achieve runtime transition effects like this http://www.mailorderchickens.org/ ( ; ...we do have some options at the moment. We just posted about this topic: http://www.richinternetapps.com/archives/000108.html Best, Alex -- Alex Uhlmann Software Engineer iteration::two -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Andy Goodfellow Sent: 03 May 2005 14:32 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cool Transition Effects All, This is purely gee-whiz, but has anyone achieved a 3D transition effect with Flex? I have created the sliding page-to-page effect using the compositing stuff (parallel and sequential) however it would be really neat to flip a panel (using viewstacks) and have added functionality on the back. It seems we would need a custom skew effect or something. Any thoughts? -Andy Yahoo! Groups Links -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 01/04/2005 Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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] Re: Need Urgent help
yes, you need the 'animation' component. 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] Re: Need Urgent help
yeah I know my dear friend, we need the animation component, do you know where I can get this animation component, if you help me out in this it will be great help..BTW: have you worked on this type of sample application, if so can you send me some linksor sample application. Thanks Sandip sanjayd [EMAIL PROTECTED] wrote: yes, you need the 'animation' component. Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Need Urgent help
All, Alex posted a proof of concept, of something that he had written using AnimationPackage, that he is hoping to port towards the Flex effects framework. However, there is no code available for release at present, nor is there likely to be in the immediate future. Anything Flash can do, Flex can do, so maybe approach your problem from that angle. I'd also suggest changing your subject line from "Need Urgent help", as you'll see from the FAQ that most of us are likely to ignore the post. Best wishes, Steven -- Steven WebsterTechnical Director iteration::two[EMAIL PROTECTED] Office: +44 (0)131 338 6108Mobile: +44 (0)7977 216 223 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sandip PatilSent: 13 September 2005 13:58To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Need Urgent help yeah I know my dear friend, we need the animation component, do you know where I can get this animation component, if you help me out in this it will be great help..BTW: have you worked on this type of sample application, if so can you send me some linksor sample application. Thanks Sandip sanjayd [EMAIL PROTECTED] wrote: yes, you need the 'animation' component. Yahoo! for GoodClick here to donate to the Hurricane Katrina relief effort. -- 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 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.
[flexcoders] Array/Dataprovider/Tabbar etc issues.
All, Ive currently got a large amount of components in an app Im making. All these components use the dataprovider to fill them. Now Im aware the tabBar component expects an array for the dataprovider, but as arrays dont fire change event, the tabbar wont update. Thus Id be forced to use: tabbar.dataProvider.addItem() Now Im sure Im not the only one that thinks this is pretty stupid way of doing things? I thought the whole point of using dataproviders is to be able to share information stored in one place, modify that information and everything will slip in line. Now what happens when I have more than one tabbar pointing to the same dataprovider? I obviously cant use .addItem on all of them. Does adding items to a dataprovider in this fashion fire a changed event, thus updating other tabbars? Ive no doubts Im either not getting it, or just not using things the right way.. If someone could point me in the right direction, thatd be great. The general format of my arrays is: Array[ {label:label,data:data}, {label:label,data:data} ] Nothing fancy, just an array of objects which nicely fills listboxes etc. Cheers, Steve -- 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 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: [flexcoders] Re: Need Urgent help
Hi, You can download the AnimationPackage for "ActionScript 2.0" from the URL: http://www.swftools.com/tools-details.php?tool=5505655915 ThanksSaleh Sandip Patil [EMAIL PROTECTED] wrote: yeah I know my dear friend, we need the animation component, do you know where I can get this animation component, if you help me out in this it will be great help..BTW: have you worked on this type of sample application, if so can you send me some linksor sample application. Thanks Sandip sanjayd [EMAIL PROTECTED] wrote: yes, you need the 'animation' component. Yahoo! for GoodClick here to donate to the Hurricane Katrina relief effort. Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Need help on Fliping the components
First of AllThanks to allfor your quick response, I already download the zip file... to work with earlier example we need animation component file. it will be great if any one send me the file. Thanks Sandip vnice Cute [EMAIL PROTECTED] wrote: Hi, You can download the AnimationPackage for "ActionScript 2.0" from the URL: http://www.swftools.com/tools-details.php?tool=5505655915 ThanksSaleh Sandip Patil [EMAIL PROTECTED] wrote: yeah I know my dear friend, we need the animation component, do you know where I can get this animation component, if you help me out in this it will be great help..BTW: have you worked on this type of sample application, if so can you send me some linksor sample application. Thanks Sandip sanjayd [EMAIL PROTECTED] wrote: yes, you need the 'animation' component. Yahoo! for GoodClick here to donate to the Hurricane Katrina relief effort. Yahoo! for GoodClick here to donate to the Hurricane Katrina relief effort. Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Array/Dataprovider/Tabbar etc issues.
Hi, i did a simple test (below) ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var dp:Array = [{ label:one, data:two }, { label:four, data:five }, { label:seven, data:eight }, { label:ten, data:eleven }, { label:thirteen, data:fourteen }]; function doClick() { dp.addItem({label:xx, data:xx}); //or uncomment next 2 lines //dp.push({label:xx, data:xx}); //dp.dispatchEvent({type:modelChanged}); } ]] /mx:Script mx:TabBar id=tb1 dataProvider={dp}/ mx:List id=list1 dataProvider={dp}/ mx:TabBar id=tb2 dataProvider={dp}/ mx:Button label=test click=doClick() / /mx:Application Now, if you declare your array (eg dp) at the application level. then you could reference it in your components as mx.core.Application.Application.dp eg mx:TabBar dataProvider={mx.core.Application.application.dp}/ mx.core.Application.application.dp.addItem({label:xx, data:xx}) and all components using dp should get updated. Bod --- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote: All, I've currently got a large amount of components in an app I'm making. All these components use the dataprovider to fill them. Now I'm aware the tabBar component expects an array for the dataprovider, but as arrays don't fire change event, the tabbar won't update. Thus I'd be forced to use: tabbar.dataProvider.addItem() Now I'm sure I'm not the only one that thinks this is pretty stupid way of doing things? I thought the whole point of using dataproviders is to be able to share information stored in one place, modify that information and everything will slip in line. Now what happens when I have more than one tabbar pointing to the same dataprovider? I obviously can't use .addItem on all of them. Does adding items to a dataprovider in this fashion fire a changed event, thus updating other tabbars? I've no doubts I'm either 'not getting it', or just not using things the right way.. If someone could point me in the right direction, that'd be great. The general format of my arrays is: Array[ {label:label,data:data}, {label:label,data:data} ] Nothing fancy, just an array of objects which nicely fills listboxes etc. Cheers, Steve 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: [flexcoders] Re: Need help on Fliping the components
Hi i have download also i'm this great package but i have some trouble for using and configuration in with Flex, pls help us? Devis Sandip Patil ha scritto: First of AllThanks to all for your quick response, I already download the zip file... to work with earlier example we need animation component file. it will be great if any one send me the file. Thanks Sandip */vnice Cute [EMAIL PROTECTED]/* wrote: Hi, You can download the AnimationPackage for ActionScript 2.0 from the URL: http://www.swftools.com/tools-details.php?tool=5505655915 Thanks Saleh */Sandip Patil [EMAIL PROTECTED]/* wrote: yeah I know my dear friend, we need the animation component, do you know where I can get this animation component, if you help me out in this it will be great help..BTW: have you worked on this type of sample application, if so can you send me some links or sample application. Thanks Sandip */sanjayd [EMAIL PROTECTED]/* wrote: yes, you need the 'animation' component. Yahoo! for Good Click here to donate http://store.yahoo.com/redcross-donate3/ to the Hurricane Katrina relief effort. Yahoo! for Good Click here to donate http://store.yahoo.com/redcross-donate3/ to the Hurricane Katrina relief effort. Yahoo! for Good Click here to donate http://store.yahoo.com/redcross-donate3/ to the Hurricane Katrina relief effort. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * 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/. 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] Re: Array/Dataprovider/Tabbar etc issues.
You are a star! Thanks very much, addItem on the actual array did the trick, I hadnt thought about doing it this way. This will solve a lot of problems! Thanks again, Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: 13 September 2005 15:19 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Array/Dataprovider/Tabbar etc issues. Hi, i did a simple test (below) ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ var dp:Array = [{ label:one, data:two }, { label:four, data:five }, { label:seven, data:eight }, { label:ten, data:eleven }, { label:thirteen, data:fourteen }]; function doClick() { dp.addItem({label:xx, data:xx}); //or uncomment next 2 lines //dp.push({label:xx, data:xx}); //dp.dispatchEvent({type:modelChanged}); } ]] /mx:Script mx:TabBar id=tb1 dataProvider={dp}/ mx:List id=list1 dataProvider={dp}/ mx:TabBar id=tb2 dataProvider={dp}/ mx:Button label=test click=doClick() / /mx:Application Now, if you declare your array (eg dp) at the application level. then you could reference it in your components as mx.core.Application.Application.dp eg mx:TabBar dataProvider={mx.core.Application.application.dp}/ mx.core.Application.application.dp.addItem({label:xx, data:xx}) and all components using dp should get updated. Bod --- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote: All, I've currently got a large amount of components in an app I'm making. All these components use the dataprovider to fill them. Now I'm aware the tabBar component expects an array for the dataprovider, but as arrays don't fire change event, the tabbar won't update. Thus I'd be forced to use: tabbar.dataProvider.addItem() Now I'm sure I'm not the only one that thinks this is pretty stupid way of doing things? I thought the whole point of using dataproviders is to be able to share information stored in one place, modify that information and everything will slip in line. Now what happens when I have more than one tabbar pointing to the same dataprovider? I obviously can't use .addItem on all of them. Does adding items to a dataprovider in this fashion fire a changed event, thus updating other tabbars? I've no doubts I'm either 'not getting it', or just not using things the right way.. If someone could point me in the right direction, that'd be great. The general format of my arrays is: Array[ {label:label,data:data}, {label:label,data:data} ] Nothing fancy, just an array of objects which nicely fills listboxes etc. Cheers, Steve -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: How to create a binding from within an actionscript class file - Impossible?
No takers so I guess it is not possible? How do you Flex gurus get your model updated dynamically, or, am I asking in the wrong group? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: In my class file I call EventBroadcaster to dispatch an event that eventually retrieves a string into a Command.onResult(). I need that string back in my class file. So, I want to bind a variable in the class file to that onResult method. Could someone show me how to do this? Perhaps there is a way to instantiate mx:Binding in my class file some way, that would do it, but I can't figure it out. Or is there a better way (the right way) to do this without coupling the class file to the command file? Thanks, Libby 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] What would be your suggestion
Ok although I would assume that shared objects would be the way to go I would love for some other suggestions as well. Lets say you want to do a card game using flex you know allow people to play cards online with one another. Now of course you would not want everyone to see everyone elses hand and be able to move for everyone else. What would be your suggestion so that everyone can move and use there own cards in private without anyone else seeing? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] setting value to datefield text..
Neither of those worked, I've created a new post asking about valueCommitted but it wont work here. On 9/12/05, Greg Morphis [EMAIL PROTECTED] wrote: I use change to set the value of the DateField but the text field accompanying it doesnt change. I havent tried the valueCommited event yet. I'll give it a try. On 9/10/05, Matt Chotin [EMAIL PROTECTED] wrote: Try change or valueCommitted maybe? Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Morphis Sent: Friday, September 09, 2005 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] setting value to datefield text.. As per my previous post I've having problems trying to set the value of the textbox of the datefield component. I've tried mouseUp, mouseDown and offFocus. Is there a way of doing this so it's seemingly unnoticable to the user? I have a function that sets the selectedDate value.. function getNextSaturday(date) { // define variables var cMonth; var cYear; var cDay; var dayNum; var tempDate; // set variables cMonth = (date.getMonth()); cYear = date.getFullYear(); cDay = date.getDate(); dayNum = date.getDay(); // create date object for the next Saturday of the date chosen tempDate = new Date (cYear,cMonth,cDay + (6 - dayNum)); // set the datefield's value to your date object daDate.selectedDate = tempDate; //daDate.text=; } I know it's the text value you want to change but every event I try fails to change it. offFocus works however the user has to click elsewhere to see it's effect. The mouseDown and mouseUp, if they work they're changed back. I did notice the mouseUp works AFTER you select the value and then reclick on the datefield component. Is there an event I'm missing? Thanks! -- Auxilium meum a Domino -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Auxilium meum a Domino -- Auxilium meum a Domino 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/
[flexcoders] asking for a password then storing it
I am doing an application that might require a password but what I want to do is have it so that the person can store there password like you would with any other webpage so that they do not have to enter it yet make it so that someone else can not steal it? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] asking for a password then storing it
You can look into local shared objects, once you have them enter it, have a checkbox that asks if they want to store it. As your going through your code, just save it to the local shared object, and check for it upon application entry, if undefined, then go to log in. James From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 12:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] asking for a password then storing it I am doing an application that might require a password but what I want to do is have it so that the person can store there password like you would with any other webpage so that they do not have to enter it yet make it so that someone else can not steal it? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] asking for a password then storing it
Is there an application example I can look at that does this? -- 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 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.
[flexcoders] Mozilla Plugin Finder only sees FP7
Seems mm.com is offering FP8 now as the default download for flash playerbut it seems mozilla plugin finder still only sees FP7. Were trying to enforce player 8 for our latest Flex appwas wondering if any macromedians know if this will be addressed in the near future? Thanks! Stace -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Datagrid columns resize
I have a data grid with three columns. NAME AGE and WEIGHT. I want to be able to get the total of the age and weight columns and place them in the bottom row which you showed me how to do previously. Thanks. ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ public function setWidth(event){ if(event.target == _level0.mygrid){ mygrid2.getColumnAt(event.columnIndex).width = mygrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:VBox verticalGap=-1 width=400 mx:DataGrid id=mygrid width=100% columnStretch=setWidth (event); mx:Model id=TestSource source=test.xml/ mx:dataProvider{TestSource.testinfo}/mx:dataProvider mx:columns mx:Array mx:DataGridColumn headerText=name columnName=names / mx:DataGridColumn headerText=age columnName=age textAlign=right / mx:DataGridColumn headerText=weight columnName=weight textAlign=right/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid id=mygrid2 height=22 width=100% resizableColumns=false sortableColumns=false mx:columns mx:Array mx:DataGridColumn headerText=totals textAlign=right / mx:DataGridColumn headerText=age textAlign=right / mx:DataGridColumn headerText=weight textAlign=right / /mx:Array /mx:columns /mx:DataGrid /mx:VBox /mx:Application test testinfo namesname 1/names age32/age weight200/weight /testinfo testinfo namesname 2/names age40/age weight100/weight /testinfo testinfo namesname 3/names age23/age weight150/weight /testinfo testinfo namesname 2/names age55/age weight330/weight /testinfo /test CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be confidential or privileged. If you are not an intended recipient, you must not read, copy, use, or disclose this communication. Please also notify the sender by replying to this message, and then delete all copies of it from your system. Thank you. digital_eyezed [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 09/13/2005 12:50 AM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] Re: Datagrid columns resize Can you explain a bit more about what you need? Thanks Iain --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Thank you, that's perfect. Would you be able to tell me the correct syntax to get compute the colums in the datagrid? thanks CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be confidential or privileged. If you are not an intended recipient, you must not read, copy, use, or disclose this communication. Please also notify the sender by replying to this message, and then delete all copies of it from your system. Thank you. digital_eyezed [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 09/12/2005 03:26 PM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] Re: Datagrid columns resize Sorry, remove the cellrenderer: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml backgroundColor=#FF mx:Script ![CDATA[ public function setWidth(event){ if (event.target == _level0.myGrid2){ myGrid.getColumnAt(event.columnIndex).width = myGrid2.getColumnAt(event.columnIndex).width ; } else if(event.target == _level0.myGrid){ myGrid2.getColumnAt(event.columnIndex).width = myGrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:DataGrid width=100% id=myGrid alternatingRowColors=[#CC,#FF] columnStretch=setWidth (event); marginBottom=0 mx:columns mx:Array mx:DataGridColumn headerText=Key / mx:DataGridColumn headerText=Value/ mx:DataGridColumn headerText=Test/ mx:DataGridColumn headerText=Test2/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid rowHeight=30 width=100% borderThickness=0 vGridLineColor=#FF hGridLineColor=#FF id=myGrid2 columnStretch=setWidth(event); headerHeight=0 rowCount=1 mx:columns mx:Array mx:DataGridColumn / mx:DataGridColumn / mx:DataGridColumn / mx:DataGridColumn / /mx:Array /mx:columns /mx:DataGrid /mx:Application --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED] wrote: This does it: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml backgroundColor=#FF mx:Script ![CDATA[ public function setWidth(event){ if (event.target == _level0.myGrid2){ myGrid.getColumnAt(event.columnIndex).width = myGrid2.getColumnAt(event.columnIndex).width
Ant: [flexcoders] Upload/Download
There's a tutorial on how to do this with Flex Flash Player 8: http://www.macromedia.com/devnet/flex/articles/fp8_features.html I hope this helps --- morslay777 [EMAIL PROTECTED] schrieb: Hello, Do you have any upload/download system, to flex + jsp, that don´t need CF? I Think that many people are searching this... Thank you. ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de 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] URL vars
I am doing some more testing, and I am trying to test with url based variables. When I call the test.cfm page, it shoots me to the flex page with the var I posted to the url. However, when I try to read the url with coldfusion, it tells me that my var is not defiend. Does anyone know if this is possible. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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] Re: Need help on Fliping the components
Perhaps you missed Steven Webster's reply: There is no code [for Flip] available for release at present, nor is there likely to be in the immediate future. It sounds to me like you'll have to develop it yourself if you absolutely positively must have a Flip. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Devis Sent: Tuesday, September 13, 2005 7:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Need help on Fliping the components Hi i have download also i'm this great package but i have some trouble for using and configuration in with Flex, pls help us? Devis Sandip Patil ha scritto: First of AllThanks to all for your quick response, I already download the zip file... to work with earlier example we need animation component file. it will be great if any one send me the file. Thanks Sandip */vnice Cute [EMAIL PROTECTED]/* wrote: Hi, You can download the AnimationPackage for ActionScript 2.0 from the URL: http://www.swftools.com/tools-details.php?tool=5505655915 Thanks Saleh */Sandip Patil [EMAIL PROTECTED]/* wrote: yeah I know my dear friend, we need the animation component, do you know where I can get this animation component, if you help me out in this it will be great help..BTW: have you worked on this type of sample application, if so can you send me some links or sample application. Thanks Sandip */sanjayd [EMAIL PROTECTED]/* wrote: yes, you need the 'animation' component. Yahoo! for Good Click here to donate http://store.yahoo.com/redcross-donate3/ to the Hurricane Katrina relief effort. Yahoo! for Good Click here to donate http://store.yahoo.com/redcross-donate3/ to the Hurricane Katrina relief effort. Yahoo! for Good Click here to donate http://store.yahoo.com/redcross-donate3/ to the Hurricane Katrina relief effort. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * 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/. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- 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] Re: How to create a binding from within an actionscript class file - Impossible?
Libby, The approach you described is impossible. Actionscript does not work this way. Once that class has finished executing it code, it is disposed so no binding would be possible. Looks like you are going to have to find a way to do this that fits in with the event model. Please describe a little more about what you are trying to do and we may be able to assist you better. BTW, it looks as though you are using the cairngorm framework Is this accurate? If so, The ModelLocator may be a perfect fit for what you are trying to do. Maybe a temporary value in the model locator to reference back in the command Just a thought. Dustin Mercer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Tuesday, September 13, 2005 8:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to create a binding from within an actionscript class file - Impossible? No takers so I guess it is not possible? How do you Flex gurus get your model updated dynamically, or, am I asking in the wrong group? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: In my class file I call EventBroadcaster to dispatch an event that eventually retrieves a string into a Command.onResult(). I need that string back in my class file. So, I want to bind a variable in the class file to that onResult method. Could someone show me how to do this? Perhaps there is a way to instantiate mx:Binding in my class file some way, that would do it, but I can't figure it out. Or is there a better way (the right way) to do this without coupling the class file to the command file? Thanks, Libby -- 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 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: [flexcoders] asking for a password then storing it
Check out the Occasionally connected client example in your Flex examples, it can give you a starting place James From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 12:34 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] asking for a password then storing it Is there an application example I can look at that does this? -- 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 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.
[flexcoders] Re: How to create a binding from within an actionscript class file - Impossible?
I dont believe binding is a good use in the instance. What is the string in the class file used for? Is it used in displaying something? If so the value should probably be in the Model and bound to the View and not in a Class. Is it used for class logic? Probably better to take a step back and disect what you are trying to accomplish. One way (not necessarily good) is to pass a reference to a function in the class as a parameter of the Event object in the EventBroadcaster call. Then set this function reference in the execute method of the Command object to a private attribute. Then in the onResult method call use this attribute to return a call back to your class file with the data you want set. This is a lot of coupling and you really should look at what you are trying to accomplish before going this route. Renaun --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: No takers so I guess it is not possible? How do you Flex gurus get your model updated dynamically, or, am I asking in the wrong group? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: In my class file I call EventBroadcaster to dispatch an event that eventually retrieves a string into a Command.onResult(). I need that string back in my class file. So, I want to bind a variable in the class file to that onResult method. Could someone show me how to do this? Perhaps there is a way to instantiate mx:Binding in my class file some way, that would do it, but I can't figure it out. Or is there a better way (the right way) to do this without coupling the class file to the command file? Thanks, Libby Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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] URL vars
How are you calling your test.cfm page? http://whatever/test.cfm?Var1=val1var2=val2 etc..? And when you say shoot, like cflocation shoot, or in your cfm you're embedding the .mxml.swf? If you have debugging turn on, you'll see on your test.cfm page what URL var's exist. Jeremy Rottman wrote: I am doing some more testing, and I am trying to test with url based variables. When I call the test.cfm page, it shoots me to the flex page with the var I posted to the url. However, when I try to read the url with coldfusion, it tells me that my var is not defiend. Does anyone know if this is possible. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- 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/
[flexcoders] Re: How to create a binding from within an actionscript class file - Impossible?
I am trying to get a user message to display from within a validation class. When validation fails I want to retrieve the appropriate message so that it shows up in the default message display generated by Validator class. Thus, I do not know how I can bind to the mouseover message area from the view, it seems to me only the Validation class knows which field to bind to, at run time. Undoubtably this issue has been solved many times by you guys so please help me understand what I am doing --- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] wrote: I dont believe binding is a good use in the instance. What is the string in the class file used for? Is it used in displaying something? If so the value should probably be in the Model and bound to the View and not in a Class. Is it used for class logic? Probably better to take a step back and disect what you are trying to accomplish. One way (not necessarily good) is to pass a reference to a function in the class as a parameter of the Event object in the EventBroadcaster call. Then set this function reference in the execute method of the Command object to a private attribute. Then in the onResult method call use this attribute to return a call back to your class file with the data you want set. This is a lot of coupling and you really should look at what you are trying to accomplish before going this route. Renaun --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: No takers so I guess it is not possible? How do you Flex gurus get your model updated dynamically, or, am I asking in the wrong group? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: In my class file I call EventBroadcaster to dispatch an event that eventually retrieves a string into a Command.onResult(). I need that string back in my class file. So, I want to bind a variable in the class file to that onResult method. Could someone show me how to do this? Perhaps there is a way to instantiate mx:Binding in my class file some way, that would do it, but I can't figure it out. Or is there a better way (the right way) to do this without coupling the class file to the command file? Thanks, Libby 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: [flexcoders] Flex Actionscript firstChild nextSibling
Yes they are definitely available. I recall having a problem with using nodeValue. I think I used childNodes[0] instead. Per the docs, nodeValue only works on text nodes, any you are probably applying it to an element node. You might test with childNodes[0], to make sure you have the correct node. Or test with nodeName, which I recall works fine. Search the livedocs for XML class for a full listing of the methods/properties. http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/ht ml/wwhelp.htm Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flex_dba Sent: Tuesday, September 13, 2005 6:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Actionscript firstChild nextSibling I'm trying to send back the response from a webservice and populate a tree control with the results. I don't want to have to hardcode the element names to be able to retrieve the values. I saw firstChild nextSibling in a Flash2004 tutorial and was wondering if these are also available in Flex. Probably just using them wrong but when I display the value I'm getting undefined. This is the snippet I'm working with: function addNodesToTree(response) { if (response.nbta.pb!=null) { displayQuestion.text = response.firstChild.nodeValue; } else if(response.nbta.cs!=null) { displayQuestion.text = response.nextSibling.nodeValue; } else if(response.nbta.es!=null) { displayQuestion.text = ES; } The last one works, which I just just using to test if I got the correct response. Thanks in advance! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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] ColdFusion Flex: How to integrate CFCs, Flex, RemoteObjects, etc.? My Guide for Newbies...
Hi, It's amazing what desperation will do...also in a way, sad, that I had to try so long to get relatively simple functionality to work between CF and Flex. In almost 10 years or programming, this is easily one of the most frustrating challenges I've ever encountered. To say there's a lack of documentation on this subject is a huge understatement. Enough venting...so, for any of you struggling CF programmers out there pounding your head against the wall trying to integrate Flex with CF, here are the steps (or secrets). Let me just condition my instructions by saying that I'm not an expert in anyway on J2EE (and definitely not Flex) so I welcome any feedback. My explanations are from a newbie perspective. Also, I'd like to thank John Zhao of Macromedia, Tom Link's blog (http://tomlink.net/blog/index.cfm?mode=entryentry=B662BEF9-7E97-A3B0-E3FB286E23BDAA50), and the users of this forum for helping me a long the way to this solution. INSTALLATION AND DEPLOYMENT OF FLEX ON A J2EE SERVER Install Flex ontoa J2EE server (I use Websphere). The steps are quite clear and can be found at: http://www.macromedia.com/support/documentation/en/flex/1/install.html. You need to be a little familiar with the J2EE platform and installing WAR files. The trick here is that in order for CF and Flex to talk, you need to make sure you create a file in your CF root called 'crossdomain.xml'. It should have the following statements: cross-domain-policyallow-access-from domain="*" / /cross-domain-policy CALLING A CFC FROM FLEX The consensus in the Flex community seems to be that using the AMF protocol leads to the best performance and as such, calling RemoteObjectsis the data model of choice when integrating with CF. 1) Using the RemoteObject tag, call a CFC mx:RemoteObject id="ro" endpoint="http://gx270dev.net/flashservices/gateway" source="Model.mUpdate.fx_UpdateAuthorization" fault="mx.controls.Alert.show(event.fault.faultstring)" showBusyCursor="true" mx:method name="invUpdateAuthorization" result="doResult(event.result)"/ /mx:RemoteObject mx:RemoteObject id: Identifier of RemoteObject call. Will be called by ActionScript function below. endpoint: The Flash gateway is part of CFMX 7 (not sure about CFMX 6.1). Simply substitute your hostname and the path /flashservices/gateway. source: This should be the relative path (separated by dots instead of slashes) to the CFC you're calling. fault: Not entirely sure what this does, but I think it sends event errors to the debugger which then popup as alerts. showBusyCursor: Optional. Basically just shows the little clock while your CFC is being called. mx:method name: Name of function in CFC. result: ActionScript function that will handle the resultset from CF. The result keyword represents the type of event returned from Flex. 2) Write ActionScript function to call CFC I decided that the most efficient means to communicate with CFCs was to send single Arrays of parameters, instead of individual values, but it's your choice. In this example I've hardcoded them. ActionScript: /*The doClick() function will be called later in your MXML file*/ private function doClick():Void{ var QueryArray:Array = new Array(); /*Notice that the queries start at element '0', not 1 as in CF.*/ QueryArray[0] = "jricha";QueryArray[1] = 99;QueryArray[2] = "No";QueryArray[3] = "No"; */This is a call to the RemoteObject, its method, and passes the above query.ro.invUpdateAuthorization(QueryArray);} SETTING UP YOUR CFC 1) Calling the CFC You'll want your CFC to accept the Array and return Array of Structures. In this example, I call a query and the package the results accordingly to send back to Flex. cfcomponent cffunction name="invUpdateAuthorization" access="remote" returnType="Array" !--- Create an argument to accept your Flex array --- cfargument name="Input" required="true" type="Array" !--- Create array to return to Flex --- cfset var arrResult = ArrayNew(1)/ !--- I parsed the array into single local vars to use in my query ---cfset UserId = input[1] cfset CCode = input[2] cfset CFlag = input[3] cfset COAvailableFlag = input[4] !--- Call query--- cfinclude template="qry_UpdateAuthorization.cfm" !--- Loop over query result and insert each record into an individual structure and append to an array--- cfoutput query="qGetUpdateAuthorization"cfset stItem = StructNew()/cfset stItem["Function"] = #qGetUpdateAuthorization.Function#cfset stItem["Description"] = #qGetUpdateAuthorization.Description#cfset arrayAppend(arrResult,stItem)//cfoutput !--- Return Array to Flex--- cfreturn arrResult/ /cffunction/cfcomponent CREATE AN ACTIONSCRIPT FUNCTION TO ACCEPT CFC RESULTS 1) There will bea function that accepts the results from the CFC. It was earlier defined in our Remote Object method: mx:method name="invUpdateAuthorization" result="doResult(event.result)"/ This was a
[flexcoders] Re: Datagrid columns resize
Hi, I tend to do this by adding another element to the dataprovider which has the totals, then you use the same dataprovider for the second dataGrid but use the columnName of the totals to display them. I have modified your code below to show this. --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: I have a data grid with three columns. NAME AGE and WEIGHT. I want to be able to get the total of the age and weight columns and place them in the bottom row which you showed me how to do previously. Thanks. ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ public function setWidth(event){ if(event.target == _level0.mygrid){ mygrid2.getColumnAt(event.columnIndex).width = mygrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:VBox verticalGap=-1 width=400 mx:DataGrid id=mygrid width=100% columnStretch=setWidth (event); mx:Model id=TestSource source=test.xml/ mx:dataProvider{TestSource.testinfo}/mx:dataProvider mx:columns mx:Array mx:DataGridColumn headerText=name columnName=names / mx:DataGridColumn headerText=age columnName=age textAlign=right / mx:DataGridColumn headerText=weight columnName=weight textAlign=right/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid rowHeight=30 width=100% borderThickness=0 vGridLineColor=#FF hGridLineColor=#FF id=myGrid2 columnStretch=setWidth(event); headerHeight=0 rowCount=1 mx:dataProvider{TestSource.totals}/mx:dataProvider mx:columns mx:Array mx:DataGridColumn/ mx:DataGridColumn columnName=text textAlign=right / mx:DataGridColumn columnName=weighttextAlign=right / /mx:Array /mx:columns /mx:DataGrid /mx:VBox /mx:Application test testinfo namesname 1/names age32/age weight200/weight /testinfo testinfo namesname 2/names age40/age weight100/weight /testinfo testinfo namesname 3/names age23/age weight150/weight /testinfo testinfo namesname 2/names age55/age weight330/weight /testinfo totals textTotal Weight:/text weight780/weight /totals /test CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be confidential or privileged. If you are not an intended recipient, you must not read, copy, use, or disclose this communication. Please also notify the sender by replying to this message, and then delete all copies of it from your system. Thank you. digital_eyezed [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 09/13/2005 12:50 AM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] Re: Datagrid columns resize Can you explain a bit more about what you need? Thanks Iain --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Thank you, that's perfect. Would you be able to tell me the correct syntax to get compute the colums in the datagrid? thanks CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be confidential or privileged. If you are not an intended recipient, you must not read, copy, use, or disclose this communication. Please also notify the sender by replying to this message, and then delete all copies of it from your system. Thank you. digital_eyezed [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 09/12/2005 03:26 PM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] Re: Datagrid columns resize Sorry, remove the cellrenderer: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; backgroundColor=#FF mx:Script ![CDATA[ public function setWidth(event){ if (event.target == _level0.myGrid2){ myGrid.getColumnAt(event.columnIndex).width = myGrid2.getColumnAt(event.columnIndex).width ; } else if(event.target == _level0.myGrid){ myGrid2.getColumnAt(event.columnIndex).width = myGrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:DataGrid width=100% id=myGrid alternatingRowColors=[#CC,#FF] columnStretch=setWidth (event); marginBottom=0 mx:columns mx:Array mx:DataGridColumn headerText=Key / mx:DataGridColumn headerText=Value/ mx:DataGridColumn headerText=Test/ mx:DataGridColumn headerText=Test2/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid rowHeight=30
RE: [flexcoders] asking for a password then storing it
Samples, Flex Explorer, Miscellaneous. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 12:34 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] asking for a password then storing it Is there an application example I can look at that does this? -- 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 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: [flexcoders] Re: Datagrid columns resize
You could create a global variable (instance member) to act as the dataProvider for the totals DataGrid. It would be an array of objects, with properties for each column. Loop over the dataProvider, do the calculations, and update the variable in the result handler, or on cellEdit if the dg is editable. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 1:05 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Datagrid columns resize I have a data grid with three columns. NAME AGE and WEIGHT. I want to be able to get the total of the age and weight columns and place them in the bottom row which you showed me how to do previously. Thanks. ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ public function setWidth(event){ if(event.target == _level0.mygrid){ mygrid2.getColumnAt(event.columnIndex).width = mygrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:VBox verticalGap=-1 width=400 mx:DataGrid id=mygrid width=100% columnStretch=setWidth (event); mx:Model id=TestSource source=test.xml/ mx:dataProvider{TestSource.testinfo}/mx:dataProvider mx:columns mx:Array mx:DataGridColumn headerText=name columnName=names / mx:DataGridColumn headerText=age columnName=age textAlign=right / mx:DataGridColumn headerText=weight columnName=weight textAlign=right/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid id=mygrid2 height=22 width=100% resizableColumns=false sortableColumns=false mx:columns mx:Array mx:DataGridColumn headerText=totals textAlign=right / mx:DataGridColumn headerText=age textAlign=right / mx:DataGridColumn headerText=weight textAlign=right / /mx:Array /mx:columns /mx:DataGrid /mx:VBox /mx:Application test testinfo namesname 1/names age32/age weight200/weight /testinfo testinfo namesname 2/names age40/age weight100/weight /testinfo testinfo namesname 3/names age23/age weight150/weight /testinfo testinfo namesname 2/names age55/age weight330/weight /testinfo /test CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be confidential or privileged. If you are not an intended recipient, you must not read, copy, use, or disclose this communication. Please also notify the sender by replying to this message, and then delete all copies of it from your system. Thank you. digital_eyezed [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 09/13/2005 12:50 AM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] Re: Datagrid columns resize Can you explain a bit more about what you need? Thanks Iain --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Thank you, that's perfect. Would you be able to tell me the correct syntax to get compute the colums in the datagrid? thanks CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be confidential or privileged. If you are not an intended recipient, you must not read, copy, use, or disclose this communication. Please also notify the sender by replying to this message, and then delete all copies of it from your system. Thank you. digital_eyezed [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 09/12/2005 03:26 PM Please respond to flexcoders@yahoogroups.com To flexcoders@yahoogroups.com cc Subject [flexcoders] Re: Datagrid columns resize Sorry, remove the cellrenderer: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml backgroundColor=#FF mx:Script ![CDATA[ public function setWidth(event){ if (event.target == _level0.myGrid2){ myGrid.getColumnAt(event.columnIndex).width = myGrid2.getColumnAt(event.columnIndex).width ; } else if(event.target == _level0.myGrid){ myGrid2.getColumnAt(event.columnIndex).width = myGrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:DataGrid width=100% id=myGrid alternatingRowColors=[#CC,#FF] columnStretch=setWidth (event); marginBottom=0 mx:columns mx:Array mx:DataGridColumn headerText=Key / mx:DataGridColumn headerText=Value/ mx:DataGridColumn headerText=Test/ mx:DataGridColumn headerText=Test2/ /mx:Array /mx:columns
[flexcoders] Re: Datagrid columns resize
For Clarity: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; backgroundColor=#FF mx:Script ![CDATA[ public function setWidth(event){ if (event.target == _level0.myGrid2){ myGrid.getColumnAt(event.columnIndex).width = myGrid2.getColumnAt(event.columnIndex).width ; } else if(event.target == _level0.myGrid){ myGrid2.getColumnAt(event.columnIndex).width = myGrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:Model id=TestSource source=test.xml/ mx:DataGrid dataProvider={TestSource.testinfo} rowCount=4 width=100% id=myGrid alternatingRowColors=[#CC,#FF] columnStretch=setWidth(event); marginBottom=0 mx:columns mx:Array mx:DataGridColumn headerText=Names columnName=names / mx:DataGridColumn headerText=Ages columnName=age textAlign=right / mx:DataGridColumn headerText=Weights columnName=weight textAlign=right/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid dataProvider={TestSource.testinfo} rowHeight=30 width=100% borderThickness=0 vGridLineColor=#FF hGridLineColor=#FF id=myGrid2 columnStretch=setWidth (event); headerHeight=0 rowCount=1 mx:columns mx:Array mx:DataGridColumn / mx:DataGridColumn fontWeight=bold textAlign=right columnName=text / mx:DataGridColumn fontWeight=bold textAlign=right columnName=weights/ /mx:Array /mx:columns /mx:DataGrid /mx:Application And the XML: ?xml version=1.0 encoding=UTF-8? test testinfo namesname 1/names age32/age weight200/weight textTotal Weight/text weights780/weights /testinfo testinfo namesname 2/names age40/age weight100/weight text/ weights/ /testinfo testinfo namesname 3/names age23/age weight150/weight text/ weights/ /testinfo testinfo namesname 2/names age55/age weight330/weight text/ weights/ /testinfo /test --- In flexcoders@yahoogroups.com, digital_eyezed [EMAIL PROTECTED] wrote: Hi, I tend to do this by adding another element to the dataprovider which has the totals, then you use the same dataprovider for the second dataGrid but use the columnName of the totals to display them. I have modified your code below to show this. --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: I have a data grid with three columns. NAME AGE and WEIGHT. I want to be able to get the total of the age and weight columns and place them in the bottom row which you showed me how to do previously. Thanks. ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ public function setWidth(event){ if(event.target == _level0.mygrid){ mygrid2.getColumnAt(event.columnIndex).width = mygrid.getColumnAt(event.columnIndex).width ; } } ]] /mx:Script mx:VBox verticalGap=-1 width=400 mx:DataGrid id=mygrid width=100% columnStretch=setWidth (event); mx:Model id=TestSource source=test.xml/ mx:dataProvider{TestSource.testinfo}/mx:dataProvider mx:columns mx:Array mx:DataGridColumn headerText=name columnName=names / mx:DataGridColumn headerText=age columnName=age textAlign=right / mx:DataGridColumn headerText=weight columnName=weight textAlign=right/ /mx:Array /mx:columns /mx:DataGrid mx:DataGrid rowHeight=30 width=100% borderThickness=0 vGridLineColor=#FF hGridLineColor=#FF id=myGrid2 columnStretch=setWidth(event); headerHeight=0 rowCount=1 mx:dataProvider{TestSource.totals}/mx:dataProvider mx:columns mx:Array mx:DataGridColumn/ mx:DataGridColumn columnName=text textAlign=right / mx:DataGridColumn columnName=weighttextAlign=right / /mx:Array /mx:columns /mx:DataGrid /mx:VBox /mx:Application test testinfo namesname 1/names age32/age weight200/weight /testinfo testinfo namesname 2/names age40/age weight100/weight /testinfo testinfo namesname 3/names age23/age weight150/weight /testinfo testinfo namesname 2/names age55/age weight330/weight /testinfo totals textTotal Weight:/text weight780/weight /totals /test CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be
[flexcoders] ValidationFailedEvent + Validator
Can anyone point me to an example that utilizes these objects, especially the errors array on the ValidationFailedEvent object? I need to load my validation error messages from a resource bundle at startup, and then find and display the appropriate one via Validator.doValidation(). I read the Flex help and also the Javadoc, but still don't get it. Thanks, Libby 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] Flex and Remote Objects
Anyone have links to a good tutorial on Flex and Remote Objects? I've tried to read the LiveDocs (http://livedocs.macromedia.com/flex/15/flex_docs_en/2244.htm) but this is just too dry and bland. A tutorial or links to not so bland information would be appreciated. Thanks! -- Auxilium meum a Domino 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: [flexcoders] Flex and Remote Objects
For a very basic example, I took the RemotObject sample from FlexExplorer and moved it to my own app, and noted what it took to get it working, The example mxml file is reasonably commented. This example uses AS to build and invoke the request, rather than declarative mxml. http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectI D=18 Also, search for RemoteObject on the site above, perhaps some of the other examples will be useful. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Morphis Sent: Tuesday, September 13, 2005 5:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex and Remote Objects Anyone have links to a good tutorial on Flex and Remote Objects? I've tried to read the LiveDocs (http://livedocs.macromedia.com/flex/15/flex_docs_en/2244.htm) but this is just too dry and bland. A tutorial or links to not so bland information would be appreciated. Thanks! -- Auxilium meum a Domino -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- 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/
[flexcoders] Cairngorm and Eclipse validation - xmlns issues
We're using Eclipse as our IDE (shades of Zorn) and are having a problem with the Cairgorm xmlns. Adding xmlns:cairngorm=http://www.iterationtwo.com/cairngorm; to a file causes Eclipse to complain about the namespace. We had a similar problem with the xmlns:mx=http://www.macromedia.com/2003/mxml; which was solved by adding the mxml schema file as a XML Catalog Entry in Eclipse. Does anyone have a schema or dtd for the cairngorm namespace? We tried adding cairngorm-manifext.xml, but that did not make Eclipse very happy. I'm guessing another solution would be to add the cairngorm source files to eclipse, but I think this would require a seperate xmlns per cairngorm subdirectory. 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] Cairgorn Bug?
Hi there, There is something strange going with cairngorm in the application am currently developting. It seams that when I do a broadcast the lines of code beneth if doesn't execute. I do this. EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj);trace(TEST); and the trace never apears or the code beneth it never gets executed. Any ideas? Omar Ramos System Developer -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] How to check existance of file
Hi, Can someone tell me how to check existence of file. Checked several docs. But found nothing useful. I tried to do this with getURL().When use it, it is trying to open test.txt. I don't want to open. Just want to check it's existence. thanks - if(getURL(../test.txt)==false) { alert(File don't exist); } else alert(File exists); } 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] Checking existance of file
Keeping in mind that you cannot access files on the client file system, only on the server, you will need to use the file system functionality available in your middle tier environment (Java? DOT.NET?). You could use HTTPService to invoke that functionality and return the result to Flex. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Prasad Dhananjaya Sent: Tuesday, September 13, 2005 6:03 AM To: FlexML Subject: [flexcoders] Checking existance of file Hi, Can someone tell me how to check existence of file. Checked several docs. But found nothing useful. I tried to do this with getURL(). But it is trying to open test.txt. I don't want to open. Just want to check it's existence. thanks - if(getURL(../test.txt)==false) { alert(File don't exist); } else alert(File exists); } - -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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] Re: HTTPService problems with SSL when using IE
hey, we are also running into similar issues.. works on every browser (FF / Opera / netscape) except IE. did you find a solution yet viraf?! thanks pushkar On 6/22/05, viraf_bankwalla [EMAIL PROTECTED] wrote: The swf is being served over https.Also, if I type in the URL withthe params the data is returned correctly.I am not sure what the problem is but suspect that it is related to HTTPS/FLEX/IE.- viraf--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Is your SWF being served over HTTPS as well?If your SWF isserved over HTTP but the web service is at HTTPS you will need acrossdomain.xml file on your HTTPS server to get the player to connect.Of course if Firefox is working correctly in the same config it doesn't seemlike that would be the problem. We have seen IE bugs with HTTPS that's usually related to bugs in the app server.Check your app server support pages and see ifanything 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 usingIE I am having the exact same problem...different circumstances though. I am trying to connect to my HTTPS .NET web services on IIS5 W2Kwhich work fine in Firefox but not in IE!! Heres the killer that mightlead 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. Iam 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 thisis 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 appearto 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 usingIE 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] 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/ -- www.pushkar.netMy World, Your View! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Cairngorm and HttpService breaks event.call
I'm trying to get Cairngorm to work with HttpServices. It appears that event.call.resultHandler on the service handler does not work with HttpServices. Has anyone gotten this to work? It looks like it is not possible given my results below. The call property is a urlencoded parameter string ... not an object which can hold an event handler function. FYI, a prior thread suggests that it does work: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06287.html In the case below the event.call object is a string with value password=asdusername=test. Works the same if you use send(request) where request is an object with properties password and username. If you add resultHandler/faultHandler delegates to the request object *before* the send, they will show up appended with 's in the call string ... with the function object turned into a text representation. Not surprisingly, this doesn't work too well. Setting properties on the result of the send() appears to have no effect no matter when you set them. var call = ServiceLocator.getInstance().getService(loginService); var request = {username: test, password: asd}; request.resultHandler = Delegate.create(this, this.onResult); request.faultHandler = Delegate.create(this, this.onFault); call.send(request); So can this be made to work for HttpServices? The last thing for me to try is to enable the proxy in the service, but I wouldn't expect that to change anything (and we aren't in a situation where we want to use the proxy). Here's my test case: ?xml version=1.0 encoding=utf-8? cairngorm:ServiceLocator xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:cairngorm=http://www.iterationtwo.com/cairngorm; mx:HTTPService id=loginService url=login.jsp showBusyCursor=true useProxy=false result=onResult(event) fault=event.call.faultHandler(event) method=POST mx:request usernametest/username passwordasd/password /mx:request /mx:HTTPService mx:Script public function onResult( event : Object ) : Void { mx.core.Application.alert(event.call); } /mx:Script /cairngorm:ServiceLocator I'm guessing that HttpServices are a quiet backwater of the framework and don't get much use. I have an idea of a workaround, but it's a hack. Attach a unique identifier to the request which can be mapped to the proper event callback delegate. The service callback will call a function which looks up the delegate via the id and calls it with the event. Short of getting event.call to work, is there another workaround? Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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/