Re: [flexcoders] Flex 2.0 Beta3 | Getting data from DragSource Object
On Monday 05 June 2006 18:27, Dennis Riedel wrote: What I want to get now is the data within this DragSource object from the item I am dragging. The documentation (LiveDocs) says something about an IDataProvider Interface but I cannot find it anywhere in the LiveDocs. I built last week a thing that had drag/drop panels. The way outlined in the Flex docs is that you store the data you want to pass on in the drag object (dragSource). I've attached the sample code from the docs. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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/ ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.core.DragSource; import mx.managers.DragManager; import mx.events.*; import mx.containers.Canvas; // Called when the user clicks the mouse on either colored canvas. // Initializes the drag. private function dragIt(event:MouseEvent, text:String, format:String):void { // Get the drag initiator component from the event object. var dragInitiator:Canvas=Canvas(event.currentTarget); // Create a DragSource object. var ds:DragSource = new DragSource(); // Add the data to the object. ds.addData(text, format); // Create a Canvas container to use as the drag proxy. // You must specify a size for the proxy image, // or else it will not appear. var canvasProxy:Canvas = new Canvas(); canvasProxy.width=30; canvasProxy.height=30; canvasProxy.setStyle('backgroundColor', dragInitiator.getStyle('backgroundColor')); // Call the DragManager doDrag() method to start the drag. // For information on this method, see // the Initiating the drag section. DragManager.doDrag(dragInitiator, ds, event, canvasProxy); } // Called if the user dragged a proxy onto the drop target canvas. private function doDragEnter(event:DragEvent):void { // Get the drop target component from the event object. var dropTarget:Canvas=Canvas(event.currentTarget); // Accept the drag only if the user is dragging data // identified by the 'color' format value. if (event.dragSource.hasFormat('color')) { DragManager.acceptDragDrop(dropTarget); } } // Called if the target accepts the dragged object and the user // releases the mouse button while over the canvas. // Handles the dragDrop event for the List control. private function doDragDrop(event:DragEvent):void { // Get the data identified by the color format from the drag source. var data:Object = event.dragSource.dataForFormat('color'); // Set the canvas color. myCanvas.setStyle(backgroundColor, data); } ]] /mx:Script !-- A horizontal box with red and green canvases the user can drag -- mx:HBox mx:Canvas
Re: [flexcoders] sharing images between projects
I've tried toinsert an image from my shared/assets/images folder using the flex properties panel, so I browsed to the image that I want to use and when I'm done I see that flex link it with an absolute path: mx:Image source=file:///P|/cnhFlex/shared/assets/images/ai.png / while if I move the assets folder in to the project1 folder it show a relative path: mx:Image source=assets/images/ai.png / this make me think that although I've created a source path that point to my shared folder, felxbuilder does not recognize it as part of the project, at list for what concern images and swf. What is the best wait to share assets between projects? Is there something wrong in what I'm doing? When I'm talking about projects I mean different application that belong to the same customer, that have different functionality but share many assets and even some classes. Should I move all the applications to the same project? I thought it would be better to keep each apps in to is own project and share the assets and classes that they have in common using a shared folder from the source path. Could some one give me some advice for this topics? thanks. On 6/6/06, Paolo Bernardini [EMAIL PROTECTED] wrote: I've tryed, but no luck On 6/6/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 06 June 2006 10:08, Paolo Bernardini wrote: But then when I try to use any file in that folder, it seems that flexBuilder isn't able to find it: [Embed(shared/assets/images/windows.png)] public var pcIcon:Class; Don't you need a '../' on the front of your path ?-- Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex 1.5 || DataGrid + CellRenderer
Hi everybody! I have a problem with datagrid dataprovider and cellrenderer refreshing. Objective: From a comboboxI build a matrix into a datagrid. I want to refresh the datagrid each time I change my choice. Problem: No refresh of the cellrenderer into the datagrid // // Here is a example of the CellRenderer I use ?xml version="1.0" encoding="utf-8"?mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" height="400"mx:Script source="asscripts/MatrixCellRendererScripts.as" /mx:ComboBoxid="combo"initialize="{ initializeMatrixValue( event ) }" change="{ modifyMatrixValue( event ) }" dataProvider="{ this.getRuleCellRendererDataProvider() }"width="120"x="0"y="0" //mx:Canvas // // Here is the code I use to generate the columns of my datagrid [...] // Column definitionfor (var i:Number=0; inbOfColumns ; i++){var col:DataGridColumn = new DataGridColumn();col.colNum = i;col.headerText = matrix.getColumnHeaders()[i];col.columnName = matrix.getColumnNames()[i];switch ( matrix.getColumnTypes()[i] ){case "informative":col.styleName = "informative";col.editable = false;break;case "input":col.editable = false;col.width = 140;break;case "output":col.styleName = "output";if (col.cellRenderer == undefined)col.cellRenderer = this.initCellRenderer( col.columnName );col.width = 180;break;default:break;}col.sortable = false;dg.addColumn( col );} [...] The first time The result is what I'm waiting for. But at the second time, each column keep the cell renderer of the previous time. Even if I re-build the dataGrid each time with this kind of code. for (var i:Number=0; idg.columnNames.length; i++){var col:DataGridColumn = new DataGridColumn();col = dg.getColumnAt( i );delete col.cellRenderer;}dg.dataProvider = [];dg.columns = []dg.columnNames = []; I thank you for your help. David ** Coface facilite les echanges entre les entreprises partout dans le monde. Pour cela, elle offre toutes les entreprises des solutions pour grer, financer et protger leur poste client : information et notation mondiale d'entreprises, gestion et recouvrement de crances , affacturage et assurance-crdit. Coface est notee AA par Fitch Ratings et Aa3 par Moody's. Coface facilitates business-to-business trade throughout the world by offering companies solutions to help them manage, finance and protect their receivables : information and company ratings, receivables management, receivables finance and protection. Coface is rated AA by Fitch ratings and Aa3 by Moody's. ** __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] sharing images between projects
Actually I was wrong, adding the extra ../ as Tom suggested solved the problem, but doing this means that adding the shared folder to the source path it's useless at least for my purpose (sharing assets), and if I delete it, it still works. My questions still remain: What is the best wait to share assets between projects? Should I move all the applications to the same project? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] 1.5 - 2.0 Migration, my final error: Definition UIComponent could not be found.....
On Tuesday 06 June 2006 19:13, Tracy Spratt wrote: The problem is that the error panel does not indicate a file, and line 15 does not appear to be significant in any file I have looked at. Even if you compile with debug on ? Furthermore, UIComponent is a base class, or at least a very fundamental class and I have not needed to import it for any other app. Yes, which is why it might be as simple as a screwed up import or something. Are you using the command line compiler ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/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] Release date? Maybe 15th
On Wednesday 07 June 2006 05:29, Matt Chotin wrote: sub-$1000 and that the SDK is free and there will be a free version of FDS. What is 'FDS' in this sense ? The stuff that does the 'automatic' updates from Flex via an interface CFC ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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: Alternative to firstChild, lastChild and nextSibling
XMLDocument is the old XML object, which has firstChild, nextSibling etc.Use XML to use e4x.public var xml_object:XML = new XML();Peter On 6/7/06, Charles [EMAIL PROTECTED] wrote: Hi guys, Thanks for the replies. But I should mention that I've tried that before. I get no output...blank. I actually used that before when my data provider was an ArrayCollection, or an HTTPService. But now that it's an XMLDocument, for some reason, it doesn't work, and the only thing that does is by using firstChild and lastChild. Just in case I am doing something totally wrong here, I'll try and be a little more specific. Here is a simpler version of what I am trying to do (if you are so inclined,you can grabthe actual .mxml file here in case you wanted to see a little clearer)... ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=verticalmx:Script![CDATA[public var xml_object:XMLDocument = new XMLDocument; public function ParseXML():void{xml_object.ignoreWhite = true;xml_object.parseXML(Item + ItemID11579339/ItemID + SiteUS/Site + TitleHalo 2 (Xbox)/Title + CurrencyUSD/Currency + SiteHostedPicture + GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType + /SiteHostedPicture + PaymentMethodsPayPal/PaymentMethods + /Item); everything.text = xml_object.firstChild.toString();// returns full XML string - OK!//just_item_id = xml_object.Item.ItemID.toString();// ERROR - Access of possibly undefined property Item //just_item_id = xml_object.Item.toString();// ERROR - Access of possibly undefined property Item//just_item_id = xml_object.childNodes.Item;// no error, but displays nothing} // ParseXML ]]/mx:Script mx:Label id=everything/!-- should show full xml after button is clicked --mx:Label id=just_item_id/!-- should only show ItemID after button is clicked -- mx:Button label=click me click=ParseXML()//mx:Application Thanks for the help! Charles --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Compare it to the Microsoft XML DOM, which has dozens of classes. XML, huh, one class? How can that be? Tracy From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Tuesday, June 06, 2006 6:40 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Alternative to firstChild, lastChild and nextSiblingYou got that right! E4x can do some crazy things. Sometimes I wonder if I am kidding myself at how easy it is to use :) Peace, Mike On 6/6/06, Tracy Spratt [EMAIL PROTECTED] wrote: Yep. And the subtext to my style of response is If you are not using 2.0 yet, here is one very good reason to make the move. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Tuesday, June 06, 2006 6:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Alternative to firstChild, lastChild and nextSiblingTracy :-( That is what I was getting to :) I guess being direct works ... HA Peace, Mike On 6/6/06, Tracy Spratt [EMAIL PROTECTED] mailto:tspratt@... wrote: E4x: xml_object.PaymentMethods; //PayPal xml_object.SiteHostedPicture.GalleryType; //http://.Tracy From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Charles Sent: Tuesday, June 06, 2006 5:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Alternative to firstChild, lastChild and nextSiblingHi everyone,I am trying to parse some XML for relevant info using firstChild, lastChild, and nextSibling. For instance, given an XML file like...Item ItemID11579339/ItemID SiteUS/Site TitleHalo 2 (Xbox)/Title CurrencyUSD/Currency SiteHostedPicture GalleryType http://somesite.com/somepicture.jpg/GalleryType /SiteHostedPicture PaymentMethodsPayPal/PaymentMethods /Item...when I try to get the ItemID, I just go xml_object.firstChild.firstChild. But, when I try and get things from the bottom, I would have to go something like xml_object.firstChild.firstChild.firstChild.firstChild.firstChild.firstC hild.firstChild (which would give me PaymentMethods...I think). I could use xml_object.lastChild.firstChild, but that's not the point. I would just like to know if there is an alternative to this sort of accessing of the XML fields?My main concern is that for some XML files, the structure is slightly different (i.e. the Site/Site tags are not there). So, the long call to access PaymentMethods for one XML file would not work on another. Rather, it would return SiteHostedPicture for those. Any help would be great.Thanks Charles -- What goes up, does come down. -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Re: [flexcoders] Re: Beta3 on win 2003.
On Tuesday 06 June 2006 18:43, sufibaba wrote: Do you know if the CF-flex connector works for CF7 Standard or is an CF enterprise thing. As far as I know it works on both, for the beta. I *think* Adobe have said it'll be a free add on for both, maybe with some limit on connections, when it is released. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?
On Tuesday 06 June 2006 23:55, Jason Y. Kwong wrote: Ya, that's always an option, but it's a little disruptive cause it closes all the nodes that the user opened. Oh well, for now I'm just showing the root node. IMVHO, that's a bug. Unless the id of an open node, or the nodes depth have changed, it should stay open. More often than not, that's what you would want to happen, no ? What do others think ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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] Release date? Maybe 15th
FDS = Flex Data Services http://labs.adobe.com/technologies/flexdata_services2/ There are some great videos on labs, and presentations, that deep-dive the value-add that Flex Data Services brings to your applications. Very exciting stuff! Best, Steven Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: 07 June 2006 11:25 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Release date? Maybe 15th On Wednesday 07 June 2006 05:29, Matt Chotin wrote: sub-$1000 and that the SDK is free and there will be a free version of FDS. What is 'FDS' in this sense ? The stuff that does the 'automatic' updates from Flex via an interface CFC ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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 Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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: Beta3 on win 2003.
Tom, not everything is available in the standard edition The Flex2 Event Gateway is only available for the enterprise version. João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: quarta-feira, 7 de Junho de 2006 11:18 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Beta3 on win 2003. On Tuesday 06 June 2006 18:43, sufibaba wrote: Do you know if the CF-flex connector works for CF7 Standard or is an CF enterprise thing. As far as I know it works on both, for the beta. I *think* Adobe have said it'll be a free add on for both, maybe with some limit on connections, when it is released. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] help me
Methods | Examples Frames | No Frames mx.servicetags please help me over this example. i just want to fetch a java object string with the help of http remote object.please if you kind Class RemoteObjectmx.servicetags.Service mx.servicetags.RemoteObjectclass RemoteObject extends mx.servicetags.Service The mx:RemoteObject tag gives you access to the methods of Java objects without manually configuring the objects as SOAP-based web services. You can use the mx:RemoteObject tag to interact with Java objects using Action Message Format (AMF) encoding. Although the RemoteObject class extends the Service class, the header() and setEndpointURI() methods do not apply. MXML Syntax The mx:RemoteObject tag accepts the following properties: mx:RemoteObject concurrency="multiple|single|last" endpoint="No default." fault="No default." id="No default." protocol="http|https" result="No default." serviceName="No default." showBusyCursor="false|true" source="No default." type="stateless-class|stateful-class" / These properties are discussed in the "Using Data Services" chapter of Developing Flex Applications at http://livedocs.macromedia.com/flex. Note: To access a remote object service over HTTPS from a Flex application that is served over HTTP, you must set the protocol property to https. mx:RemoteObject may have multiple mx:method tags which have the following properties: mx:method concurrency="multiple|single|last" fault=No default. name=No default, required result=No default. / It then may have a single mx:arguments child tag which in turn may have child tags. Each child tag is a parameter to the RemoteObject method, where the first tag is the first parameter, the second tag is the second parameter, etc. The name of the tag is ignored. Click here to view the Examples MethodsMethods inherited from class mx.servicetags.ServiceaddHeader addSimpleHeader clearHeaders clearUsernamePassword setEndpointURI setUsernamePassword ExamplesRemoteObjectExample.mxml?xml version="1.0" encoding="utf-8"?!-- Steps to run this example locally: 1. - Copy the java code pasted below and save it as RemoteInfo.java under WEB-INF/classes/example folder (Java Objects should be in Flex web application's classpath).- Compile the RemoteInfo.java file. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Start of RemoteInfo.java_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _/** * Simple Java Class, used to demonstrate RemoteObject Tag * **/package example;public class RemoteInfo {public String getInfo() { String info; info = "Working with remote object services." + '\n' + "- You can use the mx:RemoteObject tag to call methods on Java objects " + '\n' + " that reside on the Java application server on which Flex is running. " + '\n' + '\n' + "The mx:RemoteObject tag uses AMF, the encoding used in Macromedia Flash Remoting. " + '\n' + "AMF transport is faster and uses less network bandwidth than SOAP transport. " + '\n' + '\n' + "- You can call methods on the following types of Java objects: " + '\n' + " Objects in the Flex web application's classpath " + '\n' + " Session servlet (used to access session variables). " + '\n' + "_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ";return info;} } _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ End of RemoteInfo.java_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _2. Edit flex-config.xml file to add example folder to unnamed whitelist of remote-objects as shown below. unnamed sourceexample.*/source /unnamed 3. Example should run after copying RemoteObjectExample.mxml code onto your flex server. --!-- Simple example to demonstrate the RemoteObject -- mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="#FF"mx:RemoteObject id="remoteTagInfo" source="example.RemoteInfo" mx:method name="getInfo" result="resultHandler(event.result)"/ /mx:RemoteObjectmx:Script ![CDATA[ var infoStr:String; function getdata() { remoteTagInfo.getInfo(); } function resultHandler(result) {infoStr= result;} ]] /mx:Scriptmx:Panel title="Remote Object Panel" width="60%" height="45%"mx:Button label="Get Data" click="getdata();"/ mx:TextArea text="{infoStr}" width="100%" height="100%"//mx:Panel/mx:Application No comments found http://livedocs.macromedia.com/flex/15/asdocs_en/mx/servicetags/RemoteObject.html Devis [EMAIL PROTECTED] wrote:no, i wish to use
[flexcoders] Re: Extracting Form Parameters in Remote Class (Flex 2 Beta 3)
Hi Tom Could you please elaborate on this? A small code sample will be of great help. Rohan --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 06 June 2006 09:21, tinywhistles wrote: flex.messaging.FlexContext.getHttpRequest().getParameter (firstName). If you want to pass arguments into the remote method, you have to put them in your call to it in getdata(). -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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] unsubscribe
unsubscribe Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.
Hi, I am trying to use this example to get Flex 2.0 Beta 3, Mystic, and CF 7.02 to work together but having some problems. If someone has a few moments to help that would be great, there is not much code to struggle through and this example is posted on the Macromedia/Adobe Site. I am using CF 7.02 with the built in web server, Flex 2.0 Beta 3, FDS, with CF Extensions. The code I am trying is here: http://download.macromedia.com/pub/labs/flex/2/b3_usingcfwithflex_0503.pdf. This is posted on the Macromedia site. Has anyone gotten this to work? I am trying to follow the code in "section 1" of this PDF. It specifically states: "To specify a CFC to connect to, you do one of the following:" This seems to mean I can use a "Named Resource" OR specify the full path to the cfc in the source attribute which is what I am trying to do. I know the Flex can see my CFC and that this is not a path issue or a case where it can't find the CFC because I accidentally declared two methods with the same name, compiled the Flex App and ran it, and it told me that I can't declare two methods with the same name obviously. The error I am getting when clicking "Get Secure Data" is: [RPC Fault faultString="Didn't receive an acknowledge message" faultCode="Server.Acknowledge.Failed" faultDetail="Was expecting mx.messaging.messages.AcknowledgeMessage, but received null"]at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()at mx.rpc::Responder/fault()at mx.rpc::AsyncRequest/fault()at ::NetConnectionMessageResponder/NetConnectionChannel.as$42:NetConnectionMessageResponder::resultHandler()at mx.messaging::MessageResponder/result()The MXML File: ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute" mx:Script![CDATA[import mx.rpc.events.ResultEvent;import mx.utils.ObjectUtil;import mx.controls.Alert;import mx.rpc.events.FaultEvent;private function logIn():void{cf.setRemoteCredentials(this.username.text, this.password.text);}private function logOut():void{cf.setRemoteCredentials(null, null);cf.logoutuser();}private function getData():void{cf.getData();}private function serverFault(event:FaultEvent):void{Alert.show( ObjectUtil.toString(event.fault) );Alert.show( "error" );}private function serverResult(event:ResultEvent):void{Alert.show( ObjectUtil.toString(event));Alert.show( "success" );}]]/mx:Scriptmx:RemoteObject id="cf" destination="ColdFusion" source="myapp.com.menu"mx:method name="getData" result="serverResult(event)" fault="serverFault(event)" /mx:method name="logoutuser" //mx:RemoteObjectmx:Form x="10" y="10"mx:FormItem label="username"mx:TextInput id="username" text="admin"//mx:FormItemmx:FormItem label="password"mx:TextInput id="password" text="adminpwd"//mx:FormItemmx:FormItem direction="horizontal"mx:Button label="Login" click="logIn();"/mx:Button label="Logout" click="logOut()"//mx:FormItemmx:Button label="Get Secure Data" click="getData();"//mx:Form /mx:Application This seems to be a basic app. It only has 3 files. The mxml file, the cfc and the application.cfm file. Can anyone try this or shed some light. The app loads fine no errors. I click "Login" It sets some cookie no errors at all. I click "Logout" and it errors with : ArgumentError: Error #2004: One of the parameters is invalid. I click "Get Secure Data" and I get the big error message I displayed above. Any help appreciated. Thanks, -MR __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] RemotingConnection not found in Mike Potter's Flex2AMFPHP tutorial
Phil So do you mean that you put this RemotingConnection.as file in the same DIR as the mxml file? I'm using Flex 1.5 and this example is not working for me and complaining about the same thing. I've also tried to take the package declaration out (as I'm not sure if Flex1.5 likes package declarations) and it still doesn;t work Thanks again Duncan Phil Marston wrote On 06/02/06 12:01,: OK - so looks like I dumb! For those of you who also turn out to be dumb ;-p when Mike speaks about you already having RemotingConnection.as at the root of your project you actually need to save the follow package code as RemotingConnection.as and then you WILL have it! I've wasted a day and half on this! jeesh HTH someone else Phil Marston wrote: I think I've traced it to not having the flash.net.* package installed (though Flex Builder isn't throwing a complaint about that it does say it doesn't know where it is) where can I get this package/library? cheers, Phil Phil Marston wrote: Hi, I thought I'd seen this covered somewhere but cant find it. I'm trying Mike Potter's tutorials on Flex2 and PHP and AMFPHP found here http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP and Flex is throwing a wobbly about the line; public var gateway : RemotingConnection; with the error Type was not found or was not a compile-time constant: RemotingConnection. Can anyone shed light on this or point me in the right direction? Cheers, Phil -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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 ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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] two tabnavigators with different tab colors?
hi, i have two TabNavigators in flex 1.5 i want to give each of them different tab colors. fillColors is not working on a TabNavigator but only on Tab in the style declartion. so how do i give each navigator different tab colors? Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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] two tabnavigators with different tab colors?
I think you may be looking for tabStyleName: TabNavigator { fillColors: #FF, #CC; tabStyleName: myTabStyle; } .myTabStyle { fillColors: #FF, #CC; } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] two tabnavigators with different tab colors? hi, i have two TabNavigators in flex 1.5 i want to give each of them different tab colors. fillColors is not working on a TabNavigator but only on Tab in the style declartion. so how do i give each navigator different tab colors? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.
I feel you Malik, Good chance it has to do with the Destination in your RemoteObject. I skipped that example though, but I will take a look at it soon. In the same doc Im getting problems with the use Event Gateway Mail Example. Compiler is throwing a few errors Example had mx:Consumer id=consumer destination=Gateway1 I had to change it to mx:Consumer id=consumer destination=ColdFusionGateway To get it to compile Also the producer properties public var pro:mx.messaging.Producer; public function initApp() { pro = new mx.messaging.Producer(); pro.destination = gateway1; //Error, Blows up when I hit Send, Obviously Gateway1 doesnt exist pro.resendAttempts = 5; //Error, Access of possibly undefined property resendAttempts through a reference with static type mx.messaging:Producer pro.resendInterval = 5000; //Error, Access of possibly undefined property resendInterval through a reference with static type mx.messaging:Producer A weird one considering the docs say both are valid properties I had to comment both lines out for it to compile A False import import mx.messaging.Message; Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of malik_robinson Sent: Wednesday, 7 June 2006 6:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors. Hi, I am trying to use this example to get Flex 2.0 Beta 3, Mystic, and CF 7.02 to work together but having some problems. If someone has a few moments to help that would be great, there is not much code to struggle through and this example is posted on the Macromedia/Adobe Site. I am using CF 7.02 with the built in web server, Flex 2.0 Beta 3, FDS, with CF Extensions. The code I am trying is here: http://download.macromedia.com/pub/labs/flex/2/b3_usingcfwithflex_0503 .p df. This is posted on the Macromedia site. Has anyone gotten this to work? I am trying to follow the code in section 1 of this PDF. It specifically states: To specify a CFC to connect to, you do one of the following: This seems to mean I can use a Named Resource OR specify the full path to the cfc in the source attribute which is what I am trying to do. I know the Flex can see my CFC and that this is not a path issue or a case where it can't find the CFC because I accidentally declared two methods with the same name, compiled the Flex App and ran it, and it told me that I can't declare two methods with the same name obviously. The error I am getting when clicking Get Secure Data is: [RPC Fault faultString=Didn't receive an acknowledge message faultCode=Server.Acknowledge.Failed faultDetail=Was expecting mx.messaging.messages.AcknowledgeMessage, but received null] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa ul tHandler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at ::NetConnectionMessageResponder/NetConnectionChannel.as$42: Ne tConnectionMessageResponder::resultHandler() at mx.messaging::MessageResponder/result() The MXML File: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import mx.utils.ObjectUtil; import mx.controls.Alert; import mx.rpc.events.FaultEvent; private function logIn():void{ cf.setRemoteCredentials(this.username.text, this.password.text); } private function logOut():void { cf.setRemoteCredentials(null, null); cf.logoutuser(); } private function getData():void { cf.getData(); } private function serverFault(event:FaultEvent):void{ Alert.show( ObjectUtil.toString(event.fault) ); Alert.show( error ); } private function serverResult(event:ResultEvent):void{ Alert.show( ObjectUtil.toString(event)); Alert.show( success ); } ]] /mx:Script mx:RemoteObject id=cf destination=ColdFusion source=myapp.com.menu mx:method name=getData result=serverResult (event) fault=serverFault(event) / mx:method name=logoutuser / /mx:RemoteObject mx:Form x=10 y=10 mx:FormItem label=username mx:TextInput id=username text=admin/ /mx:FormItem mx:FormItem label=password mx:TextInput id=password text=adminpwd/ /mx:FormItem mx:FormItem direction=horizontal mx:Button label=Login click=logIn();/ mx:Button label=Logout click=logOut()/ /mx:FormItem mx:Button label=Get Secure Data click=getData ();/ /mx:Form /mx:Application This seems to be a basic app. It only has 3 files. The mxml file, the cfc and the application.cfm file. Can anyone try this or shed some light. The app loads fine no errors. I click Login It sets some cookie no errors at all. I click Logout and it errors with : ArgumentError: Error #2004: One of the parameters is invalid. I click Get Secure Data and I get the big error message I displayed above. Any help appreciated. Thanks, -MR
Re: [flexcoders] Re: Cairngorm Sample Store
Any further news ? http://www.richinternetapps.com/archives/000148.html is the nearest I can get. Compiling with the latest cairgorm2 .swc seems to work OK. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.
I can't get this CFMail example to work. The destination totally fails for me. Where should the destination that I use for Producer and Consumer be defined? I have it in, C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex-message-service.xml service adapters adapter-definition id=cfgateway/ destination id=ColdFusionGateway adapter ref=cfgateway / My App is running on, http://localhost:8700/flex/waitlist/ Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Wednesday, 7 June 2006 10:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors. I feel you Malik, Good chance it has to do with the Destination in your RemoteObject. I skipped that example though, but I will take a look at it soon. In the same doc I'm getting problems with the use Event Gateway Mail Example. Compiler is throwing a few errors Example had mx:Consumer id=consumer destination=Gateway1 I had to change it to mx:Consumer id=consumer destination=ColdFusionGateway To get it to compile Also the producer properties public var pro:mx.messaging.Producer; public function initApp() { pro = new mx.messaging.Producer(); pro.destination = gateway1; //Error, Blows up when I hit 'Send', Obviously Gateway1 doesn't exist pro.resendAttempts = 5; //Error, Access of possibly undefined property resendAttempts through a reference with static type mx.messaging:Producer pro.resendInterval = 5000; //Error, Access of possibly undefined property resendInterval through a reference with static type mx.messaging:Producer A weird one considering the docs say both are valid properties I had to comment both lines out for it to compile A False import import mx.messaging.Message; Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson Sent: Wednesday, 7 June 2006 6:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors. Hi, I am trying to use this example to get Flex 2.0 Beta 3, Mystic, and CF 7.02 to work together but having some problems. If someone has a few moments to help that would be great, there is not much code to struggle through and this example is posted on the Macromedia/Adobe Site. I am using CF 7.02 with the built in web server, Flex 2.0 Beta 3, FDS, with CF Extensions. The code I am trying is here: http://download.macromedia.com/pub/labs/flex/2/b3_usingcfwithflex_0503 .p df. This is posted on the Macromedia site. Has anyone gotten this to work? I am trying to follow the code in section 1 of this PDF. It specifically states: To specify a CFC to connect to, you do one of the following: This seems to mean I can use a Named Resource OR specify the full path to the cfc in the source attribute which is what I am trying to do. I know the Flex can see my CFC and that this is not a path issue or a case where it can't find the CFC because I accidentally declared two methods with the same name, compiled the Flex App and ran it, and it told me that I can't declare two methods with the same name obviously. The error I am getting when clicking Get Secure Data is: [RPC Fault faultString=Didn't receive an acknowledge message faultCode=Server.Acknowledge.Failed faultDetail=Was expecting mx.messaging.messages.AcknowledgeMessage, but received null] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa ul tHandler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at ::NetConnectionMessageResponder/NetConnectionChannel.as$42: Ne tConnectionMessageResponder::resultHandler() at mx.messaging::MessageResponder/result() The MXML File: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* layout=absolute mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import mx.utils.ObjectUtil; import mx.controls.Alert; import mx.rpc.events.FaultEvent; private function logIn():void{ cf.setRemoteCredentials(this.username.text, this.password.text); } private function logOut():void { cf.setRemoteCredentials(null, null); cf.logoutuser(); } private function getData():void { cf.getData(); } private function serverFault(event:FaultEvent):void{ Alert.show( ObjectUtil.toString(event.fault) ); Alert.show( error ); } private function serverResult(event:ResultEvent):void{ Alert.show( ObjectUtil.toString(event)); Alert.show( success ); } ]] /mx:Script mx:RemoteObject id=cf destination=ColdFusion source=myapp.com.menu mx:method name=getData result=serverResult (event) fault=serverFault(event) / mx:method name=logoutuser / /mx:RemoteObject mx:Form x=10 y=10
[flexcoders] Re: two tabnavigators with different tab colors?
i thought of something like this but its not working! here is my code: what m i doing wrong? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% mx:Style .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } .MyTab { background-color:#0033FF; } .myTabStyle { fill-colors: #ff, #ff; } /mx:Style mx:VBox width=100% height=100% mx:TabNavigator width=100% height=50% styleName=MyTabNavigator mx:HBox label=Tab title 1/mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator mx:TabNavigator width=100% height=50% styleName=MyTab mx:HBox label=Tab title 1 /mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: I think you may be looking for tabStyleName: TabNavigator { fillColors: #FF, #CC; tabStyleName: myTabStyle; } .myTabStyle { fillColors: #FF, #CC; } _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] two tabnavigators with different tab colors? hi, i have two TabNavigators in flex 1.5 i want to give each of them different tab colors. fillColors is not working on a TabNavigator but only on Tab in the style declartion. so how do i give each navigator different tab colors? Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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] Size of Stage when flash player 9 loads
beeautiful Daniel!!TanksJGOn 6/5/06, Daniel Cascais [EMAIL PROTECTED] wrote: Hi John, you can try this compiler argument (project - properties - Flex Compiler - Additional compiler arguments): -default-size 600 400 where the 600 and 400 stand for the width and height. Good luck, Daniel On 6/5/06, John Grden [EMAIL PROTECTED] wrote: Right now, it's a tiny 550x400 or something like that. Is there a way to specify the size when loaded in the player rather than the browser? -- John Grden - Blitz -- Daniel Cascais Tel: +56 (0)2 4589495 Cel: +56 (0)9 9417355 -- John Grden - Blitz __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: loadWSDL Webservice result?
The lastResult vs. result thing is a property of the WS operation you call, not the ResultEvent object that is sent to your result handler. I believe the most common place you would use this would be when you want to bind part of the returned data to something. myWebService.myWsMethod.lastResult resultFormat is a property of the AbstractOperation when calling a WS from AS. For some reason it is not recognized by code completion or listed in the docs, but I was told this by an Adobe engineer and it does work. myWebService['myWsMethod'].resultFormat = e4x; Hope this helps, Ben Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/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: two tabnavigators with different tab colors?
I think you have an extra dot in your CSS style definitions. There should be only one dot before each style name, as follows: .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: two tabnavigators with different tab colors? i thought of something like this but its not working! here is my code: what m i doing wrong? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml width=100% height=100% mx:Style ..MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } ..MyTab { background-color:#0033FF; } ..myTabStyle { fill-colors: #ff, #ff; } /mx:Style mx:VBox width=100% height=100% mx:TabNavigator width=100% height=50% styleName=MyTabNavigator mx:HBox label=Tab title 1/mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator mx:TabNavigator width=100% height=50% styleName=MyTab mx:HBox label=Tab title 1 /mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In [EMAIL PROTECTED]ups.com, Jim Robson jim.robson@... wrote: I think you may be looking for tabStyleName: TabNavigator { fillColors: #FF, #CC; tabStyleName: myTabStyle; } .myTabStyle { fillColors: #FF, #CC; } _ From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 8:12 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] two tabnavigators with different tab colors? hi, i have two TabNavigators in flex 1.5 i want to give each of them different tab colors. fillColors is not working on a TabNavigator but only on Tab in the style declartion. so how do i give each navigator different tab colors? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] RemotingConnection not found in Mike Potter's Flex2AMFPHP tutorial
Hi Duncan, The .as file does go at the same level as the .mxml file, but I don't think it'll work with 1.5 because the class libraries are different - RemotingConnection extends NetConnection and the whole structure of remoting seems to be different in Flex 2.0 There's stuff on the AMFPHP site though about Flex 1.5 at the bottom of this page http://www.amfphp.org/docs/otherplatforms.html - if you get a 404 error just keep trying the server seems to be a bit flakey. HTH Phil Duncan McMillan wrote: Phil So do you mean that you put this RemotingConnection.as file in the same DIR as the mxml file? I'm using Flex 1.5 and this example is not working for me and complaining about the same thing. I've also tried to take the package declaration out (as I'm not sure if Flex1.5 likes package declarations) and it still doesn;t work Thanks again Duncan Phil Marston wrote On 06/02/06 12:01,: OK - so looks like I dumb! For those of you who also turn out to be dumb ;-p when Mike speaks about you already having RemotingConnection.as at the root of your project you actually need to save the follow package code as RemotingConnection.as and then you WILL have it! I've wasted a day and half on this! jeesh HTH someone else Phil Marston wrote: I think I've traced it to not having the flash.net.* package installed (though Flex Builder isn't throwing a complaint about that it does say it doesn't know where it is) where can I get this package/library? cheers, Phil Phil Marston wrote: Hi, I thought I'd seen this covered somewhere but cant find it. I'm trying Mike Potter's tutorials on Flex2 and PHP and AMFPHP found here http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP and Flex is throwing a wobbly about the line; public var gateway : RemotingConnection; with the error Type was not found or was not a compile-time constant: RemotingConnection. Can anyone shed light on this or point me in the right direction? Cheers, Phil -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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 ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
RE: [flexcoders] Re: Cairngorm Sample Store
Guys, My apologies, but I thought I'd answered this before. As you all know from the engineers on the list, we're narrowing towards the final release of Flex, and the consulting team is consequently focussing our effort on shipping a version of Cairngorm and Cairngormstore that works for that release, rather than us focus on a beta build that we know is going to not be on your machines for too much longer. We're just trying to prioritise the time we have to devote to this in the best means possible - and I'm sure you'll be happier knowing that what we deliver you works on the final build. So, erm, Cairngorm Store in the first half of 2006 ;-) Steven Steven WebsterPractice Director (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom ChivertonSent: 07 June 2006 14:01To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm Sample Store Any further news ?http://www.richinternetapps.com/archives/000148.html is the nearest I can get.Compiling with the latest cairgorm2 .swc seems to work OK.-- Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: two tabnavigators with different tab colors?
oops.. here is the code again: NOT WORKING. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% mx:Style .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } .MyTab { background-color:#0033FF; } .myTabStyle { fill-colors: #ff, #ff; } /mx:Style mx:VBox width=100% height=100% mx:TabNavigator width=100% height=50% styleName=MyTabNavigator mx:HBox label=Tab title 1/mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator mx:TabNavigator width=100% height=50% styleName=MyTab mx:HBox label=Tab title 1 /mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: I think you have an extra dot in your CSS style definitions. There should be only one dot before each style name, as follows: .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: two tabnavigators with different tab colors? i thought of something like this but its not working! here is my code: what m i doing wrong? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromed http://www.macromedia.com/2003/mxml ia.com/2003/mxml width=100% height=100% mx:Style ..MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } ..MyTab { background-color:#0033FF; } ..myTabStyle { fill-colors: #ff, #ff; } /mx:Style mx:VBox width=100% height=100% mx:TabNavigator width=100% height=50% styleName=MyTabNavigator mx:HBox label=Tab title 1/mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator mx:TabNavigator width=100% height=50% styleName=MyTab mx:HBox label=Tab title 1 /mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Jim Robson jim.robson@ wrote: I think you may be looking for tabStyleName: TabNavigator { fillColors: #FF, #CC; tabStyleName: myTabStyle; } .myTabStyle { fillColors: #FF, #CC; } _ From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 8:12 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] two tabnavigators with different tab colors? hi, i have two TabNavigators in flex 1.5 i want to give each of them different tab colors. fillColors is not working on a TabNavigator but only on Tab in the style declartion. so how do i give each navigator different tab colors? Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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] Flex2B3 - preventDefault()
Hi I have a datagrid itemEditEnd event, where i am doing an asynchronous validation. To prevent losing focus from the itemEditorInstance during the asynchronous validation, i call event.preventDefault(). If the asynchronous validation is succesfull i want to cancel the event.preventDefault(). How do i do this? (i tried a couple of things but failed) Code - mx:DataGrid id=dg itemEditEnd=doValidation() private var eventObj:DataGridEvent; function doValidation(event:DataGridEvent):void { var newData:String= TextInput(dg.itemEditorInstance).text; event.preventDefault(); this.eventObj = event; validateClass.getInstance().validate(newData); // return handler below } function validationReturnHandler(boolean1:Boolean):void { if(boolean1) { if(this.eventObj.isDefaultPrevented()) { // how do i reverse this.eventObj.preventDefault(); } } else { TextInput(dg.itemEditorInstance).errorString = Failed; } } Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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 help in making usrname/pswd Database
i know Java and ASP lil..how shud i go..plz help Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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] USing the FileReference Class
Hi friends, I am using the FileReference class to select an image and show it directly at runtime. However I am not able to extract the complete file path from the browse property of the FileReference class object. When i select a particular image file only its name gets extracted . And when i apply the name to the source property of the image or the load function of the image object, it does not display the image. I dont know how to go abnout it!! Please help, Thanks in advance, Rama. Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/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: two tabnavigators with different tab colors?
i m trying to change the colors of the Tabs themselves. not the TabNavigator background. it works? really? weird? plz try again with this code then dont work for me - flex 1.5 u should get 2 TabNavigators with white backgrounds the top should have red Tabs and the bottom Blue Tabs. if its not working replace .myTabStyle1 with Tab to see desired effect. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% mx:Style .MyTabNavigator { background-color:#ff; tabStyleName: myTabStyle1; } .MyTab { background-color:#ff; tabStyleName: myTabStyle2; } .myTabStyle1 { fill-colors: #ff, #ff; } .myTabStyle2 { fill-colors: #ff, #ff; } /mx:Style mx:VBox width=100% height=100% mx:TabNavigator width=100% height=50% styleName=MyTabNavigator mx:HBox label=Tab title 1/mx:HBox mx:HBox label=Tab title 2/mx:HBox mx:HBox label=Tab title 3/mx:HBox mx:HBox label=Tab title 4/mx:HBox /mx:TabNavigator mx:TabNavigator width=100% height=50% styleName=MyTab mx:HBox label=Tab title 1 /mx:HBox mx:HBox label=Tab title 2/mx:HBox mx:HBox label=Tab title 3 /mx:HBox mx:HBox label=Tab title 4/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: Your code works fine for me. I get one red TabNavigator and one blue TabNavigator. I am using Flex 2.0 - I don't know if something changed relative to TabNavigator styles since 1.5. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 9:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: two tabnavigators with different tab colors? oops.. here is the code again: NOT WORKING. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromed http://www.macromedia.com/2003/mxml ia.com/2003/mxml width=100% height=100% mx:Style .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } .MyTab { background-color:#0033FF; } .myTabStyle { fill-colors: #ff, #ff; } /mx:Style mx:VBox width=100% height=100% mx:TabNavigator width=100% height=50% styleName=MyTabNavigator mx:HBox label=Tab title 1/mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator mx:TabNavigator width=100% height=50% styleName=MyTab mx:HBox label=Tab title 1 /mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Jim Robson jim.robson@ wrote: I think you have an extra dot in your CSS style definitions. There should be only one dot before each style name, as follows: .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } _ From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 9:22 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: two tabnavigators with different tab colors? i thought of something like this but its not working! here is my code: what m i doing wrong? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromed http://www.macromed http://www.macromedia.com/2003/mxml ia.com/2003/mxml ia.com/2003/mxml width=100% height=100% mx:Style ..MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } ..MyTab { background-color:#0033FF; } ..myTabStyle { fill-colors: #ff, #ff; } /mx:Style mx:VBox width=100% height=100% mx:TabNavigator width=100% height=50% styleName=MyTabNavigator mx:HBox label=Tab title 1/mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator mx:TabNavigator width=100% height=50% styleName=MyTab mx:HBox label=Tab title 1 /mx:HBox mx:HBox label=Tab title 2/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Jim Robson jim.robson@ wrote: I think you may be looking for tabStyleName: TabNavigator { fillColors: #FF, #CC; tabStyleName: myTabStyle; } .myTabStyle { fillColors: #FF, #CC; } _ From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 8:12 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] two tabnavigators with different tab colors? hi, i have two TabNavigators in flex 1.5 i want to give each of them different tab colors. fillColors is not working on a TabNavigator but only on Tab in the style declartion.
[flexcoders] F2B3: Error when passing single object to CF function
I'm not sure if this is an entirely Flex problem, but I don't recall seeing this when using Flash Remoting. The problem arises when trying to do a RemoteObject call to a CF function that has one required argument that's a struct. eg: cffunction name=CallMe access=remote returntype=struct cfargument name=arg1 type=struct required=yesI try to pass an Object for arg1 and I get the error The parameter ARG1 to function CallMe is required but was not passed in. If I change the signature of CallMe so that it accepts a second dummy argument (of any type) and I pass a second dummy value, the call works fine. The call also works fine if the type of arg1 is changed to string. The problem arises only when there's a single required struct argument. The workaround is to simply use a dummy argument, but this should be fixed. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] F2B3: Custom event type not used/recognized in MXML
I have a very simple MXML component with a custom event:-?xml version=1.0 encoding=utf-8?mx:Canvas xmlns:mx= http://www.adobe.com/2006/mxml width=400 height=300 mx:Metadata [Event(jump, type=MyNewEvent)] /mx:Metadata mx:Button x=10 y=10 label=Button//mx:Canvaspackage{ import flash.events.Event ; public class MyNewEvent extends Event { public var data: String;public function MyNewEvent(eventType: String, d: String) { super(eventType); data = ""> }public override function clone(): Event { return new MyNewEvent(type, data); } } }---And I try to use it in an application like this:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns=* layout=absolute mx:Script ![CDATA[ private function onJump(event: MyNewEvent) {trace(event.data); } ]] /mx:Script MyNewComp jump=onJump(event)/ /mx:Application When compiling, I get the error Implicit coercion of a value with static type flash.events:Event to a possibly unrelated type MyNewEvent. According to the docs, I should be able to declare onJump using the type MyNewEvent. If I change the type to Event, it compiles ok. At runtime, I can actually cast it to MyNewEvent and it works fine, so the right type is being passed. It just looks like the code generator is not using the right type when creating the listener. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] USing the FileReference Class
I have the same problem. I think that is impossible, because of the security reasons. 2006/6/7, rama satoskar [EMAIL PROTECTED]: Hi friends,I am using the FileReference class to select an image and show itdirectly at runtime. However I am not able to extract the complete file path from the browse property of the FileReference class object.When i select a particular image file only its name gets extracted .And when i apply the name to the source property of the image or the load function of the image object, it does not display the image.I dont know how to go abnout it!!Pleasehelp,Thanks in advance,Rama. Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now.http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] How to cancel children resize of an UIComponent?
Hi list, Does anyone know a way to cancel the default behavior of an UIComponent, so as it won't resize its children, while resizing itself? More exactly, I have a button, which I want it to keep the same proportions relative to its parent, when I resize that parent. In the old Flash, this was done by simply putting a Button in a MovieClip. Then, if the parent MovieClip was resized to double, the button would double too. In FLEX, I know...the simples way should be, defining button's width and height using percents. But what if I want the button's icon and label to be rescaled also? What if I have 20 buttons? Thanks, Iuliu __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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: [Beta3] I found error that is a sample class named MyCustomTreeDataDescripto
I'm facing the same error: TreeModelChangedEvent TreeModelChangedEventDetail don't exist anymore. Haven't find anything in the documentation, any suggestion for this?. Thanks, Pepe. --- In flexcoders@yahoogroups.com, Bryan Choi [EMAIL PROTECTED] wrote: MyCustomTreeDataDescriptor implements ITreeDataDescriptor, but it's wrong. == package { import mx.collections.ICollectionView; import mx.collections.IViewCursor; import mx.events.TreeModelChangedEvent; import mx.events.TreeModelChangedEventDetail; import mx.controls.treeClasses.*; public class MyCustomTreeDataDescriptor implements ITreeDataDescriptor { // The getChildren method requires the node to be an Object // with a children field. // If the field contains an ArrayCollection, it returns the field // Otherwise, it wraps the field in an ArrayCollection. public function getChildren(node:Object, model:Object=null):ICollectionView { try { if (node is Object) { if(node.children is ArrayCollection){ return node.children; }else{ return new ArrayCollection(node.children); } } } catch (e:Error) { trace([Descriptor] exception checking for getChildren); } return null; } // The isBranch method simply returns true if the node is an // Object with a children field. // It does not support empty branches, but does support null children // fields. public function isBranch(node:Object, model:Object=null):Boolean { try { if (node is Object) { if (node.children != null) { return true; } } } catch (e:Error) { trace([Descriptor] exception checking for isBranch); } return false; } // The getData method simply returns the node as an Object. public function getData(node:Object, model:Object=null):Object { try { return Object(node); } catch (e:Error) { } return null; } // The addChildAt method does the following: // If the node parameter is null or undefined, inserts // the child parameter as the first child of the model parameter. // If the node parameter is an Object and has a children field, // adds the child parameter to it at the index parameter location. // It does not add a child to a terminal node if it does not have // a children field. public function addChildAt(node:Object, child:Object, index:int, model:Object=null):Boolean { var event:TreeModelChangedEvent = new TreeModelChangedEvent(modelChanged, false, false, TreeModelChangedEventDetail.ADD_NODE, child, node, index); if (!node) { var iterator:IViewCursor = model.createCursor(); iterator.seek(CursorBookmark.FIRST, index); iterator.insert(child); } else if (node is Object) { if (node.children != null) { if(node.children is ArrayCollection) { node.children.addItemAt(child, index); if (model){ model.dispatchEvent(event); model.itemUpdated(node); } return true; } else { node.children.splice(index, 0, child); if (model) model.dispatchEvent(event); return true; } } } return false; } } } The following example code uses the MyCustomTreeDataDescriptor to handle hierarchal nested ArrayCollections and objects. When you click the button it adds a node to the tree by calling the data descriptor's addChildAt method. ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initCollections() mx:Script ![CDATA[ import mx.collections.*; import mx.controls.treeClasses.*; //Variables used to construct the ArrayCollection data provider //First top-level node and its children. public var nestArray1:Object = [ {label:item1, children: [ {label:item1 child, children: [ {label:item 1 child child, data:child data} ]} ]} ]; //Second top-level node and its children. public var nestArray2:Object = [ {label:item2, children: [
[flexcoders] Re: Flex2B3 - preventDefault()
i think i got a work around like this private var asyncVal:Boolean=false; function doValidate(event:DataGridEvent):void { if(e.reason == DataGridEventReason.NEW_COLUMN this.asyncVal) { e.preventDefault(); this.asyncVal = false; return; } this.asyncVal=true; // code continued } --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: Hi I have a datagrid itemEditEnd event, where i am doing an asynchronous validation. To prevent losing focus from the itemEditorInstance during the asynchronous validation, i call event.preventDefault(). If the asynchronous validation is succesfull i want to cancel the event.preventDefault(). How do i do this? (i tried a couple of things but failed) Code - mx:DataGrid id=dg itemEditEnd=doValidation() private var eventObj:DataGridEvent; function doValidation(event:DataGridEvent):void { var newData:String= TextInput(dg.itemEditorInstance).text; event.preventDefault(); this.eventObj = event; validateClass.getInstance().validate(newData); // return handler below } function validationReturnHandler(boolean1:Boolean):void { if(boolean1) { if(this.eventObj.isDefaultPrevented()) { // how do i reverse this.eventObj.preventDefault(); } } else { TextInput(dg.itemEditorInstance).errorString = Failed; } } Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/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] resizable, maximize and minimize TileWindow
Title: Mensaje Hi all, Have any of you made a TileWindow component with resize, maximize and minimize controls? Can you give me any idea on how to do it? Thanks. Jesús IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia (España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: [EMAIL PROTECTED][web]: www.alvento.com Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente y la destrucción del mismo. The information in this e-mail and in any attachments is classified as Alvento Soluciones S.A. Confidential and Proprietary Information and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Alvento Soluciones S.A. and it is strictly prohibited by law. If you have received this communication by error, please, notify the sender by replying e-mail. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] how can I load text from a file
Thanks all for anwsering I should precise I use FLEX 1.5 .. can't theses objects ... Tracy Spratt a crit: Use HTTPService or URLLoader(). Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Antoine Malpel Sent: Tuesday, June 06, 2006 12:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] how can I load text from a file Hi I have a text containing a big big big html text that I need to put inside a mx:texarea in my app I don't how to load the content of this file in order to set the value of htmltext ... Any example ? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] f2b3: mx:State - resize events not firing properly - bug ?
When creating a state that is larger than the original application and then adding resize=resized() on the application tag, the event is only firing the first time the alternate state is set. If I set currentState='expanded' - it fires, if I then set currentState='', no event fires. I believe that it should and the base state should set the size back to what is was, so that the event will fire correctly for the second and susequent changes of state. Any views ? thanks BOb Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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: Alternative to firstChild, lastChild and nextSibling
Great. Got it! Thanks for the help everyone! --- In flexcoders@yahoogroups.com, Peter Hall [EMAIL PROTECTED] wrote: XMLDocument is the old XML object, which has firstChild, nextSibling etc. Use XML to use e4x. public var xml_object:XML = new XML(); Peter On 6/7/06, Charles [EMAIL PROTECTED] wrote: Hi guys, Thanks for the replies. But I should mention that I've tried that before. I get no output...blank. I actually used that before when my data provider was an ArrayCollection, or an HTTPService. But now that it's an XMLDocument, for some reason, it doesn't work, and the only thing that does is by using firstChild and lastChild. Just in case I am doing something totally wrong here, I'll try and be a little more specific. Here is a simpler version of what I am trying to do (if you are so inclined, you can grab the actual .mxml file herehttp://charles.abstractations.com/test.mxml in case you wanted to see a little clearer)... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ public var xml_object:XMLDocument = new XMLDocument; public function ParseXML():void { xml_object.ignoreWhite = true; xml_object.parseXML(Item + ItemID11579339/ItemID + SiteUS/Site + TitleHalo 2 (Xbox)/Title + CurrencyUSD/Currency + SiteHostedPicture + GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType + /SiteHostedPicture + PaymentMethodsPayPal/PaymentMethods + /Item); everything.text = xml_object.firstChild.toString(); // returns full XML string - OK! //just_item_id = xml_object.Item.ItemID.toString(); // ERROR - Access of possibly undefined property Item //just_item_id = xml_object.Item.toString(); // ERROR - Access of possibly undefined property Item //just_item_id = xml_object.childNodes.Item; // no error, but displays nothing } // ParseXML ]] /mx:Script mx:Label id=everything/ !-- should show full xml after button is clicked -- mx:Label id=just_item_id/ !-- should only show ItemID after button is clicked -- mx:Button label=click me click=ParseXML()/ /mx:Application Thanks for the help! Charles --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: Compare it to the Microsoft XML DOM, which has dozens of classes. XML, huh, one class? How can that be? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Tuesday, June 06, 2006 6:40 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Alternative to firstChild, lastChild and nextSibling You got that right! E4x can do some crazy things. Sometimes I wonder if I am kidding myself at how easy it is to use :) Peace, Mike On 6/6/06, Tracy Spratt tspratt@ wrote: Yep. And the subtext to my style of response is If you are not using 2.0 yet, here is one very good reason to make the move. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Tuesday, June 06, 2006 6:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Alternative to firstChild, lastChild and nextSibling Tracy :-( That is what I was getting to :) I guess being direct works ... HA Peace, Mike On 6/6/06, Tracy Spratt tspratt@ mailto:tspratt@ wrote: E4x: xml_object.PaymentMethods; //PayPal xml_object.SiteHostedPicture.GalleryType; //http://. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Charles Sent: Tuesday, June 06, 2006 5:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Alternative to firstChild, lastChild and nextSibling Hi everyone, I am trying to parse some XML for relevant info using firstChild, lastChild, and nextSibling. For instance, given an XML file like... Item ItemID11579339/ItemID SiteUS/Site TitleHalo 2 (Xbox)/Title CurrencyUSD/Currency SiteHostedPicture GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType /SiteHostedPicture PaymentMethodsPayPal/PaymentMethods /Item ...when I try to get the ItemID, I just go xml_object.firstChild.firstChild. But, when I try and get things from the bottom, I would have to go something like xml_object.firstChild.firstChild.firstChild.firstChild.firstChild.fir stC hild.firstChild (which would give me PaymentMethods...I think). I could use xml_object.lastChild.firstChild, but that's
[flexcoders] Re: two tabnavigators with different tab colors?
As a side note, if you want to control the color(style) of individual tabs in a TabNavigator, you can use the following code in 2.0 (not sure if it works in 1.5). //===//CSS://=== .tab1 {fill-colors: #99CC00, #CCFF66;} .tab2 {fill-colors: #FFF04B, #CC;} .tab3 {fill-colors: #8AC7D2, #CBEEF1;} //===// Action Script and MXML://=== mx:Script ![CDATA[private function setTabStyles():void {theTabNavigator.getTabAt(0).styleName = "tab1";theTabNavigator.getTabAt(1).styleName = "tab2";theTabNavigator.getTabAt(2).styleName = "tab3";} ]] /mx:Script mx:TabNavigator id="theTabNavigator" creationComplete="setTabStyles();"/ //===You can use this to customize any of the available style properties for individual tabs. Salute,Tim Hoff --- In flexcoders@yahoogroups.com, "Jim Robson" [EMAIL PROTECTED] wrote: To change the colors of the tabs themselves, you need to use the tabStyleName property (at least that's how it works in Flex 2.0). The following code gives one blue TabNavigator with blue tabs, and one red TabNavigator with red tabs:?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" mx:Style .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; }.MyTab { background-color:#0033FF; tabStyleName: blueTab; } .blueTab { fill-colors: #0033FF,#0033FF; }.myTabStyle { fill-colors: #ff, #ff; tabStyleName: redTab; } .redTab { fill-colors: #FF,#FF; }/mx:Stylemx:VBox width="100%" height="100%" mx:TabNavigator width="100%" height="50%" styleName="MyTabNavigator" mx:HBox label="Tab title 1"/mx:HBox mx:HBox label="Tab title 2"/mx:HBox /mx:TabNavigator mx:TabNavigator width="100%" height="50%" styleName="MyTab" mx:HBox label="Tab title 1" /mx:HBox mx:HBox label="Tab title 2"/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application_ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 10:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: two tabnavigators with different tab colors?i m trying to change the colors of the Tabs themselves. not the TabNavigator background. it works? really? weird? plz try again with this code then dont work for me - flex 1.5 u should get 2 TabNavigators with white backgrounds the top should have red Tabs and the bottom Blue Tabs. if its not working replace ".myTabStyle1" with "Tab" to see desired effect. ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromed http://www.macromedia.com/2003/mxml ia.com/2003/mxml" width="100%" height="100%" mx:Style .MyTabNavigator { background-color:#ff; tabStyleName: myTabStyle1; } .MyTab { background-color:#ff; tabStyleName: myTabStyle2; } .myTabStyle1 { fill-colors: #ff, #ff; } .myTabStyle2 { fill-colors: #ff, #ff; } /mx:Style mx:VBox width="100%" height="100%" mx:TabNavigator width="100%" height="50%" styleName="MyTabNavigator" mx:HBox label="Tab title 1"/mx:HBox mx:HBox label="Tab title 2"/mx:HBox mx:HBox label="Tab title 3"/mx:HBox mx:HBox label="Tab title 4"/mx:HBox /mx:TabNavigator mx:TabNavigator width="100%" height="50%" styleName="MyTab" mx:HBox label="Tab title 1" /mx:HBox mx:HBox label="Tab title 2"/mx:HBox mx:HBox label="Tab title 3" /mx:HBox mx:HBox label="Tab title 4"/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, "Jim Robson" jim.robson@ wrote: Your code works fine for me. I get one red TabNavigator and one blue TabNavigator. I am using Flex 2.0 - I don't know if something changed relative to TabNavigator styles since 1.5. _ From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 9:59 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: two tabnavigators with different tab colors?oops.. here is the code again: NOT WORKING.?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromed http://www.macromed http://www.macromedia.com/2003/mxml ia.com/2003/mxml ia.com/2003/mxml" width="100%" height="100%" mx:Style .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; }.MyTab { background-color:#0033FF; }.myTabStyle { fill-colors: #ff, #ff; } /mx:Stylemx:VBox width="100%" height="100%" mx:TabNavigator width="100%" height="50%" styleName="MyTabNavigator" mx:HBox label="Tab title 1"/mx:HBox mx:HBox label="Tab title 2"/mx:HBox /mx:TabNavigator mx:TabNavigator
RE: [flexcoders] changing states.
You should only need to set the state on "this.currentState". No import needed. Here is an example: private function stateHandler():void { this.currentState = 'About'; } Rob Rusher RIA Consultant Adobe Certified Flex 2Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: f2b3: mx:State - resize events not firing properly - bug ?
When you change back to the original state, without explicitly resizing, the application remains large enough to display the child components of the expanded state, since they still exist. If you create and destroy the child components as needed, you might get the application to automatically resize back down again; and fire the resize event. -TH --- In flexcoders@yahoogroups.com, bobpardoe1959 [EMAIL PROTECTED] wrote: When creating a state that is larger than the original application and then adding resize=resized() on the application tag, the event is only firing the first time the alternate state is set. If I set currentState='expanded' - it fires, if I then set currentState='', no event fires. I believe that it should and the base state should set the size back to what is was, so that the event will fire correctly for the second and susequent changes of state. Any views ? thanks BOb Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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: f2b3: mx:State - resize events not firing properly - bug ?
That was my point really. It should resize. The idea (i would have presumed) is that when one has alternative states it should transition completely between the states, not just changing some of the state's attributes and controls. It should do all of them. BOb --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: When you change back to the original state, without explicitly resizing, the application remains large enough to display the child components of the expanded state, since they still exist. If you create and destroy the child components as needed, you might get the application to automatically resize back down again; and fire the resize event. -TH --- In flexcoders@yahoogroups.com, bobpardoe1959 bob.pardoe@ wrote: When creating a state that is larger than the original application and then adding resize=resized() on the application tag, the event is only firing the first time the alternate state is set. If I set currentState='expanded' - it fires, if I then set currentState='', no event fires. I believe that it should and the base state should set the size back to what is was, so that the event will fire correctly for the second and susequent changes of state. Any views ? thanks BOb Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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] Repeater XML Attribute
I noticed that you named your dataProvider myHomePageAC indicating that you are using an ArrayCollection. The E4X notation is used only on XML objects. You can then put the XML into an XMLListCollection to use it as a dataProvider. I think you have the right idea, but the wrong objects. Rob Rusher RIA Consultant Adobe Certified Flex 2Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher blog:http://www.robrusher.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mepaninaresh Sent: Tuesday, June 06, 2006 5:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Repeater XML Attribute Hi, I am trying to retrieve a certain XML node using the attribute value, tried various syntax. Just can't get it to work. Sample code below. Any ideas? Thanks for any help. Amount Type=Number_of_Records Units=1 Format=Actual256/Amount Amount Type=Number_of_Critical_Changes Units=1 Format=Actual10/Amount Amount Type=High_Risk Units=1 Format=Percentage55/Amount mx:Repeater id=list dataProvider={myHomePageAC} mx:GridRow width=778 paddingLeft=4 mx:GridItem mx:LinkButton label={list.currentItem.Amount[0]} textAlign=center / /mx:GridItem mx:GridItem mx:LinkButton label={list.currentItem.Amount[Type=='High_Risk']} textAlign=center / /mx:GridItem /mx:GridRow /mx:Repeater __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: two tabnavigators with different tab colors?
Take a look at the first comment just below the examples for a way to do this in Flex 1.5: http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/TabNavigator.html#examples --- In flexcoders@yahoogroups.com, "shemeshkale" [EMAIL PROTECTED] wrote: i m trying to change the colors of the Tabs themselves. not the TabNavigator background. it works? really? weird? plz try again with this code then dont work for me - flex 1.5 u should get 2 TabNavigators with white backgrounds the top should have red Tabs and the bottom Blue Tabs. if its not working replace ".myTabStyle1" with "Tab" to see desired effect. ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" height="100%" mx:Style .MyTabNavigator { background-color:#ff; tabStyleName: myTabStyle1; } .MyTab { background-color:#ff; tabStyleName: myTabStyle2; } .myTabStyle1 { fill-colors: #ff, #ff; } .myTabStyle2 { fill-colors: #ff, #ff; }/mx:Style mx:VBox width="100%" height="100%" mx:TabNavigator width="100%" height="50%" styleName="MyTabNavigator" mx:HBox label="Tab title 1"/mx:HBox mx:HBox label="Tab title 2"/mx:HBox mx:HBox label="Tab title 3"/mx:HBox mx:HBox label="Tab title 4"/mx:HBox /mx:TabNavigator mx:TabNavigator width="100%" height="50%" styleName="MyTab" mx:HBox label="Tab title 1" /mx:HBox mx:HBox label="Tab title 2"/mx:HBox mx:HBox label="Tab title 3" /mx:HBox mx:HBox label="Tab title 4"/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In flexcoders@yahoogroups.com, "Jim Robson" jim.robson@ wrote: Your code works fine for me. I get one red TabNavigator and one blue TabNavigator. I am using Flex 2.0 - I don't know if something changed relative to TabNavigator styles since 1.5. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 9:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: two tabnavigators with different tab colors?oops.. here is the code again: NOT WORKING.?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromed http://www.macromedia.com/2003/mxml ia.com/2003/mxml" width="100%" height="100%" mx:Style .MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; }.MyTab { background-color:#0033FF; }.myTabStyle { fill-colors: #ff, #ff; } /mx:Stylemx:VBox width="100%" height="100%" mx:TabNavigator width="100%" height="50%" styleName="MyTabNavigator" mx:HBox label="Tab title 1"/mx:HBox mx:HBox label="Tab title 2"/mx:HBox /mx:TabNavigator mx:TabNavigator width="100%" height="50%" styleName="MyTab" mx:HBox label="Tab title 1" /mx:HBox mx:HBox label="Tab title 2"/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, "Jim Robson" jim.robson@ wrote: I think you have an extra dot in your CSS style definitions. There should be only one dot before each style name, as follows:.MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; }_ From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of shemeshkale Sent: Wednesday, June 07, 2006 9:22 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: two tabnavigators with different tab colors?i thought of something like this but its not working! here is my code: what m i doing wrong? ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromed http://www.macromed http://www.macromedia.com/2003/mxml ia.com/2003/mxml ia.com/2003/mxml" width="100%" height="100%" mx:Style ..MyTabNavigator { background-color:#FF; tabStyleName: myTabStyle; } ..MyTab { background-color:#0033FF; } ..myTabStyle { fill-colors: #ff, #ff; } /mx:Style mx:VBox width="100%" height="100%" mx:TabNavigator width="100%" height="50%" styleName="MyTabNavigator" mx:HBox label="Tab title 1"/mx:HBox mx:HBox label="Tab title 2"/mx:HBox /mx:TabNavigator mx:TabNavigator width="100%" height="50%" styleName="MyTab" mx:HBox label="Tab title 1" /mx:HBox mx:HBox label="Tab title 2"/mx:HBox /mx:TabNavigator /mx:VBox /mx:Application --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, "Jim Robson" jim.robson@ wrote: I think you may be looking for tabStyleName:TabNavigator {fillColors: #FF, #CC;tabStyleName: myTabStyle;}.myTabStyle {fillColors: #FF, #CC;}_ From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] OnBehalf Of shemeshkaleSent: Wednesday,
[flexcoders] Multiple selection from a list
Hi All, I have a list of Catalogues, and the customers can select one or more from that list. I don't know how to highlight selected Catalogues - the once customer have already selected. Below is a sample code: mx:FormItem width=100% label=Catalogs cfComponents:BindableList allowMultipleSelection=true id=eSuser_allCatalogIDs valueField=catalogID labelFields=[CatalogName] selectedItem={this.detailObject.CatalogIDs} width=100% / /mx:FormItem how to get selectItem to highlight multiple Catalogues? Thanks in advance Sukhminder Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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] TileList childen height
Hi allI'm playing around with the TileList in Flex2. Is there a way to have children of different height in the TileList?At the moment it will take the height of the first child in the list and then either cut off children that are longer or center valign children that are smaller. Perhaps extending the TileList would be the solution.Dan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: How up upload a ByteArray to PHP on the server?
Thanks, it's not working, here is what I've tried: var bar:ByteArray; . I put data in the byte array... I've checked the length, it's about 4k var urlu:URLRequest = new URLRequest( 'http://www.mysite.com/fileup.php' ); urlu.data = bar; urlu.method = URLRequestMethod.POST; urlu.requestHeaders = new Array(new URLRequestHeader(Content-Type ,multipart/form-data)); var urll:URLLoader = new URLLoader(); urll.load(urlu); The $_FILES array is empty. I've also tried: var variables:URLVariables = new URLVariables(); variables.Filedata = bar; urlu.data = variables; The $_FILES array is always empty. --- In flexcoders@yahoogroups.com, Luís Gustavo Sanabio [EMAIL PROTECTED] wrote: Hi rigidcode, Send the bytearray using URLLoader with $POST. I think that you need to send the apropriate header. I did it, but I don't remember well. At PHP, use: if(is_uploaded_file($_FILES[Filedata][tmp_name])) $_FILES[Filedata][tmp_name] Gustavo Sanabio 2006/6/6, Tim Scollick [EMAIL PROTECTED]: I might be wrong but I think that if you wanted it in the files array, you would have to: 1. Get the ByteArray. 2. Send it to the server to make the jpg. 3. Load the jpg into Flash. 4. Send it again in the files array. I think it would be easier and more effiicient to send the ByteArray to make the jpeg and then send the other files independently (I'm assuming that you're sending it with other files). On 6/6/06, rigidcode [EMAIL PROTECTED] wrote: If I make a ByteArray of jpeg data, how do I send it to the server in such a way that PHP will have it in it's $_FILES array? If I just set the URLRequest.data property to the ByteArray, then it won't have a filename, or a variable name, to refer to in the php. http://us3.php.net/manual/en/features.file-upload.php Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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] optimizing html output from RichTextEditor Component
Hi list, can anyone share good strategies for optimizing the html output from the RichTextEditor Component. It uses a lot of unnecessary p- and Textformat- tags. Is there a way of forcing the use of b-tags or any other solutions? Thanx benz Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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] omitting pie values of 0
It might be helpful if there was an option to a pieseries to omit zero values. As it stands now, I have to have a function go back through my data and delete any 0 values. Otherwise, I get zero-width wedge being labelled. Very confusing to the user. Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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 up upload a ByteArray to PHP on the server?
No, I'm not sending it with other files. I just want to send this one, a bytearray of a jpg file. How do I do step 2 on your list? If I make a UrlRequest, and set it's data property to my ByteArray, then what will the variable name be in php's $_FILES array? $_FILES['what??'] ? It's not $_FILES['Filedata'], that's blank. That's what it is for a FileReference.upload(), but not for a URLRequest/URLLoader. --- In flexcoders@yahoogroups.com, Tim Scollick [EMAIL PROTECTED] wrote: I might be wrong but I think that if you wanted it in the files array, you would have to: 1. Get the ByteArray. 2. Send it to the server to make the jpg. 3. Load the jpg into Flash. 4. Send it again in the files array. I think it would be easier and more effiicient to send the ByteArray to make the jpeg and then send the other files independently (I'm assuming that you're sending it with other files). On 6/6/06, rigidcode [EMAIL PROTECTED] wrote: If I make a ByteArray of jpeg data, how do I send it to the server in such a way that PHP will have it in it's $_FILES array? If I just set the URLRequest.data property to the ByteArray, then it won't have a filename, or a variable name, to refer to in the php. http://us3.php.net/manual/en/features.file-upload.php Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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: f2b3: mx:State - resize events not firing properly - bug ?
Yeah, I hear you. But, the first time you change to the expanded state, the children are created and added. Unless you specifically re-define the application dimensions or remove these children, when you return to the base state, the application remains large enough to hold the children. They aren't visible, but they are still there in the background. I can't test this, but try putting a removeChild statement in the base state, for the children in the expanded state, and see what happens. If it doesn't work, sorry. :) Tim --- In flexcoders@yahoogroups.com, bobpardoe1959 [EMAIL PROTECTED] wrote: That was my point really. It should resize. The idea (i would have presumed) is that when one has alternative states it should transition completely between the states, not just changing some of the state's attributes and controls. It should do all of them. BOb --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: When you change back to the original state, without explicitly resizing, the application remains large enough to display the child components of the expanded state, since they still exist. If you create and destroy the child components as needed, you might get the application to automatically resize back down again; and fire the resize event. -TH --- In flexcoders@yahoogroups.com, bobpardoe1959 bob.pardoe@ wrote: When creating a state that is larger than the original application and then adding resize=resized() on the application tag, the event is only firing the first time the alternate state is set. If I set currentState='expanded' - it fires, if I then set currentState='', no event fires. I believe that it should and the base state should set the size back to what is was, so that the event will fire correctly for the second and susequent changes of state. Any views ? thanks BOb Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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] pieChart with 100% one one point has callout
This seems something that's a little silly and could easily be fixed. Say you have a piechart with a pieseries with insideWithCallout labelPosition. If you only have one datapoint in the data, the series gets a callout pointing to the whole pie rather than the label being directly on the pie. I've only tested this in Flex 2 beta 3. On a related note, is this the place to post bugs/suggestions? The FAQ and the help are both mute on the point. Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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] LinearAxis property access...
Solution: LinearAxis(chart.verticalAxis).title = 'sumthin'The error message is a result of FlexBuilder looking at the IAxis interface... type it properly, and you're gold.Brendan On 6/6/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Sorry in advance if this is a duplicate post: Hi, It seems there is some contradiction regarding the title property for the LinearAxis Class... the documentation indicates it's read-write, but when I attempt to change programmatically (LinearAxisInstance.title = 'sumthin') FlexBuilder tells me it's read only... Bug? Thanks, Brendan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Problem with Tree Control and custom ITreeDataDescriptor
I should have mentioned that this is Flex 2 Beta 3. Sorry, Steve On 6/7/06, Steve House [EMAIL PROTECTED] wrote: Help, I have created a custom ITreeDataDescriptor using a class named subject. Here is the beginning of the class definition... public dynamic class subject implements ITreeDataDescriptor { public var iSubjectId:Number = 0; public var iQueueId:Number = 0; public var iParentSubjectId:Number = 0; public var sSubject:String = ; public var iCreatedById:Number = 0; public var dtCreated:Date = null; public var iDeletedById:Number = 0; public var dtDeleted:Date = null; public var children:subject[]; ... All of my subjects appear in the tree in the appropriate hierarchy, but the problem is that all of the items show up as branches including the end points. I have tried implementing a custom public function isBranch(node:Object, model:Object=null):Boolean, and even making it always return false, but it never change the problem. Can anyone tell me what I need to do? Thanks in advance, Steve House Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/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] Comboboxes in flex/flash
Just looking at flex/flash, have a general question re combobox, aka dropdown list. I'm not sure that I've seen one in a sample app that has a lookup feature; type ahead etc. They're more like open the combo and pick from the list. That's not very workable with data centric apps which is what I do most of the time. Also, the gradual drop down effect of the controls seems slow and even jerky...rather odd considering how smooth many other aspects of flash are. Is there a type ahead type feature for combos in flex? And can the slide out effect be either disabled or improved on? Is the the best list to ask entry level questions? I know there are macromedia newsgroups for flex, but they don't seem quite as lively as this list. OTOH, this list doesn't seem particularly oriented towards newbies...hope though that it's ok to ask such questions here. Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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 help in making usrname/pswd Database
i know Java and ASP(lil bit)...how can i do it...send me any links if u have..thanks Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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: Comboboxes in flex/flash
Check out Sho's completion input example here: http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/ -TH --- In flexcoders@yahoogroups.com, "michaellisten" [EMAIL PROTECTED] wrote: Just looking at flex/flash, have a general question re combobox, aka dropdown list. I'm not sure that I've seen one in a sample app that has a lookup feature; type ahead etc. They're more like "open the combo and pick from the list". That's not very workable with data centric apps which is what I do most of the time. Also, the gradual drop down effect of the controls seems slow and even jerky...rather odd considering how smooth many other aspects of flash are. Is there a type ahead type feature for combos in flex? And can the slide out effect be either disabled or improved on? Is the the best list to ask entry level questions? I know there are macromedia newsgroups for flex, but they don't seem quite as lively as this list. OTOH, this list doesn't seem particularly oriented towards newbies...hope though that it's ok to ask such questions here. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Limiting number of items a control displays
Is there a way to limit the number of items that a control displays of a dp or do you have to modify the array/arraycollection prior to setting it in order to do so? For example I have a list control thats gets a result that has 10 items, but I only want to show 3 and let the user have the choice to show more via rightClick. I can create a function to do this and handle how many items gets put into a dp but just wondering if I was missing a basic property or what not. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Namespace hell
While it is not the ideal situation, as it still requires the use of labelFunction, you can use a single function for all of the columns in a DataGrid by using the headerText for each column to branch your logic. I wish you could use something like the column's id attribute but that is not a recognized property for some reason. public function MyLabelFunction(item:Object, column:DataGridColumn):String { switch(column.headerText) { case Column 1: return XML(item).ns::CreateDate[0].toString(); break; case Column 2: return XML(item).ns::DocumentType[0].toString(); break; default: return Unrecognized column; } } Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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: FusionCharts under Flex
Ely,110% agree with Jason on the suggestion for bolding/adding the embedded font intricacy to the docs for the AxisRenderer for labelRotation... would have saved me a few handfuls of hair.Brendan On 6/6/06, Ely Greenfield [EMAIL PROTECTED] wrote: I'll check out the fusion charts when I get a moment. In the meantime, I'll forward your suggestion ( a good one ) on to our doc guy. And regarding samples...you're absolutely right, for a new platform like Flex, you can't underestimate the value of samples and docs ( I think MSDN employs the entire population of Colorado and Arizona). The guys building docs and samples for flex continue to produce great stuff that hopefully you'll see before too long. Also, when Flex 2 makes it out the door, the dev team, who really knows the framework inside and out, will hopefully have more time to contribute samples to the community. In the meantime, I took a half hour to put together a threshold renderer you can use as a starting point: http://www.quietlyscheming.com/blog/2006/06/06/flex-charting-example-data-based-renderers/ Ely. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] RemotingConnection not found in Mike Potter's Flex2AMFPHP tutorial
If you're using F1.5 also check out this tut I found yesterday http://coenraets.com/tutorials/restaurant/index.jsp - handy for F2.0 as well if you've done Mike's tut HTH Phil Phil Marston wrote: Hi Duncan, The .as file does go at the same level as the .mxml file, but I don't think it'll work with 1.5 because the class libraries are different - RemotingConnection extends NetConnection and the whole structure of remoting seems to be different in Flex 2.0 There's stuff on the AMFPHP site though about Flex 1.5 at the bottom of this page http://www.amfphp.org/docs/otherplatforms.html - if you get a 404 error just keep trying the server seems to be a bit flakey. HTH Phil Duncan McMillan wrote: Phil So do you mean that you put this RemotingConnection.as file in the same DIR as the mxml file? I'm using Flex 1.5 and this example is not working for me and complaining about the same thing. I've also tried to take the package declaration out (as I'm not sure if Flex1.5 likes package declarations) and it still doesn;t work Thanks again Duncan Phil Marston wrote On 06/02/06 12:01,: OK - so looks like I dumb! For those of you who also turn out to be dumb ;-p when Mike speaks about you already having RemotingConnection.as at the root of your project you actually need to save the follow package code as RemotingConnection.as and then you WILL have it! I've wasted a day and half on this! jeesh HTH someone else Phil Marston wrote: I think I've traced it to not having the flash.net.* package installed (though Flex Builder isn't throwing a complaint about that it does say it doesn't know where it is) where can I get this package/library? cheers, Phil Phil Marston wrote: Hi, I thought I'd seen this covered somewhere but cant find it. I'm trying Mike Potter's tutorials on Flex2 and PHP and AMFPHP found here http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP and Flex is throwing a wobbly about the line; public var gateway : RemotingConnection; with the error Type was not found or was not a compile-time constant: RemotingConnection. Can anyone shed light on this or point me in the right direction? Cheers, Phil -- __ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ __ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495 -- 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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 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/.
Re: [flexcoders] optimizing html output from RichTextEditor Component
I would like this too.. I thinking develop my own RichEditor Component instead. 2006/6/7, Benjamin Dobler [EMAIL PROTECTED]: Hi list,can anyone share good strategies for optimizing the html output from theRichTextEditor Component. It uses a lot of unnecessary p- and Textformat- tags. Is there a way offorcing the use of b-tags or any other solutions?Thanxbenz Yahoo! Groups Sponsor ~-- Everything you need is oneclick away. Make Yahoo! your home pagenow.http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Where does :: take you?
Could someone explain where exactly the :: operator gets you? Ideally, I would be able to do something like myXml.myNS::..deepChildNode, but I understand that is not valid. So I guess I am just trying to figure out what the context is. I have a default namespace on a node that is within a SOAP response and cannot seem to access anything within the namespace with this syntax. myXml.myNS::NodeWithTheNS and myXml.myNS::FirstChildNode both return nothing. Thanks, Ben Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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: Namespace hell
From what I can gather, default namespaces in XML data simply aren't very well supported in AS3/Flex 2. Can someone from Adobe chime in to confirm or deny this? Should we simply try to avoid them at all costs? Thanks, Ben Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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] Question
Does Flex and Java work well together __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Viewing HTML
Hello Group- I have an app that receives XML data over the socket. Specifically, it is data that is in 2 formats (plain text and HTML). The HTML that gets sent represents the FULL html code (i.e. the top-level 'html', 'meta', 'head', 'style', 'div', 'body' tags etc..). Sometimes the tags have namespaces and even 'class' attributes assigned to them which relate to styles defined w/i the style tag. For this reason, I can't just set the XML value to the 'htmlText' attribute of a text field. I tried using the ExternalInterface API and pass the HTML (see example below) to a javscript method which opens a new window and calls 'document.write(passedValueFromFlex)', but that does not work b/c of the extra rows between tags. If I manually remove the white spaces from each row where the HTML is one long String...it works fine. Using a parser to handle that would be near impossible to create though. Does anyone have any ideas for a solution (to display HTML) Thanks. message plainTextThis is the message./plainText htmlTextlt;htmlgt; lt;headgt; lt;/headgt; lt;body lang=EN-USgt; This is the lt;bgt;messagelt;/bgt;. lt;/bodygt; lt;/htmlgt; /htmlText /message Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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: Alternative to firstChild, lastChild and nextSibling
Actually, now I havea follow-up question. I've managed to use E4X to parse the XML now, but, for some XML documents, there are attributes on some of the items. For instance, in comparison to the previous XML I posted, some are now... Item xmlns="some.namespace.com" // the attribute of xmlns="..." is new ItemID11579339/ItemID SiteUS/Site TitleHalo 2 (Xbox)/Title CurrencyUSD/Currency SiteHostedPicture GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType /SiteHostedPicture PaymentMethodsPayPal/PaymentMethods/Item So, with the new attribute on the Item tag, I can't seem to access any children using the same calls anymore. For instance, when I go some_label.text = xml_object.ItemID, it is now blank, when it used to be filled before...? I've tried using the @ attribute operator in calls such as some_label.text = xml_object.(@xmlns == "some.namespace.com").ItemID), but still nothing. Thanks again Charles --- In flexcoders@yahoogroups.com, "Charles" [EMAIL PROTECTED] wrote: Great. Got it! Thanks for the help everyone!--- In flexcoders@yahoogroups.com, "Peter Hall" peterjoel@ wrote: XMLDocument is the old XML object, which has firstChild, nextSibling etc. Use XML to use e4x.public var xml_object:XML = new XML();Peter On 6/7/06, Charles charles.bihis@ wrote: Hi guys, Thanks for the replies. But I should mention that I've tried that before. I get no output...blank. I actually used that before when my data provider was an ArrayCollection, or an HTTPService. But now that it's an XMLDocument, for some reason, it doesn't work, and the only thing that does is by using firstChild and lastChild. Just in case I am doing something totally wrong here, I'll try and be a little more specific. Here is a simpler version of what I am trying to do (if you are so inclined, you can grab the actual .mxml file herehttp://charles.abstractations.com/test.mxml in case you wanted to see a little clearer)... ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" mx:Script ![CDATA[ public var xml_object:XMLDocument = new XMLDocument; public function ParseXML():void { xml_object.ignoreWhite = true; xml_object.parseXML("Item" + " ItemID11579339/ItemID" + " SiteUS/Site" + " TitleHalo 2 (Xbox)/Title" + " CurrencyUSD/Currency" + " SiteHostedPicture" + " GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType" + " /SiteHostedPicture" + " PaymentMethodsPayPal/PaymentMethods" + "/Item"); everything.text = xml_object.firstChild.toString(); // returns full XML string - OK! //just_item_id = xml_object.Item.ItemID.toString(); // ERROR - "Access of possibly undefined property Item" //just_item_id = xml_object.Item.toString(); // ERROR - "Access of possibly undefined property Item" //just_item_id = xml_object.childNodes.Item; // no error, but displays nothing } // ParseXML ]] /mx:Script mx:Label id="everything"/ !-- should show full xml after button is clicked -- mx:Label id="just_item_id"/ !-- should only show ItemID after button is clicked -- mx:Button label="click me" click="ParseXML()"/ /mx:Application Thanks for the help! Charles --- In flexcoders@yahoogroups.com, "Tracy Spratt" tspratt@ wrote: Compare it to the Microsoft XML DOM, which has dozens of classes."XML", huh, one class? How can that be? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Michael SchmalleSent: Tuesday, June 06, 2006 6:40 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Alternative to firstChild, lastChild andnextSibling You got that right! E4x can do some crazy things. Sometimes I wonder ifI am kidding myself at how easy it is to use :) Peace, Mike On 6/6/06, Tracy Spratt tspratt@ wrote: Yep. And the subtext to my style of response is "If you are not using2.0 yet, here is one very good reason to make the move." Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Michael SchmalleSent: Tuesday, June 06, 2006 6:23 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Alternative to firstChild, lastChild andnextSibling Tracy :-( That is what I was getting to :) I guess being direct works ... HA Peace, Mike On 6/6/06, Tracy Spratt tspratt@ mailto:tspratt@ wrote: E4x: xml_object.PaymentMethods; //PayPal xml_object.SiteHostedPicture.GalleryType; //http://. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of CharlesSent: Tuesday, June 06, 2006 5:52 PMTo: flexcoders@yahoogroups.comSubject:
RE: [flexcoders] Embedding Swf files Help sample broken. Need to refer to symbols at runtime.
Sorry for the late reply. Modify the example so the SWFLoader line looks like this: mx:SWFLoader id=myLoader width=300 source=local.swf creationComplete=initNestedAppProps();/ This loads the SWF at runtime, rather than embedding it. The example shuld now work. Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pinkmongrel Sent: Thursday, May 25, 2006 6:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Embedding Swf files Help sample broken. Need to refer to symbols at runtime. I need to load swf's that include many symbols which I need to reference dynamically at runtime. I am able to embed and link to symbols whose name I know at compile time using: [Embed(source='shapes.swf', symbol='greenSquare')] [Bindable] public var imgCls:Class; I won't know some of my symbol names until runtime. In the Help page Embedding SWF files there is an example of referencing a symbol by using a string parameter: The heart of it is: public var loadedSM:SystemManager; [Bindable] public var loadedLabel:Label; // Initialize variables with information from // the loaded application. private function initNestedAppProps():void { loadedSM = SystemManager(myLoader.content); loadedLabel = loadedSM.application[lblOne]; } --- When I run the example I get a type conversion error at this line: loadedSM = SystemManager(myLoader.content); (Droog3 is the project name.) --- TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] to mx.managers.SystemManager. at Droog3/::initNestedAppProps() at Droog3/__myLoader_creationComplete() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/set initialized() at mx.managers::LayoutManager/::doPhasedInstantiation() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() --- Did the example get broken by the move to beta 3? Did type conversion rules for the SystemManager get more strict? I'd love any help with this. Again, I need to get at a symbol using a string parameter, as in the example: loadedSM.application[lblOne]; Thanks. Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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 Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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] Question
Yes, Flex and Java work well together :) http://www.theserverside.com/news/thread.tss?thread_id=25418 http://www.theserverside.com/news/thread.tss?thread_id=30332 With FDS, even more so ... see the link I sent out earlier. Best, Steven Steven WebsterPractice Director (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: 07 June 2006 22:13To: flexcoders@yahoogroups.comSubject: [flexcoders] Question Does Flex and Java work well together __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: How up upload a ByteArray to PHP on the server?
Hello, I'm assuming that what you want is to send a binary to your server in the same way that if it was sent by a browser (using that browse button in some forms) and then, at the server side, consume that file using PHP. In that case, I think that the best way is to implement (using ByteArray, of course) a data packet compliant with multipart/form- data encoding type, then just send it to your php handler in the server and that's it. Writing a multipart/form-data packet is easy and you can find the full specification on w3c.org Given that this spec may be hard to read, I suggest you another way that worked for me in the past (though it's more, let's say, empiric) 0. Prepare a sniffer between your browser and your server (there are many of them that are very easy to use) 1. Just upload a little jpeg file to your server using a browser and the standard way: a form with an input tag of type file, bla, bla. 2. Capture the data from the browser to the server and use it to figure out and implement the multipart/form-data packet (is easy, believe me.) Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/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] Using E4X with attributes in XML tags
Hi everyone, This is a follow-up question from my last post http://groups.yahoo.com/group/flexcoders/message/38691?threaded=1var=1. I've managed to use an XML object instead of an XMLDocument object, so that I can utilize E4X to parse the XML. BUT, my new problem is that for some xml results that are returned, the tags have attributes, and now the calls to access the child nodes don't work anymore. For instance... var xml_object = Item xmlns="some.namespace.com" //Item tag now has attributexmlns="..." ItemID11579339/ItemID SiteUS/Site TitleHalo 2 (Xbox)/Title CurrencyUSD/Currency SiteHostedPicture GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType /SiteHostedPicture PaymentMethodsPayPal/PaymentMethods /Item So, calls that used to work to access child nodes, such as some_label.text=xml_object.Title,which would return the items title,used to work but now they just display nothing...? I've tried using the @ attributeoperator in calls such as some_label.text=xml_object.(@xmlns="...").ItemID, but still nothing (I actually get an error for that last call - undefined property 'xmlns'). So now I'm stuck until I can figure out how to access those child nodes with the attribute on there, or to somehow parse the XMl and remove the attribute before I try to access the child nodes. Thanks in advance Charles __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: ExternalInterface | How to get called from flash inxml flavor?
knock, knock...nobody out there?Still standing Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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] Dumb Newbie Question - Underlined Hyperlinks
Hello everyone. I'm hoping this is super easy, but I can't find any documentation on it. I'm working with Flex 2.0 Beta 3. While using the TextArea control, I'm posting an HTML hyperlink to the htmlText property. The link appears in the TextArea control and it works, but there's nothing to show the user that it's a link. Is there an easy way to force the display of hyperlinks to blue and underlined in the TextArea control? Is there another control that will display standard HTML? Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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: Comboboxes in flex/flash
Thanks those are interesting and to the point. But, I guess the implication is that there is no way to turn off the jerky 'slide out' behavior of the built in flex combobox...and that there is no autocomplete either? The reason this seems important to me is that I'm mostly about building data centric applications. Groovy visuals are not important, what's crucial is 'natural' editing capabilities, usually text, numbers etc. I'm wondering if this is an indicator of the non-data centric roots of flex, or more properly flash. Are people using flex for RIA applications that are data centric? Think email client (I know about the one jboss is building), quickbooks, that sort of thing? I don't want to be forcing flex to be something it's not really primed for quite yet. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Check out Sho's completion input example here: http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/ http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/ -TH --- In flexcoders@yahoogroups.com, michaellisten listensome@ wrote: Just looking at flex/flash, have a general question re combobox, aka dropdown list. I'm not sure that I've seen one in a sample app that has a lookup feature; type ahead etc. They're more like open the combo and pick from the list. That's not very workable with data centric apps which is what I do most of the time. Also, the gradual drop down effect of the controls seems slow and even jerky...rather odd considering how smooth many other aspects of flash are. Is there a type ahead type feature for combos in flex? And can the slide out effect be either disabled or improved on? Is the the best list to ask entry level questions? I know there are macromedia newsgroups for flex, but they don't seem quite as lively as this list. OTOH, this list doesn't seem particularly oriented towards newbies...hope though that it's ok to ask such questions here. Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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: RSL: using runtime shared library prompts debug dialog [F2b3]
Hello list, just to let you know, I've just got mail from Adobe Flex QE after filling bug with that issue, They were able to reproduce that behavior, so guys: when testing RSL just dismiss that dialog and movie will continue fine, issue will be fixed soon, kind regards, Peter Blazejewicz [CLOSED] Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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: Alternative to firstChild, lastChild and nextSibling
namespace blah = some.namespace.com;use namespace blah; xml_object.ItemID;ORnamespace blah = some.namespace.com ;xml_object.blah::ItemID;PeterOn 6/7/06, Charles [EMAIL PROTECTED] wrote: Actually, now I havea follow-up question. I've managed to use E4X to parse the XML now, but, for some XML documents, there are attributes on some of the items. For instance, in comparison to the previous XML I posted, some are now... Item xmlns=some.namespace.com // the attribute of xmlns=... is new ItemID11579339/ItemID SiteUS/Site TitleHalo 2 (Xbox)/Title CurrencyUSD/Currency SiteHostedPicture GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType /SiteHostedPicture PaymentMethodsPayPal/PaymentMethods/Item So, with the new attribute on the Item tag, I can't seem to access any children using the same calls anymore. For instance, when I go some_label.text = xml_object.ItemID, it is now blank, when it used to be filled before...? I've tried using the @ attribute operator in calls such as some_label.text = xml_object.(@xmlns == some.namespace.com).ItemID), but still nothing. Thanks again Charles --- In flexcoders@yahoogroups.com, Charles [EMAIL PROTECTED] wrote: Great. Got it! Thanks for the help everyone!--- In flexcoders@yahoogroups.com , Peter Hall peterjoel@ wrote: XMLDocument is the old XML object, which has firstChild, nextSibling etc. Use XML to use e4x.public var xml_object:XML = new XML(); Peter On 6/7/06, Charles charles.bihis@ wrote: Hi guys, Thanks for the replies. But I should mention that I've tried that before. I get no output...blank. I actually used that before when my data provider was an ArrayCollection, or an HTTPService. But now that it's an XMLDocument, for some reason, it doesn't work, and the only thing that does is by using firstChild and lastChild. Just in case I am doing something totally wrong here, I'll try and be a little more specific. Here is a simpler version of what I am trying to do (if you are so inclined, you can grab the actual .mxml file here http://charles.abstractations.com/test.mxml in case you wanted to see a little clearer)... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical mx:Script ![CDATA[ public var xml_object:XMLDocument = new XMLDocument; public function ParseXML():void { xml_object.ignoreWhite = true; xml_object.parseXML(Item + ItemID11579339/ItemID +SiteUS/Site + TitleHalo 2 (Xbox)/Title +CurrencyUSD/Currency +SiteHostedPicture + GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType + /SiteHostedPicture +PaymentMethodsPayPal/PaymentMethods + /Item); everything.text = xml_object.firstChild.toString(); // returns full XML string - OK! //just_item_id = xml_object.Item.ItemID.toString(); // ERROR - Access of possibly undefined property Item //just_item_id = xml_object.Item.toString(); // ERROR - Access of possibly undefined property Item //just_item_id = xml_object.childNodes.Item; // no error, but displays nothing } // ParseXML ]] /mx:Script mx:Label id=everything/ !-- should show full xml after button is clicked -- mx:Label id=just_item_id/ !-- should only show ItemID after button is clicked -- mx:Button label=click me click=ParseXML()/ /mx:Application Thanks for the help! Charles --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: Compare it to the Microsoft XML DOM, which has dozens of classes.XML, huh, one class? How can that be? Tracy From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of Michael SchmalleSent: Tuesday, June 06, 2006 6:40 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Alternative to firstChild, lastChild andnextSibling You got that right! E4x can do some crazy things. Sometimes I wonder ifI am kidding myself at how easy it is to use :) Peace, Mike On 6/6/06, Tracy Spratt tspratt@ wrote: Yep. And the subtext to my style of response is If you are not using 2.0 yet, here is one very good reason to make the move. Tracy From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of Michael SchmalleSent: Tuesday, June 06, 2006 6:23 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Alternative to firstChild, lastChild andnextSibling Tracy :-( That is what I was getting to :) I guess being direct works ... HA Peace, Mike On 6/6/06, Tracy Spratt tspratt@ mailto: tspratt@ wrote: E4x: xml_object.PaymentMethods; //PayPal xml_object.SiteHostedPicture.GalleryType; //http://. Tracy
RE: [flexcoders] how can I load text from a file
Use HTTPService. It is a 1.5(and 2.0) data service. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Antoine Malpel Sent: Wednesday, June 07, 2006 11:27 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] how can I load text from a file Thanks all for anwsering I should precise I use FLEX 1.5 .. can't theses objects ... Tracy Spratt a écrit: Use HTTPService or URLLoader(). Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Antoine Malpel Sent: Tuesday, June 06, 2006 12:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] how can I load text from a file Hi I have a text containing a big big big html text that I need to put inside a mx:texarea in my app I don't how to load the content of this file in order to set the value of htmltext ... Any example ? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: need help in making usrname/pswd Database
I sent you my prehistoric example directly. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of raju_bb Sent: Wednesday, June 07, 2006 6:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: need help in making usrname/pswd Database i know Java and ASP(lil bit)...how can i do it...send me any links if u have..thanks __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?
A bug, maybe. That's been standard behavior since 1.0. Asigning a dataprovider to a control resets it to its initial state. Yes, definitely, I would prefer the state to not change. I think this might be quite difficult to do though. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, June 07, 2006 6:54 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display? On Tuesday 06 June 2006 23:55, Jason Y. Kwong wrote: Ya, that's always an option, but it's a little disruptive cause it closes all the nodes that the user opened. Oh well, for now I'm just showing the root node. IMVHO, that's a bug. Unless the id of an open node, or the nodes depth have changed, it should stay open. More often than not, that's what you would want to happen, no ? What do others think ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards -- 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 ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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] Question
Yes. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 5:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question Does Flex and Java work well together __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Alternative to firstChild, lastChild and nextSibling
Check out the thread: Namespace Hell. Sounds like it is relevant. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles Sent: Wednesday, June 07, 2006 2:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Alternative to firstChild, lastChild and nextSibling Actually, now I havea follow-up question. I've managed to use E4X to parse the XML now, but, for some XML documents, there are attributes on some of the items. For instance, in comparison to the previous XML I posted, some are now... Item xmlns=some.namespace.com // the attribute of xmlns=... is new ItemID11579339/ItemID SiteUS/Site TitleHalo 2 (Xbox)/Title CurrencyUSD/Currency SiteHostedPicture GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType /SiteHostedPicture PaymentMethodsPayPal/PaymentMethods /Item So, with the new attribute on the Item tag, I can't seem to access any children using the same calls anymore. For instance, when I go some_label.text = xml_object.ItemID, it is now blank, when it used to be filled before...? I've tried using the @ attribute operator in calls such as some_label.text = xml_object.(@xmlns == some.namespace.com).ItemID), but still nothing. Thanks again Charles --- In flexcoders@yahoogroups.com, Charles [EMAIL PROTECTED] wrote: Great. Got it! Thanks for the help everyone! --- In flexcoders@yahoogroups.com, Peter Hall peterjoel@ wrote: XMLDocument is the old XML object, which has firstChild, nextSibling etc. Use XML to use e4x. public var xml_object:XML = new XML(); Peter On 6/7/06, Charles charles.bihis@ wrote: Hi guys, Thanks for the replies. But I should mention that I've tried that before. I get no output...blank. I actually used that before when my data provider was an ArrayCollection, or an HTTPService. But now that it's an XMLDocument, for some reason, it doesn't work, and the only thing that does is by using firstChild and lastChild. Just in case I am doing something totally wrong here, I'll try and be a little more specific. Here is a simpler version of what I am trying to do (if you are so inclined, you can grab the actual .mxml file herehttp://charles.abstractations.com/test.mxml in case you wanted to see a little clearer)... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=vertical mx:Script ![CDATA[ public var xml_object:XMLDocument = new XMLDocument; public function ParseXML():void { xml_object.ignoreWhite = true; xml_object.parseXML(Item + ItemID11579339/ItemID + SiteUS/Site + TitleHalo 2 (Xbox)/Title + CurrencyUSD/Currency + SiteHostedPicture + GalleryTypehttp://somesite.com/somepicture.jpg/GalleryType + /SiteHostedPicture + PaymentMethodsPayPal/PaymentMethods + /Item); everything.text = xml_object.firstChild.toString(); // returns full XML string - OK! //just_item_id = xml_object.Item.ItemID.toString(); // ERROR - Access of possibly undefined property Item //just_item_id = xml_object.Item.toString(); // ERROR - Access of possibly undefined property Item //just_item_id = xml_object.childNodes.Item; // no error, but displays nothing } // ParseXML ]] /mx:Script mx:Label id=everything/ !-- should show full xml after button is clicked -- mx:Label id=just_item_id/ !-- should only show ItemID after button is clicked -- mx:Button label=click me click=ParseXML()/ /mx:Application Thanks for the help! Charles --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: Compare it to the Microsoft XML DOM, which has dozens of classes. XML, huh, one class? How can that be? Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Tuesday, June 06, 2006 6:40 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Alternative to firstChild, lastChild and nextSibling You got that right! E4x can do some crazy things. Sometimes I wonder if I am kidding myself at how easy it is to use :) Peace, Mike On 6/6/06, Tracy Spratt tspratt@ wrote: Yep. And the subtext to my style of response is If you are not using 2.0 yet, here is one very good reason to make the move. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Tuesday, June 06, 2006 6:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Alternative to firstChild, lastChild and nextSibling Tracy :-( That is what I was getting to
RE: [flexcoders] Dumb Newbie Question - Underlined Hyperlinks
Yes, there is a css style setup that will do this. I recall reading it very recently in this list. If I can find it Ill point you to it. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of swhitley02 Sent: Wednesday, June 07, 2006 5:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dumb Newbie Question - Underlined Hyperlinks Hello everyone. I'm hoping this is super easy, but I can't find any documentation on it. I'm working with Flex 2.0 Beta 3. While using the TextArea control, I'm posting an HTML hyperlink to the htmlText property. The link appears in the TextArea control and it works, but there's nothing to show the user that it's a link. Is there an easy way to force the display of hyperlinks to blue and underlined in the TextArea control? Is there another control that will display standard HTML? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Limiting number of items a control displays
Check out rowCount. http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/controls/listClasses/ListBase.html Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacey Mulcahy Sent: Wednesday, June 07, 2006 3:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Limiting number of items a control displays Is there a way to limit the number of items that a control displays of a dp or do you have to modify the array/arraycollection prior to setting it in order to do so? For example I have a list control thats gets a result that has 10 items, but I only want to show 3 and let the user have the choice to show more via rightClick. I can create a function to do this and handle how many items gets put into a dp but just wondering if I was missing a basic property or what not. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Namespace hell
I think it's a limitation right now. It has nothing to do with if the namespaces are default or not; that is only relevent within the specific text representation of the XML. Namespaces are evaluated at compile-time, so there is not capacity for XMLListCollection to detect namespaces and use them, nor for XMLListCollection to be parametrised with namespaces to use. I'm loathe to recommend not using namespaces, because they add a lot of robustness, and they are harder to add with hindsight. Could you, perhaps, transform your XML just prior to setting it as a dataProvider? It might even be possible to create subclasses of XMLListCollection, which has the namespace baked in, but I haven't looked into the source code to see how it is implemented. PeterOn 6/7/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: >From what I can gather, default namespaces in XML data simply aren'tvery well supported in AS3/Flex 2. Can someone from Adobe chime in toconfirm or deny this? Should we simply try to avoid them at all costs? Thanks,Ben Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Question
So how about we take this off on a tangent a bit... why would I use Java instead of ColdFusion or vice versa? The floor is open... My apologies if this has already been discussed, but I don't remember seeing anything. On 6/7/06, Tracy Spratt [EMAIL PROTECTED] wrote: Yes. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 5:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question Does Flex and Java work well together __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] MS Vista Beta 2 out
Just incase anyone would like to test any of the flex apps/clients on MS Vista Beta 2, it can now be downloaded from MS's website: http://www.microsoft.com/windowsvista/getready/preview.mspx Chris Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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] Question
If your skillsets for both are equal, and there is no business or political preference, well, you are pretty lucky. Seriously, the decision is often based on in-house expertise or corporate policy. You can toss into the mix .NET, PHP, etc. This is one of the intended strengths of Flex, allowing you to use the business logic tier platform of your choice. If you plan to use FDS, you would be advised to choose a platform supported by that, but even then, WebOrb is developing the infrastructure to use FDs with .Net . So use what you know, what your company mandates, or what your customers want. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner Sent: Wednesday, June 07, 2006 7:59 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question So how about we take this off on a tangent a bit... why would I use Java instead of ColdFusion or vice versa? The floor is open... My apologies if this has already been discussed, but I don't remember seeing anything. On 6/7/06, Tracy Spratt [EMAIL PROTECTED] wrote: Yes. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 5:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question Does Flex and Java work well together __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Question
ColdFusion compiles to Java and it doesnt offer all the features of Java. It also costs about $7000 per enterprise license (last time I checked). Java is free. As for any of the other competitors I cannot say. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner Sent: Wednesday, June 07, 2006 4:59 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question So how about we take this off on a tangent a bit... why would I use Java instead of ColdFusion or vice versa? The floor is open... My apologies if this has already been discussed, but I don't remember seeing anything. On 6/7/06, Tracy Spratt [EMAIL PROTECTED] wrote: Yes. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 5:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question Does Flex and Java work well together __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Namespace hell
Hi Peter,Thanks for the reply. My development is actually focused around consuming SOAP web services that are created by other developers, so not using namespaces isn't an option for me anyways. (I made the example above as simple as possible for demo purposes.) As for transforming the XML before setting it as a dataProvider, I would love to do that but as far as I can tell there is no way to strip out a default namespace. When grabbing child nodes they inherit any parent namespace, so once they're in there, it seems there is no way to get them out. If you know how to get rid of default namespaces I would love to know how. I have been struggling with namespace related issues ever since I installed Beta 3.Thanks,Ben __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Question
Kelly, Java is free. Am I getting messed up, I thought you needed like jrun or j2ee. Honestly, I did Java 2 years back and I would love to know how I could use it with FDS? I had got servlets working and things. Do you have any urls that point to what 'free' java would give you using flex. Right now I use php5. Peace, Mike On 6/7/06, Kelly @ Dekayd Media Inc. [EMAIL PROTECTED] wrote: ColdFusion compiles to Java and it doesn't offer all the features of Java. It also costs about $7000 per enterprise license (last time I checked). Java is free. As for any of the other competitors I cannot say. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brendan Meutzner Sent: Wednesday, June 07, 2006 4:59 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question So how about we take this off on a tangent a bit... why would I use Java instead of ColdFusion or vice versa? The floor is open... My apologies if this has already been discussed, but I don't remember seeing anything. On 6/7/06, Tracy Spratt [EMAIL PROTECTED] wrote: Yes. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 5:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question Does Flex and Java work well together -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] zombie warnings
So what's the recommended way to get rid of erroneous warnings that won't go away in Flex 2 beta 3? I have a bunch that are definitely wrong. Like 'Data binding will not be able to detect assignments to length.' and pointing to a line that says mx:fill. It has that warning x2 (for the same line), along with several others. I've tried closing the project and restarting Flex. Is there some kind, gentle way I can get it to clear them out? Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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: quick filter for datagrid
thanks i'been reading about sho's auto complete sample and i think it wont be dificult to do it for datagrid i'll upload my file and give you the url thanks for the help --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: yap, directly migrating from b1 to b3 would be a huge pain, but there's a migration script in beta2 which automatically do most of the job for you (but it's a unix shell script so you need cygwin on windows to use it, if you have probelm setting that up, send me the file I can convert that since I still have cygwin installed) then it's a snip to migrate from b2 to b3, guess this is the fact of life for playing with beta proggy. ComboBox and DataGrid are both ListBased classes, so they shared almost the same APIs, like getItem(), getItemAt() thru dataProvider, so it should not be difficult to modify that sample to use Datagrid. On 6/7/06, tonyx_788 [EMAIL PROTECTED] wrote: the problem is i'm almost finish with my project and the last time i tried to install beta3 it throw me lots of errors after i finish i'll install it the other thing is that sho's example it's only for comboboxes and i have a text input an a datagrid --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jeremy Lu wade.lu@ wrote: well, I'm not sure about that, why not ask Sho about it ? btw, as Flex2 is very close to release, why not port your application to Beta3 ? On 6/6/06, tonyx_788 tonyx_788@ wrote: Thanks for the fast reply Jeremy but do you know if this works in Flex 2 Beta1 i only see it for beta 3 Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/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] One last try: Javascript security
Hi. I would like to raise this point one last time, before the Adobe engineers lock in this aspect of framework behaviour in the final release. Is it really necessary to restrict the security of the Flash Player / Flex Application model to such an extent that a flex application (SWF) located *on a users local hard disk* cannot make calls to _javascript_ functions in its container page, also located on the same hard disk? (I have described in the thread _javascript_ security my various attempts to disprove this, to no avail). I understand why it should be impossible for Internet based applications to operate within a strict sandbox, which prevents them from accessing local resources. But surely, functions scripted within the applications container page should also be considered to exist within the same sandbox? And if not, how does it make sense that *Internet* based apps can call external _javascript_, whilst local ones cant? Flex is a fantastic, emerging cross-platform framework technology. Imagine how useful it would be to be able to use visual Flex components within local-machine applications developed using other technologies, such as .NET, Java, Delphi etc. Whilst Flex provides excellent user interface development capabilities, it is not a tool for the kind of business application development that these other environments excel in. It doesnt have the same data modelling tools, low-level system APIs, encryption libraries, etc. etc. If you could use Flex to develop custom components, which you could then embed within a host application using a browser component, then you would have the best of both worlds. Those who develop Flex components would have a wider reach for their products. Many of you will have heard of Mono, the cross-platform .NET implementation. The one area where Mono lags most behind Microsofts own implementation is in GUI development. Imagine developing a cross platform app in .NET, using all its data access and business process modelling power, with a Flex front end. Flex reads and writes .NET datasets very easily (just convert them to XML, and youve got the power of E4X to do all your manipulation within the UI layer). Maybe this can be put in the category of Flex was never meant to do that, but really, all it would take is being able to use the ExternalInterface API to accept commands, report events and exchange data with the host application via scripted functions in the container page. Ideally, the page shouldnt even have to exist on disk it could be dynamically created and fed to the browser component by the host application but thats getting a bit esoteric. The main thing is being able to establish communications between Flex and its HTML page an interface which already exists in its entirety, but which is locked down in such a way that it is not useable in this scenario, as it currently stands. Again, if anyone can prove me wrong on this, Id love to hear how. Rant over, have a nice day. Cheers, Tim. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Problem with drawn lines appearing outside the bounds of container on resize.
Can anyone comment? Anyone from Adobe have any insight? Thanks. --- In flexcoders@yahoogroups.com, Steven Toth [EMAIL PROTECTED] wrote: I have a Canvas that I'm drawing on using the graphics.lineTo() method of the Canvas. When I resize the browser window so the the Canvas gets smaller the lines that were in the Canvas now extend outside the bounds of the Canvas and show on other containers. The only thing I have been able to do to remove them is to call the graphics.clear() of the Canvas. The clipContent property of the Canvas is set to true and it still shows the lines outside of the bounds of the Canvas. Is this expected behavior? What needs to be done to have the lines drawn on the Canvas resize with the Canvas to stay contained within the bounds of the Canvas? I expected that to happen by default. I'm using Flex 2 Beta 3. Thanks. -Steven Yahoo! Groups Sponsor ~-- Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/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: Beta3 BUG: Date.parse does not work with XML format (YYYY-MM-DDThh:mm:ss) string
Can Adobe confirm this is a bug? Thanks. --- In flexcoders@yahoogroups.com, Steven Toth [EMAIL PROTECTED] wrote: My WebSerivce returns a date string in the XML Date format (- MM- DDThh:mm:ss). Calling Date.parse() to convert it to a Number (a Number representing the milliseconds elapsed since January 1, 1970, UTC) always return NaN. According to the Flex docs for Beta3 this format is supported by the Date.parse() method. I also tried appending different timezone abbreviations (GMT, PST, and EST) to provide the full date string (-MM-DDThh:mm:ssTZD). -Steven Yahoo! Groups Sponsor ~-- Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/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: loadWSDL Webservice result?
Thanks Ben for the resultFormat tip. lastResult is still throwing an error so I will go with using 'result'for the moment. Cheers Wayne --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: The lastResult vs. result thing is a property of the WS operation you call, not the ResultEvent object that is sent to your result handler. I believe the most common place you would use this would be when you want to bind part of the returned data to something. myWebService.myWsMethod.lastResult resultFormat is a property of the AbstractOperation when calling a WS from AS. For some reason it is not recognized by code completion or listed in the docs, but I was told this by an Adobe engineer and it does work. myWebService['myWsMethod'].resultFormat = e4x; Hope this helps, Ben Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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/