[flexcoders] Flex 1.5 DataGrid with checkBox?
Hello all, I am trying to build a datagrid with the first column as checkboxes. and the header of the column serve as select all function. I use cellRenderer=mx.controls.CheckBox in the cellrenderer. and it really display the checkbox. However, after searching through the help, I am not quite sure how can i update the select properties according to the dataprovider? How can i refer these checkboxes? I have try to build my own renderer, and can successfully get the click event. Is that it is impossible for a direct binding of a field in the dataprovider to the select state? Thanks so much for any advance. 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.
Re: [flexcoders] E4X Gurus
hiei have tried one e4x related program.if it can give u understanding how to use it,its a program that uses e4x format in xml and ebet handlers to display the item.?xml version="1.0"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ import flash.events.*; import mx.events.*; import mx.controls.*; private function changeEvt(event:Event):void { forChange.text = [EMAIL PROTECTED]; }private function nodeOpenEvt(event:TreeEvent):void { forOpen.text = [EMAIL PROTECTED]; } ]] /mx:Script mx:Label text="Click Any tags below:" width="167" color="#ff" fontSize="15" fontWeight="bold" fontStyle="italic" fontFamily="Times New Roman"/ mx:Tree id="tree1" width="620" height="196" showRoot="false" labelField="@label" itemOpen="nodeOpenEvt(event);" change= "changeEvt(event);" mx:dataProvider mx:XML format="e4x" node label="Sites" node label="Ajax" isBranch="true" node label="http://coenraets.com/viewarticle.jsp?articleId=102" data=""/ node label="http://www2.sys-con.com/webinararchive.cfm"/ /node node label="Flex" isBranch="true" node label="http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml" data=""/ node label="http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge" / node label="Flex Beta3" isBranch="true" / node label="http://labs.adobe.com/wiki/index.php/Flex_Builder:overview#New_in_the_beta_3_release" / /node node label="Scrum" isBranch="true" node label="http://www.brajeshwar.com/archives/2006/04/scrum-the-hyper-productivity-tool/" data=""/ node label="http://danube.com/scrumworks" / /node node label="barCampus" isBranch="true" node label="http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml" data=""/ node label="http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge" / /node node label="e4X" isBranch="true" node label="http://www.w3schools.com/e4x/default.asp" data=""/ node label="http://www.darronschall.com/weblog/archives/000223.cfm" / /node node label="Flash" isBranch="true" node label="http://www.darronschall.com/weblog/archives/000192.cfm" data=""/ node label="http://arindambiswas.com/blog/" / /node node label="XML" isBranch="true" node label="http://www.w3schools.com/e4x/default.asp" data=""/ node label="http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge" / /node node label="India" isBranch="true" node label="http://csfvlog.blogspot.com/" data=""/ node label="http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge" / /node /node /mx:XML /mx:dataProvider /mx:Tree mx:Label text="Tags:" width="100" fontWeight="bold" fontStyle="italic" fontSize="36" fontFamily="Times New Roman" color="#ff" alpha="0.0"/ mx:TextArea id="forOpen" width="628" height="20"/ mx:Label text="Links:" width="100" fontSize="36" fontWeight="bold" fontStyle="italic" fontFamily="Times New Roman" color="#ff"/ mx:TextArea id="forChange" width="632" height="20"//mx:Applicationbye.sufibaba [EMAIL PROTECTED] wrote: Hello, Wondering if someone can help with E4X XML commands. I'm working on a second cut for the Tree with lines. What would be the equivalent of the legacy XML object lastChild command. Also, if possible, would love a list of XML object's properties converted to E4X. Any help on this will benefit the whole of Flex-manity. Tim Yahoo! India Answers Share what your know-how and wisdom Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now -- 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] writing to an XML file
hi i have recently learnt how to read from an XML file usiing HTTPService . Is there a component available in flex to write to an XML file? Kindly Reply. -- 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] writing to an XML file
if you search this list you'll find a thread where someone post an example about how to do that.2006/5/25, rama satoskar [EMAIL PROTECTED] : hi i have recently learnt how to read from an XML file usiing HTTPService . Is there a component available in flex to write to an XML file? Kindly Reply. -- 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 . -- ::| Carlos Rovira::| http://www.carlosrovira.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: writing to an XML file
Could u guide me please...coz when i looked through the example.i saw examples of many XMLListCollection Search. But they onlt specify making XML objects . i am confused. what i fi have an external file in some other directory outside my project. can i writeKindly help. --- In flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: if you search this list you'll find a thread where someone post an example about how to do that. 2006/5/25, rama satoskar [EMAIL PROTECTED]: hi i have recently learnt how to read from an XML file usiing HTTPService . Is there a component available in flex to write to an XML file? Kindly Reply. -- 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 developmenthttp://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 developmenthttp://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 developmenthttp://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 flexhttp://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 practicehttp://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 flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- ::| Carlos Rovira ::| http://www.carlosrovira.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] troubleshooting FDS gateways
I'm trying to get FDS to connect to a CF gateway and getting nowhere [MessagingError message=Unknown destination 'ColdFusionGateway'.] at mx.messaging.config::ServerConfig$/getChannelSet() at mx.messaging::MessageAgent/mx.messaging:MessageAgent::initChannelSet() at mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend() at mx.messaging::Consumer/subscribe() at Flex2CF/initApp() it's as if the Flex gateway can't see the CF gateway. comparing flex-enterprise-services.xml and flex-message-service.xml settings with others shows up nothing out of the ordinary. is there something I can do (on the comand line perhaps) to debug this? throwing the simpliest of mxml at it only gives me a big fat error thanx barry.b -- 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] importing mx packages in beta3 problem solved.
hi , Thanks to everyone who sent me a reply. After loading-reloading beta3 just in a attempt to be able to import mx and other packages in actionscript filei finally got a solution. I cleared my cache using the ASO zip file available on http://www.adobe.com/cfusion/exchange/index.cfm?extid=1016963view=sn111 Now all the packages are getting imported. As informed by many, my new class definitions were not getting replaced .The old swf's were played. Anyways the problem gets solved -- 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: flex2b3 - adding a button to a textinput
Not sure if i've explained myself clearly, but here's an example in both flex1.5 and 2. The flex 1.5 version does exactly what i want. myTextInput.mxml - flex 1.5 ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.macromedia.com/2003/mxml initialize=createButton() mx:Script ![CDATA[ private var btn1:Object; private function createButton():Void { var oObj = new Object(); oObj.label = x; oObj.width = 20; oObj.borderThickness = 0; oObj.cornerRadius = 0; createClassObject(mx.controls.Button, btn1, 19, oObj); } ]] /mx:Script /mx:TextInput testApp.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* myTextInput/ /mx:Application heres the flex2 myTextInput.mxml ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.adobe.com/2006/mxml initialize=createButton() mx:Script ![CDATA[ import mx.controls.Button; private var btn1:Button; private function createButton():void { btn1 = new Button(); btn1.label = x; btn1.width = 20; this.addChild(btn1); } ]] /mx:Script /mx:TextInput testApp.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* myTextInput / /mx:Application --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I'm trying to add a button to a textinput as follows myTextInput.mxml mx:TextInput initialize='startUp()'/ mx:Script public btn1:Button; private function startUp():void { btn1 = new Button(); btn1.label = xx; btn1.width = 20; btn1.visible = true; addChild(btn1); } My problem is, btn1 isn't visible visible. Any ideas why ? (wasn't a problem in flex 1.5) TIA bod -- 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 do i control a .SWF file inside flex?
i tried it and its not working ! again - i m using flex 1.5 here is my code: ?xml version=1.0 encoding=utf-8? mx:Application backgroundColor=#FF xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ function replay(){ mySwf.content.gotoAndPlay(1); } ]] /mx:Script mx:Image source=images/swfTest.swf id=mySwf / mx:Button label=replay click=replay() / /mx:Application my swf is 20 frames with stop on frame 10. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I don't have a ready example, but the key to this is the content property. mx:Image id=mySwf src="" .../ Then in as: mySwf.content.gotoAndPlay(10); or var sValue:String = mySwf.content.myPublicProperty; Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, May 24, 2006 6:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how do i control a .SWF file inside flex? hi, i want to implement a swf file inside flex 1.5 and the control it from flex. i want to tell this swf to gotoAndPlay(10), gotoAndStop(98)... etc. how do i do this? can u point me to an example? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] [FLEX2:B3] Let me know that my application's backgroundColor is not white, why not?
Hi Bryan, If I hear your question right, you need to take a look at; borderAlpha =0.4of the Panel, or set the Panel's backgroundColor to something differnet. Right now it is pretty transparent so you are loosing the paenl with regaurds to the background of the Application. Peace, Mike On 5/25/06, Bryan Choi [EMAIL PROTECTED] wrote: Hi all, mx:Application xmlns:mx=http://www.adobe.com/2006/mxml backgroundColor=#FFcreationComplete=initializeApp () I tried to apply style as you can see above. But it was working. How can I do it? I tried another way below. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml backgroundColor=#FF backgroundImage=creationComplete=initializeApp () It looks well, butthe nested panel in application was not showing me that I want to. I attached two screen shot. Help me that I can do it. Regards, Bryan Choi. -- 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. -- 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.
Re: [flexcoders] Fw: [BETA3] I found how can remove the selected item of mx.controls.Tree.
My understanding was that the XMLListCollection methods would handle the needed events, but apparently not. Well, it should, and maybe this just isn't completly worked out yet in the Tree class. When you do anything to a collection be it XML or Objects, it will produce a COLLECTION_CHANGE event that has the CollectionEventKind type that you then use to figure out what happened. I know the Tree is pipped into this when the dataProvider is set. Must be a bug or something that is not completly wired. Peace, Mike On 5/24/06, Bryan Choi [EMAIL PROTECTED] wrote: Thanks Tracy, it looks well. I'll applyyour wayto my application. Thankyou for yourhelp. Regards, Bryan Choi. - Original Message - From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Thursday, May 25, 2006 12:00 PM Subject: RE: [flexcoders] Fw: [BETA3] I found how can remove the selected item of mx.controls.Tree. Bryan , I found another way to do this, using XMLListCollection. Strangely, I still have to call invalidateList to get the tree to refresh. My understanding was that the XMLListCollection methods would handle the needed events, but apparently not. Tracy //deletes the currently selected node private function deleteSelectedNode():void { var nodeToDelete:XML = XML(treeData.selectedItem); //reference to the node to delete var xlcParent:XMLListCollection = new XMLListCollection(nodeToDelete.parent().children()); //collection of nodes containing the node to delete var iIndex:int = xlcParent.getItemIndex(nodeToDelete); //index of node to delete in collection xlcParent.removeItemAt(iIndex); //remove the node treeData.invalidateList(); //refresh the tree }//deleteSelectedNode From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bryan ChoiSent: Wednesday, May 24, 2006 4:22 AMTo: flexcodersSubject: [flexcoders] Fw: [BETA3] I found how can remove the selected item of mx.controls.Tree. - Original Message - From: Bryan Choi To: flexcoders Sent: Tuesday, May 23, 2006 9:33 PM Subject: [BETA3] I found how can remove the selected item of mx.controls.Tree. Hi, all. var treeItem :Object = mxTree.selectedItem;var parentItem :Object = mxTree.getParentItem ( treeItem );var items :ICollectionView = treeDD.getChildren (parentItem);var len :int = items.length;for ( var i:int=0; ilen; i++ ){ if ( items [EMAIL PROTECTED] == [EMAIL PROTECTED] ) { treeDD.removeChildAt ( parentItem, mxTree.selectedItem, i );break; } } === It is lengthy. so.. Iwant Anyone who has idea other to know simple code rather than above. Thank you, Brayn. -- 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. -- 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.
Re: [flexcoders] Re: flex2b3 - adding a button to a textinput
Hi, Off the top of my head; set the height property of the Button. I don't think people realize that it's the actual containers that set the size of the controls. So your Button has measured itself but, it needs to be sized on both directions. Layout does something like; myButton.setActualSize(myButton.measuredWIdth, myButton.measuredHeight); Peace, MikeOn 5/25/06, bhaq1972 [EMAIL PROTECTED] wrote: Not sure if i've explained myself clearly, but here's an example in both flex1.5 and 2. The flex 1.5 version does exactly what i want. myTextInput.mxml - flex 1.5 ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.macromedia.com/2003/mxml initialize=createButton() mx:Script ![CDATA[ private var btn1:Object; private function createButton():Void { var oObj = new Object(); oObj.label = x; oObj.width = 20; oObj.borderThickness = 0; oObj.cornerRadius = 0; createClassObject(mx.controls.Button, btn1, 19, oObj); } ]] /mx:Script /mx:TextInput testApp.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* myTextInput/ /mx:Application heres the flex2 myTextInput.mxml ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.adobe.com/2006/mxml initialize=createButton() mx:Script ![CDATA[ import mx.controls.Button; private var btn1:Button; private function createButton():void { btn1 = new Button(); btn1.label = x; btn1.width = 20; this.addChild(btn1); } ]] /mx:Script /mx:TextInput testApp.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* myTextInput / /mx:Application --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: I'm trying to add a button to a textinput as follows myTextInput.mxml mx:TextInput initialize='startUp()'/ mx:Script public btn1:Button; private function startUp():void { btn1 = new Button(); btn1.label = xx; btn1.width = 20; btn1.visible = true; addChild(btn1); } My problem is, btn1 isn't visible visible. Any ideas why ? (wasn't a problem in flex 1.5) TIA bod -- 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. -- 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] maps for flex
Hi All, My name is nitin I am a new member of your group I just want to know that is any one know about the working with map on flex. I am working with maps on flex but when ever iam resizing the map its getting distorted. please guide me how to mentain the resolution while zoom in /zoom out of the map and it will be great if some one tell me what maps these Yahoo people are using in yahoo maps while working on flex.. regards nitin -- 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] why states doesn't change in flex2 beta3?
hi everyone; i can't change states. i write a simple code, but i can't work it too. is it a bug of flex or flash player? here is the code:(in flex 2 beta2 it is done well but in beta 3 it sucks) - ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=initData()mx:Script![CDATA[private var welcomeScreen:denemeci;private function initData():void{currentState='first';} ]]/mx:Scriptmx:statesmx:State name=firstmx:AddChild target={targetBox}mx:Label text=hello world //mx:AddChild /mx:Statemx:State name=secondmx:AddChild target={targetBox}mx:Label text=byebye world //mx:AddChild/mx:State /mx:statesmx:HBox width=100%mx:VBox id=targetBox height=100 width=100/mx:Button click=currentState='first' / mx:Button click=currentState='second' //mx:HBox/mx:Application --- Oktay Caglar -- 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] Problem installing Flex 2 b3 (Installer UI Mode Error)
Hi all, I tried to install Flex Builder 2 Beta 3 on my notebook (1,5 GHz Pentium M Dothan, 1GB RAM, Win XP Pro SP2, JRE 1.5.0_06). When the Flex Builder Splash Screen appears, I get the following error message: Unable to load and to prepare the installer in GUI mode. - and setup is aborted. The installer is not corrupt, setup on my workstation from the same file worked without problems. Can anyone help me with that plz -- 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: flex2b3 - adding a button to a textinput
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Off the top of my head; set the height property of the Button. I don't think people realize that it's the actual containers that set the size of the controls. So your Button has measured itself but, it needs to be sized on both directions. Layout does something like; myButton.setActualSize(myButton.measuredWIdth, myButton.measuredHeight); Peace, Mike Mike, the top of your head is a place of genius. That worked! thanks bod -- 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: why states doesn't change in flex2 beta3?
Use relativeTo instead of target: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=initData() mx:Script ![CDATA[ private var welcomeScreen:denemeci; private function initData():void{ currentState='first'; } ]] /mx:Script mx:states mx:State name=first mx:AddChild relativeTo={targetBox} mx:Label text=hello world / /mx:AddChild /mx:State mx:State name=second mx:AddChild relativeTo={targetBox} mx:Label text=byebye world / /mx:AddChild /mx:State /mx:states mx:HBox width=100% mx:VBox id=targetBox height=100 width=100/ mx:Button click=currentState='first' / mx:Button click=currentState='second' / /mx:HBox /mx:Application --- In flexcoders@yahoogroups.com, oktay nba [EMAIL PROTECTED] wrote: hi everyone; i can't change states. i write a simple code, but i can't work it too. is it a bug of flex or flash player? here is the code:(in flex 2 beta2 it is done well but in beta 3 it sucks) --- -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=initData() mx:Script ![CDATA[ private var welcomeScreen:denemeci; private function initData():void{ currentState='first'; } ]] /mx:Script mx:states mx:State name=first mx:AddChild target={targetBox} mx:Label text=hello world / /mx:AddChild /mx:State mx:State name=second mx:AddChild target={targetBox} mx:Label text=byebye world / /mx:AddChild /mx:State /mx:states mx:HBox width=100% mx:VBox id=targetBox height=100 width=100/ mx:Button click=currentState='first' / mx:Button click=currentState='second' / /mx:HBox /mx:Application --- Oktay Caglar -- 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: why states doesn't change in flex2 beta3?
in code there is no line like: private var welcomeScreen:denemeci; sorry oktay caglar On 5/25/06, oktay nba [EMAIL PROTECTED] wrote: hi everyone; i can't change states. i write a simple code, but i can't work it too. is it a bug of flex or flash player? here is the code:(in flex 2 beta2 it is done well but in beta 3 it sucks) - ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=initData()mx:Script![CDATA[private var welcomeScreen:denemeci;private function initData():void{ currentState='first';}]]/mx:Scriptmx:statesmx:State name=firstmx:AddChild target={targetBox}mx:Label text=hello world / /mx:AddChild /mx:Statemx:State name=secondmx:AddChild target={targetBox}mx:Label text=byebye world //mx:AddChild /mx:State /mx:statesmx:HBox width=100%mx:VBox id=targetBox height=100 width=100/mx:Button click=currentState='first' / mx:Button click=currentState='second' //mx:HBox/mx:Application --- Oktay Caglar -- 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: FB2 :: Flex Library Project :: Fastest way to rebuild an SWC
Ok, Maybe I answered my own question. It seems that in my classpath defined in the library project, when I edit a class file form that Flex library project it autmatically builds the SWC from there. --- I didn't notice that before. Is this right Adobe? Seems like it. Peace, MikeOn 5/25/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I have a Flex Libray Project that includes my main component classpath. What is the quickest way to ReBuild a Library Project? I am stumped on this becasue there is no mxml file and Build is disabled in the menu. So it's like, I change the source of a component that exists in the library, this component is used in another project, how do I update the SWC(rebuild it)? Adobe docs don't 'actually' say how to do this. I know if you mess with settings, add another component it will rebuild but, there has to be a quick and dirty way to do it. Peace, Mike-- 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 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] anyone knows how to work the trace window in beta3
i cant see the result of trace function in the console window of beta 3? kindly help. -- 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] FB2 :: Flex Library Project :: Fastest way to rebuild an SWC
Hi, I have a Flex Libray Project that includes my main component classpath. What is the quickest way to ReBuild a Library Project? I am stumped on this becasue there is no mxml file and Build is disabled in the menu. So it's like, I change the source of a component that exists in the library, this component is used in another project, how do I update the SWC(rebuild it)? Adobe docs don't 'actually' say how to do this. I know if you mess with settings, add another component it will rebuild but, there has to be a quick and dirty way to do it. Peace, Mike-- 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] Re: FB2 :: Flex Library Project :: Fastest way to rebuild an SWC
No, It did not rebuild the SWC, I commented out a trace() in the class file and the trace still traces in the other project(using the cached SWC from the Flex Library Project). So, still need some enlightenment here. Peace, MikeOn 5/25/06, Michael Schmalle [EMAIL PROTECTED] wrote: Ok, Maybe I answered my own question. It seems that in my classpath defined in the library project, when I edit a class file form that Flex library project it autmatically builds the SWC from there. --- I didn't notice that before. Is this right Adobe? Seems like it. Peace, MikeOn 5/25/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I have a Flex Libray Project that includes my main component classpath. What is the quickest way to ReBuild a Library Project? I am stumped on this becasue there is no mxml file and Build is disabled in the menu. So it's like, I change the source of a component that exists in the library, this component is used in another project, how do I update the SWC(rebuild it)? Adobe docs don't 'actually' say how to do this. I know if you mess with settings, add another component it will rebuild but, there has to be a quick and dirty way to do it. Peace, Mike-- What goes up, does come down. -- 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 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] Experienced Flex Developer needed
We are looking for an experienced Flex developer to work on a small project. If you are interested, please send me your resume. -- 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] anyone knows how to work the trace window in beta3
Hi, 1) Are you using the debugger? 2) If you are tracing something like.. trace(myVar) Sometimes the myVar is null and will not show. So it is actully tracing but, there is nothing to trace. For situations like this, try; trace(myVar, myVar); then you will definatly know if the trace isn't working. But, the trace() function does work in debug mode. Peace, MikeOn 5/25/06, rama satoskar [EMAIL PROTECTED] wrote: i cant see the result of trace function in the console window of beta 3? kindly help. -- 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. -- 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.
Re: [flexcoders] anyone knows how to work the trace window in beta3
This should just work if you compile your project with debugging enabled and have the debugging player installed. cheers, till rama satoskar wrote: i cant see the result of trace function in the console window of beta 3? kindly help. -- 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 -- __ Till Schneidereit Max-Brauer-Allee 259 phone ++49 40 98238528 20354 Hamburg fax ++49 40 98238530 germany __ -- 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: why states doesn't change in flex2 beta3?
Just a syntax change from B2 to B3. 'target' is still a valid attribute, but it is used for something else. --- In flexcoders@yahoogroups.com, oktay nba [EMAIL PROTECTED] wrote: thnx Geoffrey, it ran. but still i dont get it why target didn't answer oktay caglar On 5/25/06, Geoffrey Williams [EMAIL PROTECTED] wrote: Use relativeTo instead of target: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=absolute creationComplete=initData() mx:Script ![CDATA[ private var welcomeScreen:denemeci; private function initData():void{ currentState='first'; } ]] /mx:Script mx:states mx:State name=first mx:AddChild relativeTo={targetBox} mx:Label text=hello world / /mx:AddChild /mx:State mx:State name=second mx:AddChild relativeTo={targetBox} mx:Label text=byebye world / /mx:AddChild /mx:State /mx:states mx:HBox width=100% mx:VBox id=targetBox height=100 width=100/ mx:Button click=currentState='first' / mx:Button click=currentState='second' / /mx:HBox /mx:Application --- In flexcoders@yahoogroups.com, oktay nba iamthelf@ wrote: hi everyone; i can't change states. i write a simple code, but i can't work it too. is it a bug of flex or flash player? here is the code:(in flex 2 beta2 it is done well but in beta 3 it sucks) -- 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: FB2 :: Flex Library Project :: Fastest way to rebuild an SWC
Are the projects linked to each other? Properties Project References And you're using 'Build Automatically'? Those two might make the issue go away automagically. Otherwise try doing a Clean on all projects. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I have a Flex Libray Project that includes my main component classpath. What is the quickest way to ReBuild a Library Project? I am stumped on this becasue there is no mxml file and Build is disabled in the menu. So it's like, I change the source of a component that exists in the library, this component is used in another project, how do I update the SWC (rebuild it)? Adobe docs don't 'actually' say how to do this. I know if you mess with settings, add another component it will rebuild but, there has to be a quick and dirty way to do it. Peace, Mike -- 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.
RE: [flexcoders] is delete really the best/only way to remove a node in e4x?
Title: is "delete" really the best/only way to remove a node in e4x? For native Flash Player APIs, I'd log a bug against the player... this isn't really a Flex decision. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Wednesday, May 24, 2006 9:29 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] is "delete" really the best/only way to remove a node in e4x? I am not really fussing very hard, it is just that we have: XML.appendChild() XML.insertChildAfter() XML.insertChildBefore() XML.prependChild() but no XML.removeChild? delete is a completely different style syntax. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon SmithSent: Wednesday, May 24, 2006 9:02 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] is "delete" really the best/only way to remove a node in e4x? I don't know whether it is the best or only way, but it seems consistent with the use of the 'delete' operator to remove a dynamic property of an Object. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy SprattSent: Wednesday, May 24, 2006 4:48 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] is "delete" really the best/only way to remove a node in e4x? If this is the final API, I can deal with it, it is just inconsistent and undocumented, and a bit of a shock when the rest of the api is so clean and logical. I admit I have not read the e4x specification. Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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: FB2 :: Flex Library Project :: Fastest way to rebuild an SWC
Hi, thanks! Are the projects linked to each other? No And you're using 'Build Automatically'? Yes Clean This worked but, I wanted to see if it was automagicaly. Well, it seemed that it was the project links. Now I can edit in the source, it builds, then in my component test app, the new traces show up. Thanks Geoff! Peace, MikeOn 5/25/06, Geoffrey Williams [EMAIL PROTECTED] wrote: Are the projects linked to each other? Properties Project References And you're using 'Build Automatically'? Those two might make the issue go away automagically. Otherwise try doing a Clean on all projects. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I have a Flex Libray Project that includes my main component classpath. What is the quickest way to ReBuild a Library Project? I am stumped on this becasue there is no mxml file and Build is disabled in the menu. So it's like, I change the source of a component that exists in the library, this component is used in another project, how do I update the SWC (rebuild it)? Adobe docs don't 'actually' say how to do this. I know if you mess with settings, add another component it will rebuild but, there has to be a quick and dirty way to do it. Peace, Mike -- 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. -- 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.
Re: [flexcoders] Re: writing to an XML file
Rama,Read the page entitled Working with XML in the documentation. It's quite thorough and should get you on your way.Regards,TimOn 5/25/06, rama satoskar [EMAIL PROTECTED] wrote: Could u guide me please...coz when i looked through the example.i saw examples of many XMLListCollection Search. But they onlt specify making XML objects . i am confused. what i fi have an external file in some other directory outside my project. can i writeKindly help. --- In flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: if you search this list you'll find a thread where someone post an example about how to do that. 2006/5/25, rama satoskar [EMAIL PROTECTED]: hi i have recently learnt how to read from an XML file usiing HTTPService . Is there a component available in flex to write to an XML file? Kindly Reply. -- 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 flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED] [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- ::| Carlos Rovira ::| http://www.carlosrovira.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 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] anyone knows how to work the trace window in beta3
I think this is what youre looking for Rama: http://graysky.sourceforge.net/ Wonderful plug-in! Ben Lucyk [EMAIL PROTECTED] p 1.877.TRY.ESRIA ext 718 c 1.408.489.3913 f 1.877.828.4436 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rama satoskar Sent: Thursday, May 25, 2006 8:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] anyone knows how to work the trace window in beta3 i cant see the result of trace function in the console window of beta 3? kindly help. -- 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] anyone knows how to work the trace window in beta3
Hi All, Anyone knows how to upload a file in Flex 2? Thanks, Sukhminder -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Tim ScollickSent: 25 May 2006 14:24To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] anyone knows how to work the trace window in beta3If you're new to Eclipse, the debug build button is the one along the top taskbar with the bug on it beside the green arrow. I was using Alert.show('trace statement') to trace things for the first two weeks of my Flex career! On 5/25/06, Till Schneidereit [EMAIL PROTECTED] wrote: This should just work if you compile your project with debugging enabled and have the debugging player installed.cheers,till rama satoskar wrote: i cant see the result of trace function in the console window of beta 3? kindly help. -- 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 -- __Till Schneidereit Max-Brauer-Allee 259phone ++49 40 98238528 20354 Hamburgfax ++49 40 98238530 germany__ --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] May 29 Sydney Developers Group study group
On Monday 29th May, we'll be studying Actionscript 3. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm. Details about the group, venue and program are available from http://www.flashdev.org.au. Please note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. There will be lucky door prizes for those who rsvp. [Put yourself on the (frappr) map (http://www.frappr.com/flexdevelopers)] Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- 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] AJAX versus Flex
To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention. I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product. What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own. My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now. To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late. >From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us. Now is the time to promote to the industry and the general public as a whole about the value of Flex. Again, just my opinion. Sincerely, Jack -- 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: Flex 1.5 DataGrid with checkBox?
Hi Dan, If your dataProvider has a field that signifies the checkbox's state, selected for example, you could add the following to your click handler: listOwner.dataProvider[getCellIndex().itemIndex].selected = check.selected; Make sure you declare listOwner and getCellIndex. I've found the following link helpful in understanding cell renderers: http://www.communitymx.com/content/article.cfm?cid=B4AED --- In flexcoders@yahoogroups.com, Dan [EMAIL PROTECTED] wrote: Hello all, I am trying to build a datagrid with the first column as checkboxes. and the header of the column serve as select all function. I use cellRenderer=mx.controls.CheckBox in the cellrenderer. and it really display the checkbox. However, after searching through the help, I am not quite sure how can i update the select properties according to the dataprovider? How can i refer these checkboxes? I have try to build my own renderer, and can successfully get the click event. Is that it is impossible for a direct binding of a field in the dataprovider to the select state? Thanks so much for any advance. 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.
Re: [flexcoders] AJAX versus Flex
Hi, my 0.02 cents. When you talk about Ajax verses Flex. I think of one thing, Object Oriented Programming. This debate, Ajax vs. Flex, wait one more year and see the code libraries that are abstract and reusable within 2 seconds of loading them on your computer. See, OOP lends itself well to the I think I can, I think I can, I think I can and then all the sudden your at rocket power. Take the Adobe flex2 framewrok and give it a trigger, I could out perform most that take Ajax and try to figure out the rats nest that comes with all the browsers, the half ass code libraries, etc. OOP is still new and well, if you know what it is and how powerful it can speed up an entire community of developers, Ajax is then going to have to play catch up. Flex2 isn't even public yet, so all this grandious, bs that the 'News' likes to fill your head with means nothing to a real Flex2 developer like myself. As far a Microsoft... who cares! They have been leading for years and will still lead as long as there bank accounts can still pay court battles. There is never just one leader in this world, common, do your homework. Peace, MikeOn 5/25/06, jwc_wensan [EMAIL PROTECTED] wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention. I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product. What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own. My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now. To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late. >From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us. Now is the time to promote to the industry and the general public as a whole about the value of Flex. Again, just my opinion. Sincerely, Jack -- 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. -- 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
Re: [flexcoders] AJAX versus Flex
What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. I recently got into a discussion on this, well it really wasn't a discussion. I was asked to giv e input on Flex to a internal architecture team. THey had written a quick doc about RIA and using it on our customer facing apps in the future. The doc had several incorrect stetements about Flex/Flash RIA. One was 'Flash player is full of security holes'. comparing Flex to AJAX I told them that currently no company really is behind AJAX in the sense of SLAs and such. they quickly retorted that IBM Websphere supports it. Seeing as these folks live in a 'White Paper' world, I didn't bother to continue the 'discussion'. Look around the websphere info, yeah sure you can use AJAX with websphere, but are tools and support and debugging and such built into the IDE yet? Does websphere have its own prototype.js that they support when things go wrong at 3 AM? DK On 5/25/06, jwc_wensan [EMAIL PROTECTED] wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention. I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product. What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own. My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now. To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late. From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us. Now is the time to promote to the industry and the general public as a whole about the value of Flex. Again, just my opinion. Sincerely, Jack -- 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 -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- 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?
That is great. There are several places in the docs which should be updated then. I'll note them here, then put comments in the livedocs. In Using hierarchical data providers: While you can use an XML object directly as a dataProvider to a hierarchical data control, you should first convert it to a collection if the object changes dynamically. Doing so will ensure that the component represents the changes to the collection. In Creating a Tree control: As with all data provider controls, if the data provider contents can change as a result of actions outside the Tree, wrap the data source in a collection, such as an ArrayCollection or XMLListCollection object, and specify the collection in the Tree control's dataProvider property. And there is another place I can't find right now, that says something like: XML, by default will not cause a control to update Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Montagna Sent: Thursday, May 25, 2006 1:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display? Post beta3, changes to XML will automatically get updated in the Tree control. And you won't be required to go through XMLListCollection but you can simply make changes to the XML model itself, e.g. delete, +, appendChild, etc. You're seeing a bug in the b3 Tree where the collection events aren't being handled properly. HTH, -Michael Flex Framework --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Well, I figured it out already: myTree.invalidateList(); cleanly updates my display. If there is a better way, let me know. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, May 24, 2006 8:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] F2b3: e4x XML object as Tree dataprovider, how to refresh tree display? I need to modify the xml node names and text nodes so I can't use the XMLListCollection API. In 1.5, we could dispatch a modelChanged event to update a control. What is the 2.0 style way to cause a Tree control to refresh? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=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+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+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/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and
[flexcoders] new app wizard tool
Where oh where to post bugs for this? posted this in the adobe forums, but things are a bit more populated here, eh? The new kewl 'holy code generation batman!' app wizard generates bad SQL for me. Both the update() and create() methods are showing an extra trailing comma in the SET clause and value list repectively. I'm using Oracle 9, Eclipse 3.1.2, and the latest FB 2 Beta 3 plugin as well as the latest RDS tools. DK -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- 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] AJAX versus Flex
OK, heres 2 more cents. My employer has a staff of very good Java developers who have been building leading-edge Web apps for years. Why did they hire yours truly a humble Flash developer? Because they could not get the UI results they wanted with any other tool. Dont get me wrong they had built some very cool interfaces using Ajax and other tools. However, even these did not have all of the slick effects that they wanted, nor did they work as smoothly or reliably as could be desired. Moreover, the developers were sick of having to deal with differing browser implementations. They saw apps built by other shops that had the quality of UIs that they wanted and all of these apps had Flash front ends. And when a Java shop decides to go with Flash UIs, Flex is the obvious choice. As a final note, my employer builds applications for the worlds largest customer. And this customer already has a significant investment in other Adobe / Macromedia technologies, such as ColdFusion. So it seems to me that Flex is here to stay. IMHO, once the new 2.0 builder gets into production, there will be no holding it down. Lots of other developers will love it as much as we do, and it will take off. Having said all of that, of course, it wont hurt for Adobe to launch a major marketing and PR campaign. J Best, Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jwc_wensan Sent: Thursday, May 25, 2006 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AJAX versus Flex To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention. I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product. What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own. My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now. To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late. >From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us. Now is the time to promote to the industry and the general public as a whole about the value of Flex. Again, just my opinion. Sincerely, Jack -- 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] writing to an XML file
You have to have something on the server-side to receive your file content and write it to the file system. I have an example for 1.5 that does this using a simple JSP page. I am at this very moment working on migrating that example to version 2.0. Do you want the 1.5 example, or do you want to wait for the 2.0? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rama satoskar Sent: Thursday, May 25, 2006 2:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] writing to an XML file hi i have recently learnt how to read from an XML file usiing HTTPService . Is there a component available in flex to write to an XML file? Kindly Reply. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: how do i control a .SWF file inside flex?
Do you know for certain that the swf supports that method? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Thursday, May 25, 2006 5:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how do i control a .SWF file inside flex? i tried it and its not working ! again - i m using flex 1.5 here is my code: ?xml version=1.0 encoding=utf-8? mx:Application backgroundColor=#FF xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ function replay(){ mySwf.content.gotoAndPlay(1); } ]] /mx:Script mx:Image source=images/swfTest.swf id=mySwf / mx:Button label=replay click=replay() / /mx:Application my swf is 20 frames with stop on frame 10. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I don't have a ready example, but the key to this is the content property. mx:Image id=mySwf src="" .../ Then in as: mySwf.content.gotoAndPlay(10); or var sValue:String = mySwf.content.myPublicProperty; Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, May 24, 2006 6:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how do i control a .SWF file inside flex? hi, i want to implement a swf file inside flex 1.5 and the control it from flex. i want to tell this swf to gotoAndPlay(10), gotoAndStop(98)... etc. how do i do this? can u point me to an example? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] AJAX versus Flex
Michael: I do not disagree from a technical standpoint and I have done my homework. I am referring to the industry's perspective. I am also looking at this from a business and marketing view. If you don't think that hype can make or break a product, just look at how U.S. politics PR can "shape" a candidate. All I am saying, just because you have a better "mousetrap" doesn't mean that the industry will accept it at face value. Thanks, Jack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael SchmalleSent: Thursday, May 25, 2006 11:11 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] AJAX versus Flex Hi,my 0.02 cents.When you talk about Ajax verses Flex. I think of one thing, Object Oriented Programming. This debate, Ajax vs. Flex, wait one more year and see the code libraries that are abstract and reusable within 2 seconds of loading them on your computer.See, OOP lends itself well to the "I think I can, I think I can, I think I can" and then all the sudden your at rocket power. Take the Adobe flex2 framewrok and give it a trigger, I could out perform most that take Ajax and try to figure out the rats nest that comes with all the browsers, the half ass code libraries, etc.OOP is still new and well, if you know what it is and how powerful it can speed up an entire community of developers, Ajax is then going to have to play catch up.Flex2 isn't even public yet, so all this grandious, bs that the 'News' likes to fill your head with means nothing to a real Flex2 developer like myself.As far a Microsoft... who cares! They have been leading for years and will still lead as long as there bank accounts can still pay court battles. There is never just one leader in this world, common, do your homework.Peace, Mike On 5/25/06, jwc_wensan [EMAIL PROTECTED] wrote: To all:Got this email today, http://ajax.sys-con.com/ and it got me tothinking.I may get blasted for this, but here goes . . . just my .0199 cents.Let me first say I believe 100% that the Flex platform is a better "mousetrap". I am currently developing applications with Flex. I prefer Flex.However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an "honorable mention".I have been in the software business for over 27 years. I have seen many companies come and go that had a better "mousetrap". I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not.In the end it is the application not the engine.There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market.Can Adobe accept 5% market share?You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product.What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that.AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own.My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now.To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late.From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us.Now is the time to promote to the industry and the general public as a whole about the value of Flex.Again, just my opinion.Sincerely,Jack--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. -- What goes up, does come down. -- Flexcoders Mailing
Re: [flexcoders] AJAX versus Flex
As Michael points, AJAX is the client technology this year, wait until Flex 2 ships and people start knowing what they can do it. It will cost at least a a year or even a bit more that people could see that Flex is another world. But finaly, you as a developer, wants to do your job easily...and as you say your client should (most of the times) know if is Flex, VB or HTML...you want to be free as you do your work, isn't it? 2006/5/25, Michael Schmalle [EMAIL PROTECTED]: Hi, my 0.02 cents. When you talk about Ajax verses Flex. I think of one thing, Object Oriented Programming. This debate, Ajax vs. Flex, wait one more year and see the code libraries that are abstract and reusable within 2 seconds of loading them on your computer. See, OOP lends itself well to the I think I can, I think I can, I think I can and then all the sudden your at rocket power. Take the Adobe flex2 framewrok and give it a trigger, I could out perform most that take Ajax and try to figure out the rats nest that comes with all the browsers, the half ass code libraries, etc. OOP is still new and well, if you know what it is and how powerful it can speed up an entire community of developers, Ajax is then going to have to play catch up. Flex2 isn't even public yet, so all this grandious, bs that the 'News' likes to fill your head with means nothing to a real Flex2 developer like myself. As far a Microsoft... who cares! They have been leading for years and will still lead as long as there bank accounts can still pay court battles. There is never just one leader in this world, common, do your homework. Peace, MikeOn 5/25/06, jwc_wensan [EMAIL PROTECTED] wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention. I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product. What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own. My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now. To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late. >From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us. Now is the time to promote to the industry and the general public as a whole about the value of Flex. Again, just my opinion. Sincerely, Jack -- 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 . -- What goes up, does come down. --
Re: [flexcoders] AJAX versus Flex
My 2 cents as well.. We have been doing AJAX for 6 years -in the end we had pretty much what Flex 1.5 was -complete object-oriented environment withXHTML, custom tags, integrated webservices/java remoting, transparent dataservices, and do on We also had it up and running for 5 years at number of Fortune 1000 companies in the most demanding environments. Now we are switching to Flex.Two mainreasons : Browser and _javascript_ 1. Incompatibilities in the browsers and need to support multiple browsers quickly kills any advanced controls -effort is unbelievable and easily accounts of 90% of the development time. 2. Robustness and performance of _javascript_: It is too slow and there is no machanism in the browser to insure the competeness of _javascript_ downloads. As a result, even the slightest problems on the network level require huge efforts on the framework level. It is all curable on the system level. For demanding applications we had to develop following system components outside the browser (just to support AJAX and business needed functionality missing in the browser) 1. reliable pluggable protocol on the top of HTTP(s) to support guaranteed delivery/caching of data and code 2. cached factories for _javascript_ to allow faster instantiation of client-side _javascript_ 3. print tempates enabler to allow full control of the printing environment without browser limitations. The list goes on and on Bottom line, serious AJAX apps require Flash Player equivalent. You can try to build it in _javascript_, but it is unrealistic. We tried to get browser makers adopt the forementioned enhancements, but they are pusing alternatives to AJAX of their own, so Flash seems the only option with enough market penetration. Sincerely, Anatole Tartakovsky - Original Message - From: jwc_wensan To: flexcoders@yahoogroups.com Sent: Thursday, May 25, 2006 11:46 AM Subject: [flexcoders] AJAX versus Flex To all:Got this email today, http://ajax.sys-con.com/ and it got me tothinking.I may get blasted for this, but here goes . . . just my .0199 cents.Let me first say I believe 100% that the Flex platform is a better "mousetrap". I am currently developing applications with Flex. I prefer Flex.However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an "honorable mention".I have been in the software business for over 27 years. I have seen many companies come and go that had a better "mousetrap". I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not.In the end it is the application not the engine.There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market.Can Adobe accept 5% market share?You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product.What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that.AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own.My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now.To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late.From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us.Now is the time to promote to the industry and the general public as a whole about the value of Flex.Again, just my opinion.Sincerely,Jack -- 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
RE: [flexcoders] AJAX versus Flex
Personally Im not expecting flex to overcome ajax in terms of market share for one simple reason. Ajax can accommodate a large proportion of developers needs. Thats not a bad thing, just a reality. Not everyone will need the kind of firepower that flex can deliver. I do believe though that well see solid penetration into the enterprise scene. We should also be aware of the impact of flash video. Its use is skyrocketing right now and anywhere you have the flash player for video you open a door to flex technologies. With this in mind Im thinking the second segment well see penetration is in public commerce sites. Look at Nike for example, heavy reliance on flash and now theyre moving into application development with the new deal with Apple and the ipod. Adoption here may take some time as flash player penetration is a factor. Apple may have 5% share but if you purchased stock a few years back youd be doing quite well today. Secondly theres plenty of room for them to grow one could argue thats a safer position then having to defend an already existing empire. Lastly, growth of Ajax will have a residual positive effect for flex technologies as it validates the idea that we need to make more experience-centric applications. Cheers, Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jwc_wensan Sent: Thursday, May 25, 2006 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AJAX versus Flex To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention. I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product. What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own. My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now. To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late. >From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us. Now is the time to promote to the industry and the general public as a whole about the value of Flex. Again, just my opinion. Sincerely, Jack AVIS IMPORTANT WARNING Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other
Re: [flexcoders] AJAX versus Flex
I have done my homework. Figure of speech. :) Not aimed at you. All I am saying, just because you have a better mousetrap doesn't mean that the industry will accept it at face value. I agree but, none of the press release journalists are talking to me. I have some pretty hefty component sets comming out that include workspace xml save/load, automated desktop multi-application handling, cross application dnd and a score of components that make Ajax look like an infants toy rattle. Yes, I have an ego but, that is becasue I kow what I am developing for release in 3 months. The point is, this debate dosn't mean anything untill the 'industry' gets to see REAL non-green Flex2 applications being implemented and used. I said this once before, The proof is in the pudding. Wait a year, I am humble enough to admit when I am wrong also... If Adobe is out of a job in 2 years, I guess I will do something else that keeps the food on the table! :) Peace, Mike On 5/25/06, Jack W. Caldwell [EMAIL PROTECTED] wrote: Michael: I do not disagree from a technical standpoint and I have done my homework. I am referring to the industry's perspective. I am also looking at this from a business and marketing view. If you don't think that hype can make or break a product, just look at how U.S. politics PR can shape a candidate. All I am saying, just because you have a better mousetrap doesn't mean that the industry will accept it at face value. Thanks, Jack From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael SchmalleSent: Thursday, May 25, 2006 11:11 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] AJAX versus Flex Hi,my 0.02 cents.When you talk about Ajax verses Flex. I think of one thing, Object Oriented Programming. This debate, Ajax vs. Flex, wait one more year and see the code libraries that are abstract and reusable within 2 seconds of loading them on your computer.See, OOP lends itself well to the I think I can, I think I can, I think I can and then all the sudden your at rocket power. Take the Adobe flex2 framewrok and give it a trigger, I could out perform most that take Ajax and try to figure out the rats nest that comes with all the browsers, the half ass code libraries, etc.OOP is still new and well, if you know what it is and how powerful it can speed up an entire community of developers, Ajax is then going to have to play catch up.Flex2 isn't even public yet, so all this grandious, bs that the 'News' likes to fill your head with means nothing to a real Flex2 developer like myself.As far a Microsoft... who cares! They have been leading for years and will still lead as long as there bank accounts can still pay court battles. There is never just one leader in this world, common, do your homework.Peace, Mike On 5/25/06, jwc_wensan [EMAIL PROTECTED] wrote: To all:Got this email today, http://ajax.sys-con.com/ and it got me tothinking.I may get blasted for this, but here goes . . . just my .0199 cents.Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex.However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention.I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not.In the end it is the application not the engine.There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market.Can Adobe accept 5% market share?You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product.What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that.AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own.My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now.To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late.From a market perception, look how AJAX has
RE: [flexcoders] AJAX versus Flex
I'm usually only a passive participant in this mailing list but I felt like replying to this. I as a developer am not free to choose a development platform in our company. I was actually hired because the company was searching for developers who knew stuff about Coldfusion (later moved to flex). When a company wants to do a project they usually study different roads depending on meeting their requirements, what it will cost, how long it will take. They don't go around the employment offices interviewing candidates and ask them what they would like to program in! (exagerating, I know) I am there to consult/propose possible strategies in the first stage. They usually pick the ones they are familiar with, they are most confident about. After this I can start implementing. With Flex1.5 there was the big cost tag on the whole infrastructure. Having to buy the server was already a big investment, spending months of development time to a rather new approach to RIA's was another horde that wasn't easy to take. Inhouse developers still need to convince the company why to go for specific new technology. The more it's know to them, the easier it can be to convince them of the benefits. I myself am confronted with the AJAX hype in and outside my office. If they want a fancy feature on a website of ours the first thing they come up with is 'can it be done in AJAX?' No one asks if it can be done with Flex, let alone they would ask for a Flex2 implementation. I agree with the first poster. It's time for Adobe to start promoting Flex so that people know that there is something else then AJAX for RIA implementations and with people I don't mean only developers. For me this was already a big problem with Flex1.5 (if it weren't for our personal contacts with the MM people at the time for Coldfusion, we would never have started with Flex projects) I don't think they can afford this again with Flex2... B. Van: flexcoders@yahoogroups.com namens Carlos Rovira Verzonden: do 25/05/2006 18:30 Aan: flexcoders@yahoogroups.com Onderwerp: Re: [flexcoders] AJAX versus Flex As Michael points, AJAX is the client technology this year, wait until Flex 2 ships and people start knowing what they can do it. It will cost at least a a year or even a bit more that people could see that Flex is another world. But finaly, you as a developer, wants to do your job easily...and as you say your client should (most of the times) know if is Flex, VB or HTML...you want to be free as you do your work, isn't it? 2006/5/25, Michael Schmalle [EMAIL PROTECTED]: Hi, my 0.02 cents. When you talk about Ajax verses Flex. I think of one thing, Object Oriented Programming. This debate, Ajax vs. Flex, wait one more year and see the code libraries that are abstract and reusable within 2 seconds of loading them on your computer. See, OOP lends itself well to the I think I can, I think I can, I think I can and then all the sudden your at rocket power. Take the Adobe flex2 framewrok and give it a trigger, I could out perform most that take Ajax and try to figure out the rats nest that comes with all the browsers, the half ass code libraries, etc. OOP is still new and well, if you know what it is and how powerful it can speed up an entire community of developers, Ajax is then going to have to play catch up. Flex2 isn't even public yet, so all this grandious, bs that the 'News' likes to fill your head with means nothing to a real Flex2 developer like myself. As far a Microsoft... who cares! They have been leading for years and will still lead as long as there bank accounts can still pay court battles. There is never just one leader in this world, common, do your homework. Peace, Mike On 5/25/06, jwc_wensan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention. I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when
[flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.
Does anyone have some examples or info for styling the mx:ColumnChart type=clustered component? I have a client that is interested in seeing the same displaced, overlapping styles for the column series as seen in the online Brocade sample app (Click Measure Viewer). http://flexapps.macromedia.com/flex/brocade/app.mxml?versionChecked=true I reloaded Flash Player 8.5 and looked at the F2B1 chart explorer http://weblogs.macromedia.com/flex_samples/charts_explorer/explorer.html but there arent a whole lot of style examples. Any help would be appreciated, Ben Lucyk [EMAIL PROTECTED] p 1.877.TRY.ESRIA ext 718 c 1.408.489.3913 f 1.877.828.4436 -- 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] AJAX versus Flex
jwc_wensan wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. First off, I'm a subscriber of JDJ, AJAX Developers Journal, Codeproject, I'm often to EclipseZone and JavaLobby, and I see Adobe Flex ads EVERYWHERE over the Web. Second, even straight-minded part of web developers community realized benefits of Flex and agrees that it's better to use both Flex and AJAX because each of two has own advantages. Third, I don't remember where it comes from but anyway there's a stateful that gets me thinking in much deeper than all these A versus B flame wars: One who thinks that he can accomplish any task using just one tool is a Correct. This one is a fool. P.S. Embrace collaboration. Regards. -- Michael Antares Klishin, http://www.novemberain.com | mailto:[EMAIL PROTECTED] -- 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] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.
Hi Ben. When a set of column series is clustered, the chart (or columnSet) is setting the columnWidthRatio and offset properties to do it. So if you wanted to cluster differently, you could put the columnSeries inside a CartesianChart and set those properties yourself. To figure out how wide each column should be, you first need to decide how wide you want the total cluster to be, and how much each column should overlap. Then your formula would be: columnWidth = clusterWidth / (overlap + (series count)*(1-overlap)); the offset is the offset of the middle of the column from the middle of the category. given the clusterWidth and columnWidthRatio, the offset for each series is: seriesOffset(N)= -clusterWidth/2 + (1-overlap)*columnWidthRatio*(N) + columnWidthRatio/2; So if you have three series, and your total width is 75%, and the overlap should be 50%, then columnWdithRatio = .75 /(.5 + 3*(1-.5)) columnWdithRatio = .75 / 2; columnWdithRatio = .375 given that, seriesOffset(0) = -.75/2 + (.5)*.375*0 + .375/2; seriesOffset(0) = -.1875; seriesOffset(1) = -.75/2 + (.5)*.375*1 + .375/2; seriesOffset(1) = 0; seriesOffset(2) = -.75/2 + (.5)*.375*2 + .375/2; seriesOffset(2) = -.75/2 + .375 + .375/2;; seriesOffset(2) = .1875; Putting that into practice, the markup would be CartesianChart series ColumnSeries columnWidthRatio=".375" offset="-.1875" / ColumnSeries columnWidthRatio=".375" offset="0" / ColumnSeries columnWidthRatio=".375" offset=".1875" / /CartesianChart (You may need to reverse the order of those, I don't remember) Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben LucykSent: Thursday, May 25, 2006 12:50 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old "Brocade" sample app. Does anyone have some examples or info for styling the mx:ColumnChart type=clustered component? I have a client that is interested in seeing the same displaced, overlapping styles for the column series as seen in the online Brocade sample app (Click Measure Viewer). http://flexapps.macromedia.com/flex/brocade/app.mxml?versionChecked=true I reloaded Flash Player 8.5 and looked at the F2B1 chart explorer http://weblogs.macromedia.com/flex_samples/charts_explorer/explorer.html but there arent a whole lot of style examples. Any help would be appreciated, Ben Lucyk[EMAIL PROTECTED]p 1.877.TRY.ESRIA ext 718c 1.408.489.3913f 1.877.828.4436 -- 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] AJAX versus Flex
Third, I don't remember where it comes from but anyway there's a stateful that gets me thinking in much deeper than all these A versus B flame wars: I want to say one thing and I am out. I feel compelled to reply to threads like this becasue of some reasons; 1) Defending your home is a natural human tendency 2) There will always be wars against side A and side B(look to history to back me up on this) 3) When you are put in a position to 'defend' something, you either defend it or go to side B 4) When some thought implies 'takeover' 5) When side B misrepresents side A 6) When side A pays the bills The irony of idealism is it's ideal and will never fit into the Earth zone. Inventors always like to take it on the head, they always have their noses where they shouldn't be and always are alone while leading there idealism. So, on this list you will find a lot of humans that want to defend what they think can make a differnece in the future. Ajax is just another side in life and when people(say from the AJAX camp) start to call Flex2 dead before the baby is born, we better hope there are people with silver tounges around to stand up and advocate Flex on all levels of human interaction. Be it, a nice fireside chat or ranting over a mailing list. It's natural selection at it's best! Peace, MikeOn 5/25/06, Michael Klishin [EMAIL PROTECTED] wrote: jwc_wensan wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. First off, I'm a subscriber of JDJ, AJAX Developers Journal, Codeproject, I'm often to EclipseZone and JavaLobby, and I see Adobe Flex ads EVERYWHERE over the Web. Second, even straight-minded part of web developers community realized benefits of Flex and agrees that it's better to use both Flex and AJAX because each of two has own advantages. Third, I don't remember where it comes from but anyway there's a stateful that gets me thinking in much deeper than all these A versus B flame wars: One who thinks that he can accomplish any task using just one tool is a Correct. This one is a fool. P.S. Embrace collaboration. Regards. -- Michael Antares Klishin, http://www.novemberain.com | mailto: [EMAIL PROTECTED] -- 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. -- 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] re-ordering of DataGridColumns based on a GUI component selection?
I need to be able to change the ordering of my displayed DataGridColumns based on a selection made via another GUI component. I've captured the state of this other GUI component via a Model, but how do I go about adding some if/then/else logic inside my DataGrid/Columns/Array/DataGridColumn mxml block of code? any suggestions would be appreciated. -- 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] e4x XML Class: How to update a text node?
Title: e4x XML Class: How to update a text node? I can read, add and delete text nodes, but how can I update/modify one? Should I use replace()? I think I can make that work and it seems logical. Or delete and add? Or is there another way? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] AJAX versus Flex
As a final note, my employer builds applications for the worlds largest customer. Fannie Mae? -- 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] AJAX versus Flex
Imagine a world where desktop applications and Web applications look and feel the same AND work together seamlessly, then you are on a path that might lead to success. Microsoft is working on doing exactly this - it is just taking them years to deliver on it. AJAX is a place holder because people are bored with the Web the way it currently works. In the delay is Adobe's opportunity and in the boredom is Adobe's challenge. Flex will not be differentiated in the marketplace by building exclusively Web applications that are not much better/different than what you can easily do with Java - especially in light of Google's most recent announcement (http://code.google.com/webtoolkit/). The "killer apps" for Flex will be the ones that don't look and feel any different than people are used to - but do mix graphics, multimedia, drag-and-drop, etc. with all the traditional UI components in ways that are nearly impossible for AJAX to do without lots of customization. As strange as it may sound, one technique would be to use a fixed set of style guidelines - say ones that replicate the Windows look and feel - so that people would be drawn to the interface they know, know how to use, and prefer (vs. HTML) - even while giving the developers behind the scenes a much richer set of tools for implementation. Right now, people see the AJAX-enabled Web application that they recognize as HTML - and then they see a Flex application that looks a little unfamiliar. Let's make it real simple. The AJAX bridge is half of that equation - now give us the set of style settings that are indistinguishable from the Windows equivalent. If people have to choose between a Windows-equivalent application and an HTML one, the choice will be simple. The technology, to the user, is irrelevant. Next, give us applications that work seamlessly between the desktop and the Web. I want interoperability (drag-and-drop and who knows what else) between my Flex-based Web application and my Flex-based desktop applications. I know, SECURITY. Get over it. It's going to happen, IT IS JUST A MATTER OF WHO GETS THERE FIRST. Adobe has all the tools to make this work and really only lacks a loud and cohesive strategy to make it happen. Given that the competition is Microsoft and Google, Adobe really needs a running head start if they want to win. As for garnering public attention, make a really simple and FREE tool that combines, say, Breeze-like collaboration features with a small but extensible suite of Flex applications that do MS Office-like things. Call it a Beta and let it out with the viral marketing approach of Gmail. -Mark On 5/25/06, jwc_wensan [EMAIL PROTECTED] wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better "mousetrap". I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an "honorable mention". I have been in the software business for over 27 years. I have seen many companies come and go that had a better "mousetrap". I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product. What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own. My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing catch-up. If you want to reach that 1 million developer goal, it needs to start now. To be better and say you are better is not enough. If the industry has already declared AJAX as the RIA industry leader then it becomes too late. >From a market perception, look how AJAX has evolved in the last year. Compare that to Adobe Flex. Adobe you are asking developers to make a commitment to you, well I think you need to increase your commitment to us.
RE: [flexcoders] Experienced Flex Developer needed
Sorry -- didn't mean to reply to the whole list. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alistair Campion Sent: Thursday, May 25, 2006 5:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Experienced Flex Developer needed We are looking for an experienced Flex developer to work on a small project. If you are interested, please send me your resume. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Resizing (height and width not Bindable)
Hi,This is an is there a better way question.I have an mxml component based on TitleWindow. I create it with CreatePopUp. I want it to take the entire area of its parent, so, I define its height={ parent.height} and similarly for the width. This is fine, however height does not seem to be Bindable (perhaps none of these properties are?) So as I want this component to respond by resizing when its parent resizes, I have it listen for the resize event of its parent and change the size in the handler. This works just fine, but as I said, is there a better way? Seems to me that if the height and width were Bindable then the resize would happen automatically whenever the values change.Thanks. -- davidThe difference between theory and practice is that in theory, there is no difference between theory and practice -- 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] AJAX versus Flex
Stacy Young wrote: We should also be aware of the impact of flash video. Its use is skyrocketing right now ...and anywhere you have the flash player for video you open a door to flex technologies. Good point... we'll see audiences pull new Flex capabilities rapidly into their browsers, even if only through the video world. That's part of what got Flash 8 to 70% consumer viewability in its first half year, and adoption of Flash Video has sort of exploded since then. At the Ajax Experience conference in San Francisco this month, several speakers said that their audiences will contain significant IE6 presence for a very long time to come -- only a minority have switched browsers on their current machines, and many computers will have to be replaced before the eventual Vista is adopted. _javascript_ audience advancement will likely, over the next few years, be tied to hardware replacement rates. Two very different speeds of evolution here jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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] AJAX versus Flex
say ones that replicate the Windows look and feel - so that people would be drawn to the interface they know, know how to use, and prefer (vs. HTML) - even while giving the developers behind the scenes a much richer set of tools for implementation. Check this out... http://www.flex2components.com/f2cblog/2006/05/25/flex2-teoapplicationdesktop/ Desktop Flex... ala Flex's peanut butter sandwich Peace, MikeOn 5/25/06, Mark Wales [EMAIL PROTECTED] wrote: Imagine a world where desktop applications and Web applications look and feel the same AND work together seamlessly, then you are on a path that might lead to success. Microsoft is working on doing exactly this - it is just taking them years to deliver on it. AJAX is a place holder because people are bored with the Web the way it currently works. In the delay is Adobe's opportunity and in the boredom is Adobe's challenge. Flex will not be differentiated in the marketplace by building exclusively Web applications that are not much better/different than what you can easily do with Java - especially in light of Google's most recent announcement (http://code.google.com/webtoolkit/). The killer apps for Flex will be the ones that don't look and feel any different than people are used to - but do mix graphics, multimedia, drag-and-drop, etc. with all the traditional UI components in ways that are nearly impossible for AJAX to do without lots of customization. As strange as it may sound, one technique would be to use a fixed set of style guidelines - say ones that replicate the Windows look and feel - so that people would be drawn to the interface they know, know how to use, and prefer (vs. HTML) - even while giving the developers behind the scenes a much richer set of tools for implementation. Right now, people see the AJAX-enabled Web application that they recognize as HTML - and then they see a Flex application that looks a little unfamiliar. Let's make it real simple. The AJAX bridge is half of that equation - now give us the set of style settings that are indistinguishable from the Windows equivalent. If people have to choose between a Windows-equivalent application and an HTML one, the choice will be simple. The technology, to the user, is irrelevant. Next, give us applications that work seamlessly between the desktop and the Web. I want interoperability (drag-and-drop and who knows what else) between my Flex-based Web application and my Flex-based desktop applications. I know, SECURITY. Get over it. It's going to happen, IT IS JUST A MATTER OF WHO GETS THERE FIRST. Adobe has all the tools to make this work and really only lacks a loud and cohesive strategy to make it happen. Given that the competition is Microsoft and Google, Adobe really needs a running head start if they want to win. As for garnering public attention, make a really simple and FREE tool that combines, say, Breeze-like collaboration features with a small but extensible suite of Flex applications that do MS Office-like things. Call it a Beta and let it out with the viral marketing approach of Gmail. -Mark On 5/25/06, jwc_wensan [EMAIL PROTECTED] wrote: To all: Got this email today, http://ajax.sys-con.com/ and it got me to thinking. I may get blasted for this, but here goes . . . just my .0199 cents. Let me first say I believe 100% that the Flex platform is a better mousetrap. I am currently developing applications with Flex. I prefer Flex. However, you can not open a software magazine, newsletter, journal, article, etc. that doesn't reference something about AJAX. It's everywhere. Adobe's Flex gets an honorable mention. I have been in the software business for over 27 years. I have seen many companies come and go that had a better mousetrap. I also realize that most end users do not care if a desktop app is developed with Visual C++ or Visual Basic. So why would they care what a RIA app is developed with. Probably not. In the end it is the application not the engine. There seems to be a parallel between PCs with Windows and Apple/Macs. Many believe that the Mac is better, but Apple/Mac has less the 5% of the market. Can Adobe accept 5% market share? You also can not under estimate the impact when Microsoft releases Atlas. And no Robert I don't want to hear about how you hate MS or the evil empire. Fact is, tens of thousands of developers will and I say will use their product. What this also does is make it more difficult for developers to convince management that the Flex product is better. Especially when all they hear is AJAX this and AJAX that. AJAX is getting all the hype. Right or wrong these are the facts. They have essentially taken over the RIA landscape and claimed it as their own. My point . . . . Adobe you need to step up to the plate. If you think you can wait, then by the time you start you will be too far behind. You will be left behind always playing
RE: [flexcoders] AJAX versus Flex
Uncle Sam From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kelly @ Dekayd Media Inc. Sent: Thursday, May 25, 2006 1:58 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] AJAX versus Flex As a final note, my employer builds applications for the worlds largest customer. Fannie Mae? -- 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] Flex2 :: DeskTop Flex :: RePost
Hi, This is going to get buried in that prior Flex vs. AJAX thread so here it is again for those interested at component possibilities comming up. say ones that replicate the Windows look and feel - so that people would be drawn to the interface they know, know how to use, and prefer (vs. HTML) - even while giving the developers behind the scenes a much richer set of tools for implementation. Check this out... http://www.flex2components.com/f2cblog/2006/05/25/flex2-teoapplicationdesktop/ Peace, Mike-- 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] How to populate an attribute value in DataGrid control?
I can't figure out how to populate the First Name and Last Name, please help! For Example, XML: records record data @name=firstname @value=My_FirstName1 data @name=lastname @value=My_LastName1 /record record data @name=firstname @value=My_FirstName2 data @name=lastname @value=My_LastName2 /record /records Source Code: mx:DataGrid id=feedRequest dataProvider={feedRequest.result.records.record} mx:DataGridColumn headerText=FirstName dataField= / mx:DataGridColumn headerText=LastName dataField= / /mx:DataGrid -- 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] maps for flex
Hi Nitin, I'm not sure why your map gets distorted. But my initial reaction is to think that the container you have for the map is resized by scale, not by size, which then distorts the content as well. Perhaps we can understand it better if you give us more detail to what you have done.Yahoo! Maps Beta uses Navteq, TeleAtlas. As for the API, you can grab it from:http://developer.yahoo.com/maps/http://developer.yahoo.com/maps/flash/flexGettingStarted.html To see samples of such implementations:http://developer.yahoo.com/maps/applications.htmlI've used the API and being a novice I find it really easy to implement, thanks to the thorough documentation. Good luck.- ptrisnadi- Original Message From: mehta_nm [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, May 25, 2006 12:47:12 AMSubject: [flexcoders] maps for flex Hi All, My name is nitin I am a new member of your group I just want to know that is any one know about the working with map on flex. I am working with maps on flex but when ever iam resizing the map its getting distorted. please guide me how to mentain the resolution while zoom in /zoom out of the map and it will be great if some one tell me what maps these Yahoo people are using in yahoo maps while working on flex.. regards nitin -- 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 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] Resizing (height and width not Bindable)
I am no expert but, I would say looking at the source, if width and height WERE bindable there would be issues with measurments and such(timming). Using the resize event is perfect in an event based system. Stick with it. ;-) Peace, MikeOn 5/25/06, David Clark [EMAIL PROTECTED] wrote: Hi,This is an is there a better way question.I have an mxml component based on TitleWindow. I create it with CreatePopUp. I want it to take the entire area of its parent, so, I define its height={ parent.height} and similarly for the width. This is fine, however height does not seem to be Bindable (perhaps none of these properties are?) So as I want this component to respond by resizing when its parent resizes, I have it listen for the resize event of its parent and change the size in the handler. This works just fine, but as I said, is there a better way? Seems to me that if the height and width were Bindable then the resize would happen automatically whenever the values change.Thanks. -- davidThe difference between theory and practice is that in theory, there is no difference between theory and practice -- 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. -- 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] Re: e4x XML Class: How to update a text node?
var xml:XML = rootnodetext1/nodenodetext2/node/root; xml.node[0] = textOne; xml.node[1] = textTwo; trace (xml); --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I can read, add and delete text nodes, but how can I update/modify one? Should I use replace()? I think I can make that work and it seems logical. Or delete and add? Or is there another way? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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 to populate an attribute value in DataGrid control?
First, the @ in fornt of all the xml attributes might cause a problem. Second, The name/value pair structure of your xml is going to be difficult to work with. Are you stuck with that structure? If so you will need to use a labelFunction(). In that you will do something like: var sFirstName:String = xmlRecord.data[0].(@@name == lastname).@@value; //that is where those @ signe might cause a problem. If you can change the xml format this can be much easier. Below is a sample app that uses labelFunction on fairly complex xml. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=initApp() mx:Script![CDATA[ import mx.controls.dataGridClasses.DataGridColumn; private var gXMLDoc:XML; private function initApp():void { gXMLDoc = users user username gender=maleJoe/username useremail[EMAIL PROTECTED]/useremail location id=001 cityBedford/city stateMA/state /location /user user username gender=femaleMaggie/username useremail[EMAIL PROTECTED]/useremail location id=002 cityLexington/city stateMA/state /location /user /users dg1.dataProvider = gXMLDoc.user; }//initApp private function lfnGeneral(item:Object, column:DataGridColumn):String { var sLabel:String = var sHeaderText:String = column.headerText switch (sHeaderText) { case Name: sLabel = item.username; break; case Email: sLabel = item.useremail; break; case City: sLabel = item.location.city; break; case State: sLabel = item.location.city; break; case Gender: sLabel = [EMAIL PROTECTED]; break; } return sLabel; }//lfGeneral ]]/mx:Script mx:DataGrid id=dg1 labelFunction=lfnGeneral mx:columns mx:Array mx:DataGridColumn headerText=Name / mx:DataGridColumn headerText=Email / mx:DataGridColumn headerText=City / mx:DataGridColumn headerText=State / mx:DataGridColumn headerText=Gender / /mx:Array /mx:columns /mx:DataGrid /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexnewbie Sent: Thursday, May 25, 2006 2:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to populate an attribute value in DataGrid control? I can't figure out how to populate the First Name and Last Name, please help! For Example, XML: records record data @name=firstname @value=My_FirstName1 data @name=lastname @value=My_LastName1 /record record data @name=firstname @value=My_FirstName2 data @name=lastname @value=My_LastName2 /record /records Source Code: mx:DataGrid id=feedRequest dataProvider={feedRequest.result.records.record} mx:DataGridColumn headerText=FirstName dataField= / mx:DataGridColumn headerText=LastName dataField= / /mx:DataGrid -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Question on CF components created by the Flex Wizard
I am having a little trouble following the flow of the CF components created by the wizard in Flex. I am using the save function of the gateway component and writing to the database successfully. When I create a new record I am wondering if the ID (or key - mine is ID) should be returned. I see in the component that is searches for the ID after I add it but when I debug my Flex app in the result event handler I am not finding that data. Am I making an assumption here? 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.
[flexcoders] Flex Iframe?
Hi all, Does Flex have anything similar to an HTML iframe where I can embed content into a Flex screen? I have an interactive Flash map that I would like to put on a screen with a bunch of charts. Maybe there's a way to import external Flash files into Flex? I'm really not sure and can't find much in the documentation. Can someone point me in the right direction? Thanks in advance! CP -- 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] TabNavigator Events
Greetings - I need one set of tabs to drive another set. Can't seem to find an event to attache the change to. CreationComplete (on each child in the first TabNavigator) works the first time but not on subsequent tab changes (they've already been created). Nor does Click work when attached to the children (VBox, et al) of the main TabNavigtor. Suggestions? cheers, ethan -- 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: e4x XML Class: How to update a text node?
That is not working for me. I get an error Type Coercion failed: cannot convert new text node to XML. The text node currently has new text node in it and I am just adding a space character. What I am actually trying is more like this: var xmlCurrent:XML = xml.node[0]; xmlCurrent = textOne; I'll keep trying and post my progress. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams Sent: Thursday, May 25, 2006 3:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: e4x XML Class: How to update a text node? var xml:XML = rootnodetext1/nodenodetext2/node/root; xml.node[0] = textOne; xml.node[1] = textTwo; trace (xml); --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I can read, add and delete text nodes, but how can I update/modify one? Should I use replace()? I think I can make that work and it seems logical. Or delete and add? Or is there another way? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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] adding columns to datagrid in a state
Is there a way to just add columns to a datagrid (being populated via a WS) in a new state or should you just use another datagrid with the same columns and new columns? 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.
[flexcoders] change datagrid row color in Flex 2
Hi, I want to change a datagrid row background color based on a column in its dataprovider, but all I´ve got searching flexcoders archive are outdated Flex 1.5 solutions or not-very-well-explained cellRenderer tips. How can I achieve this using Flex 2 beta 3? Please, on your example, set the property using a dataprovider column, not a 0xFF value. Thanks in advance. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: e4x XML Class: How to update a text node?
Some success already, based on your suggestion: Any idea why the first option errors but the second succeeds? Option 1: var nodeTextNode:XML = _xmlNodeCurrent.text()[0]; nodeTextNode = oEvent.target.text; //ERRORS Option2: _xmlNodeCurrent.text()[0] = oEvent.target.text; //succeeds. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, May 25, 2006 3:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: e4x XML Class: How to update a text node? That is not working for me. I get an error Type Coercion failed: cannot convert new text node to XML. The text node currently has new text node in it and I am just adding a space character. What I am actually trying is more like this: var xmlCurrent:XML = xml.node[0]; xmlCurrent = textOne; I'll keep trying and post my progress. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams Sent: Thursday, May 25, 2006 3:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: e4x XML Class: How to update a text node? var xml:XML = rootnodetext1/nodenodetext2/node/root; xml.node[0] = textOne; xml.node[1] = textTwo; trace (xml); --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I can read, add and delete text nodes, but how can I update/modify one? Should I use replace()? I think I can make that work and it seems logical. Or delete and add? Or is there another way? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] About generated swf FileSize
Hi all,I've notice that an empty flex application weights arround 125Kb and it's really easy to reach 300Kb (just drop a datagrid, rich text editor and a date chooser).Is this size going to be the same on the final release? Or does generated swf still contains debug and removable info? BestX. -- 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] -use-network compiler param not working
I'm trying to compile a F2B3 application which I want to load only file system files and running it from file:// in the navigator.Eventhough I've added -use-network=false param in the Flex Compiler properties panel, I'm receiving a sandbox security exception. Is this a bug or I'm doing something wrong?BestX. -- 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] TabNavigator Events
Try show event. You still need to use creationComplete or initialize event on the initial tab. Show event fires when you switch tabs. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller Sent: Thursday, May 25, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator Events Greetings - I need one set of tabs to drive another set. Can't seem to find an event to attache the change to. CreationComplete (on each child in the first TabNavigator) works the first time but not on subsequent tab changes (they've already been created). Nor does Click work when attached to the children (VBox, et al) of the main TabNavigtor. Suggestions? cheers, ethan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: e4x XML Class: How to update a text node?
To replace the text of a node you can use replace(); var myXML:XML = myRootblah/myRoot; trace(myXML:, myXML.toXMLString()); myXML.replace(0, new node text); trace(myXML:, myXML.toXMLString()); Output: myXML: myRootblah/myRoot myXML: myRootnew node text/myRoot -Michael --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Some success already, based on your suggestion: Any idea why the first option errors but the second succeeds? Option 1: var nodeTextNode:XML = _xmlNodeCurrent.text()[0]; nodeTextNode = oEvent.target.text; //ERRORS Option2: _xmlNodeCurrent.text()[0] = oEvent.target.text; //succeeds. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, May 25, 2006 3:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: e4x XML Class: How to update a text node? That is not working for me. I get an error Type Coercion failed: cannot convert new text node to XML. The text node currently has new text node in it and I am just adding a space character. What I am actually trying is more like this: var xmlCurrent:XML = xml.node[0]; xmlCurrent = textOne; I'll keep trying and post my progress. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Williams Sent: Thursday, May 25, 2006 3:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: e4x XML Class: How to update a text node? var xml:XML = rootnodetext1/nodenodetext2/node/root; xml.node[0] = textOne; xml.node[1] = textTwo; trace (xml); --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: I can read, add and delete text nodes, but how can I update/modify one? Should I use replace()? I think I can make that work and it seems logical. Or delete and add? Or is there another way? Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Combobox bad behaviour in RichText component
Hi all,I've noticed what seems to be a bad behaviour in richText comboboxes. Try to open font size combo and then, without closing the font size combo, open the font type combo. Both will close.BestX. -- 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: XMLListCollection search [f2b3]
Tracy, Yesterday, I took the code from your tree control sample and started creating an example for CFlex. Are you doing something similar? The sample that I'm working on contains code and tips from you, Graham Weldon, Tim (sufibaba - don't know last name) and Paul Williams. I'm doing this mostly to learn the ins and outs of using an XML based tree control and tocreate somewhatof a template. Since most of your recent posts have been tree related, I thought that I would ask your help with two things. If you already have code that does the following functions, I would appreciate your help. 1. Remove Selected Element and/or Node2. Add New Element - I have code that does this, but I can't figure-out how to insert dynamic Inner XML (label based on the text in a textInput). If you get a chance to look at this, it would definitly save me some time. The sample is here: http://www.iepl.net/treeControlSample/treeControlSample.html Thanks,Tim Hoff--- In flexcoders@yahoogroups.com, "Paul Williams" [EMAIL PROTECTED] wrote: Yes, the descendants method allows you to work with xml that contains reserved words. I don't know of any other reason to choose one above the other.Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, May 25, 2006 5:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: XMLListCollection search [f2b3]As I recall, the dependents approach is safer regarding reserved words. Other than that, do you know of any reason to choose one over the other?Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Williams Sent: Thursday, May 25, 2006 4:45 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: XMLListCollection search [f2b3]You can also achieve something similar with the '..' operator:_xmlData..element.(@eid == sId);Gives you any elements in your hierarchy that have a particular eid. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, May 25, 2006 5:24 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: XMLListCollection search [f2b3]Got it. Here is a little sample app that lets you search for an attribute value, then expands the tree to that node and selects it. Tracy?xml version="1.0" encoding="utf-8"? !-- Tree control example. -- mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initApp()" mx:Script![CDATA[ [Bindable] public var _xmlData:XML;public function initApp():void { _xmlData = element eid="hello" element eid="world" element eid="123"/ element eid="graham"/ element eid="weldon" element eid="office" element eid="thing"/ element eid="boat"/ element eid="chair"/ /element element eid="person"/ /element /element /element ;}//initappprivate function expandParents(xmlNode:XML):void { while (xmlNode.parent() != null) { xmlNode = xmlNode.parent(); myTree.expandItem(xmlNode,true, false); } }//expandParents private function findNodeById(sId:String):void { var xmllistDescendants:XMLList = _xmlData.descendants().(@eid == sId); expandParents(xmllistDescendants[0]); myTree.selectedItem = xmllistDescendants[0]; }//findNodeById ]]/mx:Scriptmx:Panel title="Tree Control Example" height="75%" width="75%" paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" mx:HBox mx:TextInput id="tiId" text="boat" / mx:Button label="Find" click="findNodeById(tiId.text)" / /mx:HBox mx:Tree id="myTree" width="50%" height="100%" labelField="@eid" showRoot="false" dataProvider="{_xmlData}" / /mx:Panel /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Graham Weldon Sent: Wednesday, May 24, 2006 11:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: XMLListCollection search [f2b3]This works: var myXml : XMLList = new XMLList(element id="hello" element id="world" element id="123"/ element id="graham"/ element id="weldon" element id="office" element id="thing"/ element id="boat"/ element id="chair"/ /element element id="person"/ /element /element /element); var boatElement : XMLList = myXml.descendants().(@id == 'boat'); But this could potentially (if the Id's were not unique) return more than one item. This is most likely a non issue for those that want to use it. You could then wrap this in an XMLListCollection if necessary: var boatCollection : XMLListCollection = new XMLListCollection(boatElement); Regards, Graham. Tracy Spratt wrote: Maybe not. I can't seem to get an _expression_ to work. Descendants is supposed to take a Qname though.. Still trying. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, May 24, 2006
RE: [flexcoders] is delete really the best/only way to remove a node in e4x?
Title: is delete really the best/only way to remove a node in e4x? It may not be a Flash decision either since the API of the XML class is specified by the E4X standard. It would depend on whether that standard allows an implementor to add additional APIs or not. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland Sent: Thursday, May 25, 2006 6:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] is delete really the best/only way to remove a node in e4x? For native Flash Player APIs, I'd log a bug against the player... this isn't really a Flex decision. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Wednesday, May 24, 2006 9:29 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] is delete really the best/only way to remove a node in e4x? I am not really fussing very hard, it is just that we have: XML.appendChild() XML.insertChildAfter() XML.insertChildBefore() XML.prependChild() but no XML.removeChild? delete is a completely different style syntax. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith Sent: Wednesday, May 24, 2006 9:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] is delete really the best/only way to remove a node in e4x? I don't know whether it is the best or only way, but it seems consistent with the use of the 'delete' operator to remove a dynamic property of an Object. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Wednesday, May 24, 2006 4:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] is delete really the best/only way to remove a node in e4x? If this is the final API, I can deal with it, it is just inconsistent and undocumented, and a bit of a shock when the rest of the api is so clean and logical. I admit I have not read the e4x specification. Tracy -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.
What a great help Ely. Thanks for all the detail! It sounds like youve spent a fair amount of time with this one already! :) Ill be playing with your suggestions tonight and will post my results. Thanks again, Ben Lucyk [EMAIL PROTECTED] p 1.877.TRY.ESRIA ext 718 c 1.408.489.3913 f 1.877.828.4436 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Thursday, May 25, 2006 1:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app. Hi Ben. When a set of column series is clustered, the chart (or columnSet) is setting the columnWidthRatio and offset properties to do it. So if you wanted to cluster differently, you could put the columnSeries inside a CartesianChart and set those properties yourself. To figure out how wide each column should be, you first need to decide how wide you want the total cluster to be, and how much each column should overlap. Then your formula would be: columnWidth = clusterWidth / (overlap + (series count)*(1-overlap)); the offset is the offset of the middle of the column from the middle of the category. given the clusterWidth and columnWidthRatio, the offset for each series is: seriesOffset(N)= -clusterWidth/2 + (1-overlap)*columnWidthRatio*(N) + columnWidthRatio/2; So if you have three series, and your total width is 75%, and the overlap should be 50%, then columnWdithRatio = .75 /(.5 + 3*(1-.5)) columnWdithRatio = .75 / 2; columnWdithRatio = .375 given that, seriesOffset(0) = -.75/2 + (.5)*.375*0 + .375/2; seriesOffset(0) = -.1875; seriesOffset(1) = -.75/2 + (.5)*.375*1 + .375/2; seriesOffset(1) = 0; seriesOffset(2) = -.75/2 + (.5)*.375*2 + .375/2; seriesOffset(2) = -.75/2 + .375 + .375/2;; seriesOffset(2) = .1875; Putting that into practice, the markup would be CartesianChart series ColumnSeries columnWidthRatio=.375 offset=-.1875 / ColumnSeries columnWidthRatio=.375 offset=0 / ColumnSeries columnWidthRatio=.375 offset=.1875 / /CartesianChart (You may need to reverse the order of those, I don't remember) Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Lucyk Sent: Thursday, May 25, 2006 12:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app. Does anyone have some examples or info for styling the mx:ColumnChart type=clustered component? I have a client that is interested in seeing the same displaced, overlapping styles for the column series as seen in the online Brocade sample app (Click Measure Viewer). http://flexapps.macromedia.com/flex/brocade/app.mxml?versionChecked=true I reloaded Flash Player 8.5 and looked at the F2B1 chart explorer http://weblogs.macromedia.com/flex_samples/charts_explorer/explorer.html but there arent a whole lot of style examples. Any help would be appreciated, Ben Lucyk [EMAIL PROTECTED] p 1.877.TRY.ESRIA ext 718 c 1.408.489.3913 f 1.877.828.4436 -- 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] Image scale 9 having fun
Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to the Flashcoders list. - I have the following (flex 2b3) [Embed(source='assets/header.png',scaleGridTop='20', scaleGridLeft='10', scaleGridBottom='30', scaleGridRight='20')] [Bindable] var headerImage:Class; and mx:Image source={headerImage} height=51 width=100% id=header_mc/mx:Image Basically it should be a header that expands width wise use the scale grid. Its definitely NOT working for me regardless of how I set it up. Does it need to be within a container ( tried that, didn't get the results I wanted) Ultimately the left has to be like 200 pixels in rather than those numbers, but whatever. Also the docs are inconsistent, some examples show the scale properties assigned to strings, some show numbers.. Anyone got a simple example of this that I could try using, this is driving me nuts, just trying to get an expanding header... -- 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] Image scale 9 having fun
Heres a little application I wrote to test 9-slice scaling. Replace the .png image with one of your own and see if it works for you. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* layout=vertical color=0xcc mx:Button id=but1 width={slider.value} label=Search upSkin=@Embed( 'resources/DSHB_But_search_up.png', scaleGridTop='2', scaleGridLeft='20', scaleGridBottom='19', scaleGridRight='76' ) / mx:Button id=but2 width={slider.value} label=Search upSkin=@Embed( 'resources/DSHB_But_search_up.png' )/ mx:HSlider id=slider minimum=20 maximum=200 value=84 liveDragging=true showDataTip=false/ /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stacey Mulcahy Sent: Thursday, May 25, 2006 2:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Image scale 9 having fun Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to the Flashcoders list. - I have the following (flex 2b3) [Embed(source='assets/header.png',scaleGridTop='20', scaleGridLeft='10', scaleGridBottom='30', scaleGridRight='20')] [Bindable] var headerImage:Class; and mx:Image source={headerImage} height=51 width=100% id=header_mc/mx:Image Basically it should be a header that expands width wise use the scale grid. Its definitely NOT working for me regardless of how I set it up. Does it need to be within a container ( tried that, didn't get the results I wanted) Ultimately the left has to be like 200 pixels in rather than those numbers, but whatever. Also the docs are inconsistent, some examples show the scale properties assigned to strings, some show numbers.. Anyone got a simple example of this that I could try using, this is driving me nuts, just trying to get an expanding header... -- 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] hide day navigator on DateChooser
Hi again, On Flex2b3, is there a way to hide the day chooser on a DateChooser and leave only top Month/year navigator? -- 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 to populate an attribute value in DataGrid control?
Tracy, Thanks for the feedback. Unfortunately I cannot change the XML, the data is from third party provider. I tried it with labelFunction and @@, it does not work :-( var sFirstName:String = xmlRecord.data[0].(@@name == lastname).@@value; --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: First, the @ in fornt of all the xml attributes might cause a problem. Second, The name/value pair structure of your xml is going to be difficult to work with. Are you stuck with that structure? If so you will need to use a labelFunction(). In that you will do something like: var sFirstName:String = xmlRecord.data[0].(@@name == lastname).@@value; //that is where those @ signe might cause a problem. If you can change the xml format this can be much easier. Below is a sample app that uses labelFunction on fairly complex xml. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=initApp() mx:Script![CDATA[ import mx.controls.dataGridClasses.DataGridColumn; private var gXMLDoc:XML; private function initApp():void { gXMLDoc = users user username gender=maleJoe/username useremail[EMAIL PROTECTED]/useremail location id=001 cityBedford/city stateMA/state /location /user user username gender=femaleMaggie/username useremail[EMAIL PROTECTED]/useremail location id=002 cityLexington/city stateMA/state /location /user /users dg1.dataProvider = gXMLDoc.user; }//initApp private function lfnGeneral(item:Object, column:DataGridColumn):String { var sLabel:String = var sHeaderText:String = column.headerText switch (sHeaderText) { case Name: sLabel = item.username; break; case Email: sLabel = item.useremail; break; case City: sLabel = item.location.city; break; case State: sLabel = item.location.city; break; case Gender: sLabel = [EMAIL PROTECTED]; break; } return sLabel; }//lfGeneral ]]/mx:Script mx:DataGrid id=dg1 labelFunction=lfnGeneral mx:columns mx:Array mx:DataGridColumn headerText=Name / mx:DataGridColumn headerText=Email / mx:DataGridColumn headerText=City / mx:DataGridColumn headerText=State / mx:DataGridColumn headerText=Gender / /mx:Array /mx:columns /mx:DataGrid /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexnewbie Sent: Thursday, May 25, 2006 2:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to populate an attribute value in DataGrid control? I can't figure out how to populate the First Name and Last Name, please help! For Example, XML: records record data @name=firstname @value=My_FirstName1 data @name=lastname @value=My_LastName1 /record record data @name=firstname @value=My_FirstName2 data @name=lastname @value=My_LastName2 /record /records Source Code: mx:DataGrid id=feedRequest dataProvider={feedRequest.result.records.record} mx:DataGridColumn headerText=FirstName dataField= / mx:DataGridColumn headerText=LastName dataField= / /mx:DataGrid -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Image scale 9 having fun
Stacey, Honestly I havn't tried this but, looking at the source of Image awhile ago, I would say it is not possible with that class. The Image wants to scale not call setActualSize(). Why don't you try loading as 'backgroundImage' of a VBox or HBox. I am not to sure but, something tells me that this would work. Peace, MikeOn 5/25/06, Tobias Patton [EMAIL PROTECTED] wrote: Here's a little application I wrote to test 9-slice scaling. Replace the .png image with one of your own and see if it works for you. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns=* layout=vertical color=0xcc mx:Button id=but1 width={slider.value} label=Search upSkin=@Embed( 'resources/DSHB_But_search_up.png', scaleGridTop='2', scaleGridLeft='20', scaleGridBottom='19', scaleGridRight='76' ) / mx:Button id=but2 width={slider.value} label=Search upSkin=@Embed( 'resources/DSHB_But_search_up.png' )/ mx:HSlider id=slider minimum=20 maximum=200 value=84 liveDragging=true showDataTip=false/ /mx:Application From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Stacey Mulcahy Sent: Thursday, May 25, 2006 2:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Image scale 9 having fun Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to the Flashcoders list…. - I have the following (flex 2b3) [Embed(source='assets/header.png',scaleGridTop='20', scaleGridLeft='10', scaleGridBottom='30', scaleGridRight='20')] [Bindable] var headerImage:Class; and mx:Image source={headerImage} height=51 width=100% id=header_mc/mx:Image Basically it should be a header that expands width wise use the scale grid. Its definitely NOT working for me regardless of how I set it up. Does it need to be within a container ( tried that, didn't get the results I wanted) Ultimately the left has to be like 200 pixels in rather than those numbers, but whatever. Also the docs are inconsistent, some examples show the scale properties assigned to strings, some show numbers.. Anyone got a simple example of this that I could try using, this is driving me nuts, just trying to get an expanding header... -- 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. -- 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] Re: Image scale 9 having fun
I think you'll need to add maintainAspectRatio=false to your mx:Image tag. --- In flexcoders@yahoogroups.com, Stacey Mulcahy [EMAIL PROTECTED] wrote: Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to the Flashcoders list.. - I have the following (flex 2b3) [Embed(source='assets/header.png',scaleGridTop='20', scaleGridLeft='10', scaleGridBottom='30', scaleGridRight='20')] [Bindable] var headerImage:Class; and mx:Image source={headerImage} height=51 width=100% id=header_mc/mx:Image Basically it should be a header that expands width wise use the scale grid. Its definitely NOT working for me regardless of how I set it up. Does it need to be within a container ( tried that, didn't get the results I wanted) Ultimately the left has to be like 200 pixels in rather than those numbers, but whatever. Also the docs are inconsistent, some examples show the scale properties assigned to strings, some show numbers.. Anyone got a simple example of this that I could try using, this is driving me nuts, just trying to get an expanding header... -- 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] Image scale 9 having fun
You know, we are talking about a png, scratch the setActualSize() thing. Scratch what I said, my advice just try it in something that is a skin, not the Image. Peace, Mike On 5/25/06, Michael Schmalle [EMAIL PROTECTED] wrote: Stacey, Honestly I havn't tried this but, looking at the source of Image awhile ago, I would say it is not possible with that class. The Image wants to scale not call setActualSize(). Why don't you try loading as 'backgroundImage' of a VBox or HBox. I am not to sure but, something tells me that this would work. Peace, MikeOn 5/25/06, Tobias Patton [EMAIL PROTECTED] wrote: Here's a little application I wrote to test 9-slice scaling. Replace the .png image with one of your own and see if it works for you. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns=* layout=vertical color=0xcc mx:Button id=but1 width={slider.value} label=Search upSkin=@Embed( 'resources/DSHB_But_search_up.png', scaleGridTop='2', scaleGridLeft='20', scaleGridBottom='19', scaleGridRight='76' ) / mx:Button id=but2 width={slider.value} label=Search upSkin=@Embed( 'resources/DSHB_But_search_up.png' )/ mx:HSlider id=slider minimum=20 maximum=200 value=84 liveDragging=true showDataTip=false/ /mx:Application From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Stacey Mulcahy Sent: Thursday, May 25, 2006 2:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Image scale 9 having fun Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to the Flashcoders list…. - I have the following (flex 2b3) [Embed(source='assets/header.png',scaleGridTop='20', scaleGridLeft='10', scaleGridBottom='30', scaleGridRight='20')] [Bindable] var headerImage:Class; and mx:Image source={headerImage} height=51 width=100% id=header_mc/mx:Image Basically it should be a header that expands width wise use the scale grid. Its definitely NOT working for me regardless of how I set it up. Does it need to be within a container ( tried that, didn't get the results I wanted) Ultimately the left has to be like 200 pixels in rather than those numbers, but whatever. Also the docs are inconsistent, some examples show the scale properties assigned to strings, some show numbers.. Anyone got a simple example of this that I could try using, this is driving me nuts, just trying to get an expanding header... -- 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. -- 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 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: Image scale 9 having fun
Love you. Dont take it personally ;) But that did it. Damn. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Thursday, May 25, 2006 6:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image scale 9 having fun I think you'll need to add maintainAspectRatio=false to your mx:Image tag. --- In flexcoders@yahoogroups.com, Stacey Mulcahy [EMAIL PROTECTED] wrote: Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to the Flashcoders list.. - I have the following (flex 2b3) [Embed(source='assets/header.png',scaleGridTop='20', scaleGridLeft='10', scaleGridBottom='30', scaleGridRight='20')] [Bindable] var headerImage:Class; and mx:Image source={headerImage} height=51 width=100% id=header_mc/mx:Image Basically it should be a header that expands width wise use the scale grid. Its definitely NOT working for me regardless of how I set it up. Does it need to be within a container ( tried that, didn't get the results I wanted) Ultimately the left has to be like 200 pixels in rather than those numbers, but whatever. Also the docs are inconsistent, some examples show the scale properties assigned to strings, some show numbers.. Anyone got a simple example of this that I could try using, this is driving me nuts, just trying to get an expanding header... -- 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: How to populate an attribute value in DataGrid control?
If the @ really prevent your from using the xpath-like expressions, you can always drop back to looping over the XMLList's elements. If I get a few minutes, I'll see what I can do with your xml. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexnewbie Sent: Thursday, May 25, 2006 5:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to populate an attribute value in DataGrid control? Tracy, Thanks for the feedback. Unfortunately I cannot change the XML, the data is from third party provider. I tried it with labelFunction and @@, it does not work :-( var sFirstName:String = xmlRecord.data[0].(@@name == lastname).@@value; --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: First, the @ in fornt of all the xml attributes might cause a problem. Second, The name/value pair structure of your xml is going to be difficult to work with. Are you stuck with that structure? If so you will need to use a labelFunction(). In that you will do something like: var sFirstName:String = xmlRecord.data[0].(@@name == lastname).@@value; //that is where those @ signe might cause a problem. If you can change the xml format this can be much easier. Below is a sample app that uses labelFunction on fairly complex xml. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=initApp() mx:Script![CDATA[ import mx.controls.dataGridClasses.DataGridColumn; private var gXMLDoc:XML; private function initApp():void { gXMLDoc = users user username gender=maleJoe/username useremail[EMAIL PROTECTED]/useremail location id=001 cityBedford/city stateMA/state /location /user user username gender=femaleMaggie/username useremail[EMAIL PROTECTED]/useremail location id=002 cityLexington/city stateMA/state /location /user /users dg1.dataProvider = gXMLDoc.user; }//initApp private function lfnGeneral(item:Object, column:DataGridColumn):String { var sLabel:String = var sHeaderText:String = column.headerText switch (sHeaderText) { case Name: sLabel = item.username; break; case Email: sLabel = item.useremail; break; case City: sLabel = item.location.city; break; case State: sLabel = item.location.city; break; case Gender: sLabel = [EMAIL PROTECTED]; break; } return sLabel; }//lfGeneral ]]/mx:Script mx:DataGrid id=dg1 labelFunction=lfnGeneral mx:columns mx:Array mx:DataGridColumn headerText=Name / mx:DataGridColumn headerText=Email / mx:DataGridColumn headerText=City / mx:DataGridColumn headerText=State / mx:DataGridColumn headerText=Gender / /mx:Array /mx:columns /mx:DataGrid /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexnewbie Sent: Thursday, May 25, 2006 2:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to populate an attribute value in DataGrid control? I can't figure out how to populate the First Name and Last Name, please help! For Example, XML: records record data @name=firstname @value=My_FirstName1 data @name=lastname @value=My_LastName1 /record record data @name=firstname @value=My_FirstName2 data @name=lastname @value=My_LastName2 /record /records Source Code: mx:DataGrid id=feedRequest dataProvider={feedRequest.result.records.record} mx:DataGridColumn headerText=FirstName dataField= / mx:DataGridColumn headerText=LastName dataField= / /mx:DataGrid -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] TabNavigator Events
childIndexChange From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Thursday, May 25, 2006 4:22 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TabNavigator Events Try show event. You still need to use creationComplete or initialize event on the initial tab. Show event fires when you switch tabs. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller Sent: Thursday, May 25, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator Events Greetings - I need one set of tabs to drive another set. Can't seem to find an event to attache the change to. CreationComplete (on each child in the first TabNavigator) works the first time but not on subsequent tab changes (they've already been created). Nor does Click work when attached to the children (VBox, et al) of the main TabNavigtor. Suggestions? cheers, ethan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: hide day navigator on DateChooser
I don't think that you can hide the days (unless you want to subclass), but the dateChooser does have disabledDays, disabledRanges and selectableRange properties. -TH --- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote: Hi again, On Flex2b3, is there a way to hide the day chooser on a DateChooser and leave only top Month/year navigator? -- 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] TabNavigator Events
On May 25, 2006, at 1:22 PM, Ashish Goyal wrote: Try show event. You still need to use creationComplete or initialize event on the initial tab. Show event fires when you switch tabs. thanks! show worked like a charm =) ethan -- 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] 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. -- 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: hide day navigator on DateChooser
Yes, I know, but I only need a month/year navigator, datechooser with day navigator is very big if all the days are unusable. - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 26, 2006 12:26 AM Subject: [flexcoders] Re: hide day navigator on DateChooser I don't think that you can hide the days (unless you want to subclass), but the dateChooser does have disabledDays, disabledRanges and selectableRange properties. -TH --- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote: Hi again, On Flex2b3, is there a way to hide the day chooser on a DateChooser and leave only top Month/year navigator? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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: hide day navigator on DateChooser
Ok, how about resizing the control like: mx:DateChooser height=31 width=153/ -TH --- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote: Yes, I know, but I only need a month/year navigator, datechooser with day navigator is very big if all the days are unusable. - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 26, 2006 12:26 AM Subject: [flexcoders] Re: hide day navigator on DateChooser I don't think that you can hide the days (unless you want to subclass), but the dateChooser does have disabledDays, disabledRanges and selectableRange properties. -TH --- In flexcoders@yahoogroups.com, Jesús Iglesias jesus@ wrote: Hi again, On Flex2b3, is there a way to hide the day chooser on a DateChooser and leave only top Month/year navigator? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] DateChooser change background color
Anyone been able to change the dateChooser bg color? When I have rounded corners , I see white on the corners and I can manage to get the bg where you see the day items, to be anything besides white. DateChooser{ header-colors:#33, #00; roll-over-color:#ff0099; selection-color: #00; today-color: #ff0099; border-color: #00; color: #99; theme-color:#ff0099; background-color:#00; } Ideas? Confirmation? Refute? -- 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: How to populate an attribute value in DataGrid control?
First, the sample xml in your post is not valid: the data nodes have no closing taqs (or /). If we fix that then the example below works for your xml. The key is to use the attribute method instead of the @ symbol to reference the attributes. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=initApp() mx:Script![CDATA[ import mx.controls.dataGridClasses.DataGridColumn; private var gXMLDoc:XML; private function initApp():void { var sXMLDoc:String = 'records' + 'record' + 'data @name=firstname @value=My_FirstName1 /' + 'data @name=lastname @value=My_LastName1 /' + '/record' + 'record' + 'data @name=firstname @value=My_FirstName2 /' + 'data @name=lastname @value=My_LastName2 /' + '/record' + '/records' gXMLDoc = XML(sXMLDoc); dg1.dataProvider = gXMLDoc.record; }//initApp private function lfnGeneral(xmlItem:XML, column:DataGridColumn):String { var sLabel:String = ; var sHeaderText:String = column.headerText; switch (sHeaderText) { case First Name: sLabel = xmlItem.data[0].attribute(@value); break; case Last Name: sLabel = xmlItem.data[1].attribute(@value); break; } return sLabel; }//lfGeneral ]]/mx:Script mx:DataGrid id=dg1 labelFunction=lfnGeneral mx:columns mx:Array mx:DataGridColumn headerText=First Name / mx:DataGridColumn headerText=Last Name / /mx:Array /mx:columns /mx:DataGrid /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexnewbie Sent: Thursday, May 25, 2006 5:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to populate an attribute value in DataGrid control? Tracy, Thanks for the feedback. Unfortunately I cannot change the XML, the data is from third party provider. I tried it with labelFunction and @@, it does not work :-( var sFirstName:String = xmlRecord.data[0].(@@name == lastname).@@value; --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: First, the @ in fornt of all the xml attributes might cause a problem. Second, The name/value pair structure of your xml is going to be difficult to work with. Are you stuck with that structure? If so you will need to use a labelFunction(). In that you will do something like: var sFirstName:String = xmlRecord.data[0].(@@name == lastname).@@value; //that is where those @ signe might cause a problem. If you can change the xml format this can be much easier. Below is a sample app that uses labelFunction on fairly complex xml. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=initApp() mx:Script![CDATA[ import mx.controls.dataGridClasses.DataGridColumn; private var gXMLDoc:XML; private function initApp():void { gXMLDoc = users user username gender=maleJoe/username useremail[EMAIL PROTECTED]/useremail location id=001 cityBedford/city stateMA/state /location /user user username gender=femaleMaggie/username useremail[EMAIL PROTECTED]/useremail location id=002 cityLexington/city stateMA/state /location /user /users dg1.dataProvider = gXMLDoc.user; }//initApp private function lfnGeneral(item:Object, column:DataGridColumn):String { var sLabel:String = var sHeaderText:String = column.headerText switch (sHeaderText) { case Name: sLabel = item.username; break; case Email: sLabel = item.useremail; break; case City: sLabel = item.location.city; break; case State: sLabel = item.location.city; break; case Gender: sLabel = [EMAIL PROTECTED]; break; } return sLabel; }//lfGeneral ]]/mx:Script mx:DataGrid id=dg1 labelFunction=lfnGeneral mx:columns mx:Array mx:DataGridColumn headerText=Name / mx:DataGridColumn headerText=Email / mx:DataGridColumn headerText=City / mx:DataGridColumn headerText=State / mx:DataGridColumn headerText=Gender / /mx:Array /mx:columns /mx:DataGrid /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexnewbie Sent: Thursday, May 25, 2006 2:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to populate an attribute value in DataGrid control? I can't figure out how to populate the First Name and Last Name, please help! For Example, XML: records record data @name=firstname @value=My_FirstName1 data @name=lastname @value=My_LastName1 /record record data @name=firstname @value=My_FirstName2 data @name=lastname @value=My_LastName2 /record /records Source Code: mx:DataGrid id=feedRequest dataProvider={feedRequest.result.records.record} mx:DataGridColumn headerText=FirstName dataField= / mx:DataGridColumn headerText=LastName dataField= / /mx:DataGrid -- Flexcoders Mailing List FAQ:
Re: [flexcoders] Re: hide day navigator on DateChooser
Yeah!!! that's an idea !!! Thanks !!! - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 26, 2006 1:13 AM Subject: [flexcoders] Re: hide day navigator on DateChooser Ok, how about resizing the control like: mx:DateChooser height=31 width=153/ -TH --- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote: Yes, I know, but I only need a month/year navigator, datechooser with day navigator is very big if all the days are unusable. - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 26, 2006 12:26 AM Subject: [flexcoders] Re: hide day navigator on DateChooser I don't think that you can hide the days (unless you want to subclass), but the dateChooser does have disabledDays, disabledRanges and selectableRange properties. -TH --- In flexcoders@yahoogroups.com, Jesús Iglesias jesus@ wrote: Hi again, On Flex2b3, is there a way to hide the day chooser on a DateChooser and leave only top Month/year navigator? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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.