Re: Security risk found in message [flexcoders] Re: SetEventHandler Limitations? Contact TAVANT IS Team
Pim, for greater good, please check if your system is infected with the W32 virus! This should hold good for all of us on a public mailing system! Sree - Original Message - From: pim To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 9:47 AM Subject: Security risk found in message "[flexcoders] Re: SetEventHandler Limitations?"Symantec AntiVirus found a security risk in an attachment from "pim" [EMAIL PROTECTED].Attachment: Video_part.mimThreat: [EMAIL PROTECTED]Action taken: Delete succeededFile status: Deleted--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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.
Re: [flexcoders] pageTitle bu g?
Hmm ... I am not seeing anything. :-) Isnt it supposed to display the stringon the title bar of the browser? It doesnt :( Yes, I am using FlexBuilder 2.0 Sree - Original Message - From: Abdul Qabiz To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 10:51 AM Subject: Re: [flexcoders] pageTitle bu g? What is the unexpected thing, you are seeing?Are you using FlexBuilder 2?-abdul On 2/6/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Hmm ... looks like specifying the pageTitle on the Application tag does not have the expected result!--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 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 with player detection and player 8.5
I have a problem with the detection of flash player, I had some pages that use the espress installation detection that check for player 8, after installing the player 8.5 when I open those pages it ask me to install the player even if the version that I'm check for is lower then 8.5. This is the code that check the version: // -- --- // Globals // Major version of Flash required var requiredMajorVersion = 8; // Minor version of Flash required var requiredMinorVersion = 0; // Minor version of Flash required var requiredRevision = 20; // the version of javascript supported var jsVersion = 1.0; basiclly it should ask me to install a new player if I have a version more recent that 8.0.20. It shouldn't ask if I have version 8.5 instead it does. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] TabNavigator Tab Align - Bug?
The TabNavigator does not seem to respect the horizontalAlign style. Tried following sample to align tabs to the right. ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" layout="vertical"mx:TabNavigator width="100%" height="100%" horizontalAlign="right"mx:HBox label="Tab 1" /mx:HBox label="Tab 2" /mx:HBox label="Tab 3" //mx:TabNavigator/mx:Application Sree -- 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 Tab Align - Bug?
On 2/7/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: The TabNavigator does not seem to respect the horizontalAlign style. Tried following sample to align tabs to the right. [snip] 2.0? Sounds like a bug. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] how to loop thru mx.events.DataGridEvent (flex 2)
i have cellPress event in my DataGrid. The following code doesnt work. can someone tell me the correct syntax private myCellPressEvnt(event:DataGridEvent):void { for(var obj1:Object in event) { //out is a mx:TextArea out.text += obj1 + event[obj1] + \n; } } 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] TabNavigator Tab Align - Bug?
Yes, 2.0. - Original Message - From: Manish Jethani To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 4:43 PM Subject: Re: [flexcoders] TabNavigator Tab Align - Bug? On 2/7/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: The TabNavigator does not seem to respect the horizontalAlign style. Tried following sample to align tabs to the right.[snip]2.0? Sounds like a bug. -- 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: Flexunit for Flex 2
Isn't anyone doing unit testing in Flex 2? On 2/6/06, Chris Velevitch [EMAIL PROTECTED] wrote: Is there a version of Flexunit for Flex 2 or will Flexunit 0.9 work with Flex 2? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] how to loop thru mx.events.DataGridEvent (flex 2)
Hey, import mx.utils.ObjectUtil; trace(ObjectUtil.toString(evt)); or... out.text += \n + ObjectUtil.toString(evt); Does a WONDERFUL job. You will never look at objects the same ;-) Peace, Mike On 2/7/06, bhaq1972 [EMAIL PROTECTED] wrote: i have cellPress event in my DataGrid. The following code doesnt work. can someone tell me the correct syntax private myCellPressEvnt(event:DataGridEvent):void { for(var obj1:Object in event) { //out is a mx:TextArea out.text += obj1 + event[obj1] + \n; } } 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 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: Flexunit for Flex 2
Here is a response from macromedia last august about unit testing... Todd Rein@macromedia.com to flexcodersHide options 8/16/05 From: Todd Rein @macromedia.com Mailed-By: returns.groups.yahoo.com Reply-To: flexcoders@yahoogroups.comTo: flexcoders@yahoogroups.comDate: Aug 16, 2005 1:41 PM Subject: RE: [flexcoders] Testing Flex ApplicationsReply | Reply to all | Forward | Print | Add sender to Contacts list | Delete this message | Report phishing | Show original | Message text garbled? Hi Allen, We can't announce any details yet, but I can let you know that we are working on functional UI testing support in Flex for an upcoming release. If you need something sonner, we have helped other customers with some short term solutions via consulting. Thanks, Todd On 2/7/06, Chris Velevitch [EMAIL PROTECTED] wrote: Isn't anyone doing unit testing in Flex 2?On 2/6/06, Chris Velevitch [EMAIL PROTECTED] wrote: Is there a version of Flexunit for Flex 2 or will Flexunit 0.9 work with Flex 2? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au --Chris VelevitchManager - Sydney Flash Platform Developers Groupwww.flashdev.org.au--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: Flexunit for Flex 2
On 2/8/06, Clint Modien [EMAIL PROTECTED] wrote: Here is a response from macromedia last august about unit testing... From: Todd Rein @macromedia.com Mailed-By: returns.groups.yahoo.com We can't announce any details yet, but I can let you know that we are working on functional UI testing support in Flex for an upcoming release. If you need something sonner, we have helped other customers with some short term solutions via consulting. That's great to hear, but my original question related to Flexunit from Iteration Two and whether verision 0.9 will work with Flex 2 or if there is verison of Flexunit for Flex 2. 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] DataGrid data increases memory usage in firefox...
I am using firefox (version 1.5) as the browser.The memory usage increases constantly if DataGrid loaded the data through Cell Renderers(implemented through UI Component). The memory usage increases even if I donnot do any actions on the Grid. Here is the reading for Memory usage. 53572 06/02/2006 11:00 am 66532 06/02/2006 3:00 pm 71780 06/02/2006 7:00 pm 79080 06/02/2006 10:00 pm Could anybody help me out why the memory usage is increasing. Thanks in Advance... Regards, Rohit -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Panel resize effect with dissolve effect for children
Hi All! Is there any comprehensive tutorial or code samples on how to implement panel resize effect with dissolve effect for children. The best example of what I would like to do is http://flexapps.macromedia.com/flex15/flexstore/flexstore.mxml Sergey. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] pageTitle bu g?
Ok, check out the html file it generates. Does it have title / tag in it with the expected value.I think, when you build it should ideally create html file with same title...If might be a known issue, still send your feedback. -abdulOn 2/7/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Hmm ... I am not seeing anything. :-) Isnt it supposed to display the stringon the title bar of the browser? It doesnt :( Yes, I am using FlexBuilder 2.0 Sree - Original Message - From: Abdul Qabiz To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 10:51 AM Subject: Re: [flexcoders] pageTitle bu g? What is the unexpected thing, you are seeing?Are you using FlexBuilder 2?-abdul On 2/6/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Hmm ... looks like specifying the pageTitle on the Application tag does not have the expected result!--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 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] New Inline cell renderers
There are CellRenderer's and CellEditors. A cell renderer just adjusts the display from the default textinput to a checkbox etc... However,if you change the cellrenderer, that won't have any affect on the underlying dataprovider. You need to set the cellrenderer's isCellEditor property to true. This will cause the cell to use the cellRenderers class as the editor class as well. Once you have a cellEditor, you have access to the underlying dataprovider. On 2/6/06, Jonathan Miranda [EMAIL PROTECTED] wrote: So I decided to mess around with the new inline cell-renderers…and having issues getting at their data. Pretty simple example…mx:DataGridColumn textAlign=center columnName=compare sortable=false headerText=Compare width=75 mx:cellRenderer mx:Component mx:HBox width=100% horizontalAlign=center mx:CheckBox id=myCheckie/ /mx:HBox /mx:Component /mx:cellRenderer /mx:DataGridColumnSo I've tried everything I think of attempting to find out if the checkbox is selected or not, using either "compare" or "myCheckie"….anyone know how? Just want a checkbox and the ability to find out by actionscript if it's checked or not (running through the whole datagrid). _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. --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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex 2 - Looking for feedback on Flex API doc
Hi Chris, We have a few ideas on how to better show the inherited items. One idea is to show all inherited items, for example methods, in a single summary table rather than as a collection of tables that list each inherited item. The summary table would look like the summary table for the methods defined in the class itself; they would contain the method signature and the one line summary of the method. Since the table of inherited items can be quite long, we might make it collapsible so you first see the methods defined in the class, then expand the table to see inherited methods. The idea of a single table that shows all the class elements, both defined in the class and inherited, is a bit daunting. For example, the table for the DataGrid would contain over 200 rows, probably closer to 250 rows. Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Monday, February 06, 2006 6:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2 - Looking for feedback on Flex API doc On 2/7/06, Stephen Gilson [EMAIL PROTECTED] wrote: For your comment on issue #4, we are planning on adding the Use and I'm interested in knowing what your thoughts are on my comments on issue #1. On 2/3/06, Stephen Gilson [EMAIL PROTECTED] wrote: 1. ... We have a request to split the public and protected methods into separate tables, so that you do not see the protected methods if you are using the class, but view them only when you are creating a subclass. The distinction between using a class and subclassing a class is very important. When using a class however, a single alphabetic list of all public properties, methods, styles, effects, etc is more usable than lots of little boxes all over the place because:- a. we're using THIS class and more interested seeing the behaviour and attributes of THIS class as a whole, not the individual components that make up the class. b. useful for people new to the class to help them understand what the class can do before moving on the how the class is constructed (ie inheritance hierarchy) or how to subclass it. c. show the name of the class in which it is defined next to it. 3. Is it styled well? Is it easy to read and does the use of color, font, and layout make sense? No, see above. 4. Are the inheritance tables usable? These are the tables that list the inherited items from the superclasses. How about a graphical inheritance hierarchy of all classes? It would be a great way to visually see where a class fits in the whole scheme of things. 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 Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: how to loop thru mx.events.DataGridEvent (flex 2)
Thanks for your suggestion, but its giving me a 'StackOverflowError' for this example. any ideas? --- In flexcoders@yahoogroups.com, Teoti Graphix [EMAIL PROTECTED] wrote: Hey, import mx.utils.ObjectUtil; trace(ObjectUtil.toString(evt)); or... out.text += \n + ObjectUtil.toString(evt); Does a WONDERFUL job. You will never look at objects the same ;-) Peace, Mike On 2/7/06, bhaq1972 [EMAIL PROTECTED] wrote: i have cellPress event in my DataGrid. The following code doesnt work. can someone tell me the correct syntax private myCellPressEvnt(event:DataGridEvent):void { for(var obj1:Object in event) { //out is a mx:TextArea out.text += obj1 + event[obj1] + \n; } } 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 developmenthttp://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2= Computer+software+developmentw3=Software+design+and+developmentw4=M acromedia+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+developmentw 2=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+development w2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s ig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof tware+developmentw3=Software+design+and+developmentw4=Macromedia+fl exw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZ I36cYzBjw Software development best practicehttp://groups.yahoo.com/gads? t=msk=Software+development+best+practicew1=Web+site+design+developm entw2=Computer+software+developmentw3=Software+design+and+developme ntw4=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]flexcoders- [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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Set Scroll Position
Hi. Anyone know how can i do to set the vertical position of a tilelist´s scollbar to 0? I want to return the scrollbar to the top when user click a button. I have tried with resetScrollPositions(), vPosition=0, but it´s seems that dont works. Thanks to any 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Panel resize effect with dissolve effect for children
Thanks to all, but I have already found it at http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=Flex_Documentationfile=2228.htm -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Kovalyov Sent: Tuesday, February 07, 2006 11:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Panel resize effect with dissolve effect for children Hi All! Is there any comprehensive tutorial or code samples on how to implement panel resize effect with dissolve effect for children. The best example of what I would like to do is http://flexapps.macromedia.com/flex15/flexstore/flexstore.mxml Sergey. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] shared object security with flex 1.5
Great idea Taka! I will indeed try that. Thanks so much! I cant believe I didnt think of thatsometimes the most obvious is right in front of youthanks for your help! robert l. brueckmann vice president merlin securities 595 madison avenue new york,ny 10022 p: 212.822.4821 f: 212.822.4820 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taka Kojima Sent: Monday, February 06, 2006 3:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] shared object security with flex 1.5 Dear Robert, Yeah, here's an idea: Have it store the IP address (encrypted) in the file as well, then on the other end, have it check the IP to make sure it's the same IP, if not it can reset all of the variables in the file or remove all of the contents of the file and not automatically log the user in. That should work out... let me know. Sincerely, Taka Kojima Director of Promotion Marketing ABLE International From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann Sent: Monday, February 06, 2006 11:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] shared object security with flex 1.5 I created a remember me on this computer option when the user logs in, so when they come to the URL it automatically logs them into our site based on the username and password I'm encrypting and storing in a shared object on their machine. Works great. Out of curiosity, I located that actual shared object file and emailed it to my coworker and had him install it in the similar location on his machine and when he went to the website, it automatically logged him in as me. Is there any way to prevent this from happening? I mean, what additional security could I add to prevent (if the user does, for whatever conceivable reason) the copying of the .sol file from the one computer to another and it still work? I figured there would have been some footprint on the .sol file (I thought thats what all those additional characters were in the .sol file when I opened it in WordPad to look at it were) from my flash player, some unique id or something that lets the .sol file only work with my flash player on my machine and not all flash players...but I guess not...any thoughts? robert l. brueckmann vice president merlin securities 595 madison avenue new york,ny 10022 p: 212.822.4821 f: 212.822.4820 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- 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] Set Scroll Position
Try mytilelist.selectedIndex = 0; or somthing similar, i have not looked at this so if that does not work report back here... -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de More GarcíaEnvoyé: mardi 7 février 2006 13:44À: flexcoders@yahoogroups.comObjet: [flexcoders] Set Scroll PositionHi. Anyone know how can i do to set the vertical position of a tilelist´s scollbar to 0? I want to return the scrollbar to the top when user click a button.I have tried with resetScrollPositions(), vPosition=0, but it´s seems that dont works.Thanks to any 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] shared object security with flex 1.5
Your logging in people automatically ? This is an intranet correct? If not you may want to rethink your strategy. If it'san "intranet" then what about people changing computers, I'm sick someoneusing my cpu etc.., oop's.If "internet" think open doorcyber cafe, or welcome to my work kids. -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Robert BrueckmannEnvoy: mardi 7 fvrier 2006 15:45: flexcoders@yahoogroups.comObjet: RE: [flexcoders] shared object security with flex 1.5 Great idea Taka! I will indeed try that. Thanks so much! I cant believe I didnt think of thatsometimes the most obvious is right in front of youthanks for your help! robert l. brueckmann vice president merlin securities 595 madison avenue new york,ny 10022 p: 212.822.4821f: 212.822.4820 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taka KojimaSent: Monday, February 06, 2006 3:16 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] shared object security with flex 1.5 Dear Robert, Yeah, here's an idea: Have it store the IP address (encrypted) in the file as well, then on the other end, have it check the IP to make sure it's the same IP, if not it can reset all of the variables in the file or remove all of the contents of the file and not automatically log the user in. That should work out... let me know. Sincerely, Taka Kojima Director of Promotion Marketing ABLE International From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert BrueckmannSent: Monday, February 06, 2006 11:33 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] shared object security with flex 1.5 I created a "remember me on this computer" option when the user logs in, so when they come to the URL it automatically logs them into our site based on the username and password I'm encrypting and storing in a shared object on their machine. Works great. Out of curiosity, I located that actual shared object file and emailed it to my coworker and had him install it in the similar location on his machine and when he went to the website, it automatically logged him in as me. Is there any way to prevent this from happening? I mean, what additional security could I add to prevent (if the user does, for whatever conceivable reason) the copying of the .sol file from the one computer to another and it still work? I figured there would have been some footprint on the .sol file (I thought thats what all those additional characters were in the .sol file when I opened it in WordPad to look at it were) from my flash player, some unique id or something that lets the .sol file only work with my flash player on my machine and not all flash players...but I guess not...any thoughts? robert l. brueckmann vice president merlin securities 595 madison avenue new york,ny 10022 p: 212.822.4821f: 212.822.4820 This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:
[flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer
Hello all- I've spent the last day now trying to get a handle of the dispatched event from the cell renderer to the mxml file and I still cannot do it. I've tried several of the techniques in Chapter 16 of the Developing Rich Clients Flex book and still no luck. What boggles me is that the 'click' event w/i my cell renderer mxml file works when I use the cellRenderer attribute of the mx:Datagrid tag, but it doesn't work when I apply my mxml file to the .cellRenderer attribute of a dynamically created datagrid. Obviously something is getting lost b/w the parent object and my mxml file where the dispatched event does not get handled by the parent. I've tried all sorts of fixes using 'parent' to no luck. Does anyone know how this works? Thanks. --- In flexcoders@yahoogroups.com, Kevin Ewok [EMAIL PROTECTED] wrote: Flexcoders - I have a mxml file which is basically copy and paste from the TimePicker.mxml file. (except for my mxml file is just a label and a button). When the button is clicked, the value of the label is passed to the Cairngorm Controller. This works completely fine when I implement my mxml file within the mx:DataGrid cellRenderer=../ attribute. However, I also have the requirement to create datagrids dynamically. When I create my DataGridColumn and apply my mxml file to the 'cellRenderer' attribute, the component appears correctly, but when I click the button, the method linked to my click event in the button never occurs. I'm implementing the click method within my mxml file that renders the label and button and I can't figure out what I'm doing wrong with the way the child is created. Thanks in advance. var _dgc:DataGridColumn = new DataGridColumn(newColumn); _dgc.cellRenderer = com.StatusPicker; com.StatusPicker.mxml ?xml version=1.0 encoding=utf-8? mx:HBox xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var btn : MovieClip; var listOwner : MovieClip; var getCellIndex : Function; var getDataLabel : Function; function click(){ trace(click occured); } function setValue(str:String, item:Object, selection:String):Void { status.text = item.STATUS; } ]] /mx:Script mx:Label id=status textAlign=center width=20/ mx:Button id=RightArrow icon=@Embed('/images/rightarrow.png') click=click()/ /mx:HBox -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: how to loop thru mx.events.DataGridEvent (flex 2)
You can try the describeType() method. See if this does what you want: ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; mx:Script import mx.utils.ObjectUtil; import flash.util.*; public function printObject(e:MouseEvent) { // Get the event's E4X XML object description: var classInfo:XML = describeType(e); // Dump the entire E4X XML object into ta1: ta1.text = classInfo.toString(); // List the object's variables, their values, and their types: for each (var v:XML in classInfo..variable) { ta2.text += Variable + [EMAIL PROTECTED] + = + [EMAIL PROTECTED] + ( + [EMAIL PROTECTED] + )\n; } // List accessors as properties: for each (var a:XML in classInfo..accessor) { ta2.text += Property + [EMAIL PROTECTED] + = + [EMAIL PROTECTED] + ( + [EMAIL PROTECTED] +)\n; } // List the object's methods: for each (var m:XML in classInfo..method) { ta2.text += Method + [EMAIL PROTECTED] + (): + [EMAIL PROTECTED] + \n; } } /mx:Script mx:Button id=b1 label=Click Me! click=printObject(event) styleName=myButtonStyle/ mx:TextArea id=ta1 height=200 width=400/ mx:TextArea id=ta2 height=200 width=400/ /mx:Application -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Tuesday, February 07, 2006 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how to loop thru mx.events.DataGridEvent (flex 2) Thanks for your suggestion, but its giving me a 'StackOverflowError' for this example. any ideas? --- In flexcoders@yahoogroups.com, Teoti Graphix [EMAIL PROTECTED] wrote: Hey, import mx.utils.ObjectUtil; trace(ObjectUtil.toString(evt)); or... out.text += \n + ObjectUtil.toString(evt); Does a WONDERFUL job. You will never look at objects the same ;-) Peace, Mike On 2/7/06, bhaq1972 [EMAIL PROTECTED] wrote: i have cellPress event in my DataGrid. The following code doesnt work. can someone tell me the correct syntax private myCellPressEvnt(event:DataGridEvent):void { for(var obj1:Object in event) { //out is a mx:TextArea out.text += obj1 + event[obj1] + \n; } } 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 developmenthttp://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2= Computer+software+developmentw3=Software+design+and+developmentw4=M acromedia+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+developmentw 2=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+development w2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s ig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof tware+developmentw3=Software+design+and+developmentw4=Macromedia+fl exw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZ I36cYzBjw Software development best practicehttp://groups.yahoo.com/gads? t=msk=Software+development+best+practicew1=Web+site+design+developm entw2=Computer+software+developmentw3=Software+design+and+developme ntw4=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]flexcoders- [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:
[flexcoders] Calendar Drop Down (Flex 1.5)
I'd like to put a datechooser in a drop down or popup at the top of my application in the control bar for people to pick the date. I saw an example in the archives of someone using a datechooser in a javascript popup window that uses a LocalConnection to send the information between them. http://www.mail-archive.com/flexcoders@yahoogroups.com/msg00031.html. Has anyone done it a different way so it seems to be in the same application like dropping down from the chosen date?, or do you have any more information on datechoosers/ calendars in applications. Jaime. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Problem to consum Complex return type from webservice
Hi In Flex 1.5, it was easy to consum a webservice method which return complex type like .NET Dataset, Vector in Java, custom class... Now with Flex 2.0, Flex can't parse this type of data (I have this message: Element http://www.mysite.com/webservices/ws/:myTypeResponse not resolvable) Do you know if Adobe will do something ? I dont know coldfusion but I saw that macromedia webservices result are consumned like an array of Object in Flex. Does someone have some suggestion about the result type I have to use in a Java webservice ? Thanks Nicolas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flexunit for Flex 2
It should be showing up on Labs sometime soon. We're all at an engineering summit this week so I won't imagine it up by Friday, but we did do a port of FlexUnit to AS3 and the Developer Relations team took ownership of it and has planned on getting it up soon. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Tuesday, February 07, 2006 5:23 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flexunit for Flex 2 On 2/8/06, Clint Modien [EMAIL PROTECTED] wrote: Here is a response from macromedia last august about unit testing... From: Todd Rein @macromedia.com Mailed-By: returns.groups.yahoo.com We can't announce any details yet, but I can let you know that we are working on functional UI testing support in Flex for an upcoming release. If you need something sonner, we have helped other customers with some short term solutions via consulting. That's great to hear, but my original question related to Flexunit from Iteration Two and whether verision 0.9 will work with Flex 2 or if there is verison of Flexunit for Flex 2. 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 Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex 2 - Looking for feedback on Flex API doc
On 2/8/06, Stephen Gilson [EMAIL PROTECTED] wrote: The idea of a single table that shows all the class elements, both defined in the class and inherited, is a bit daunting. For example, the table for the DataGrid would contain over 200 rows, probably closer to 250 rows. I appreciate that some classes will have that many methods and properties (we are talking public ones?), and that a single table showing all elements is daunting. However, even more daunting is trying to get a birds eye view of a class, when you're an inch off the ground! That's certainly how I feel, when I look at the class summary of a class like the DataGrid. I just thought of an issue (and this may be off topic) with highly specialised classes. When a class has large family tree, the names/meanings of methods/properties of ancestor classes tend be very generic and many not make sense in the specialised decedent class. What mechanisms are in place to rename ancestor methods/properties so they make sense in the context of the decedent class. This issue is important when learning a new class that has a large family tree, because you are trying to understand what this class can do for you and generic names can slow you down. 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer
Kevin, I am a bit confused. Do you have other traces in the application? Can you see them? Here is tracer that I use : http://ajaxmaker.com/xpanel We are using cellrenderers within dynamic datagrids (layout persisted in DB) all the time - no issues there - they do have mouseDown and click handlers. I personally would not name themethod "click" as it is confusing to me but would call it arrowClick(). click event is not handled by the parent or propagated to the parent. Your control should define custom event and dispatch it to the listOwner so the parent can react on it. HTH, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 10:01 AM Subject: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer Hello all- I've spent the last day now trying to get a handle of the dispatchedevent from the cell renderer to the mxml file and I still cannot doit. I've tried several of the techniques in Chapter 16 of the"Developing Rich Clients" Flex book and still no luck. What boggles me is that the 'click' event w/i my cell renderer mxmlfile works when I use the "cellRenderer" attribute of the mx:Datagridtag, but it doesn't work when I apply my mxml file to the.cellRenderer attribute of a dynamically created datagrid. Obviouslysomething is getting lost b/w the parent object and my mxml file wherethe dispatched event does not get handled by the parent. I've triedall sorts of fixes using 'parent' to no luck.Does anyone know how this works? Thanks.--- In flexcoders@yahoogroups.com, "Kevin Ewok" [EMAIL PROTECTED] wrote: Flexcoders - I have a mxml file which is basically copy and paste from the TimePicker.mxml file. (except for my mxml file is just a label and a button). When the button is clicked, the value of the label is passed to the Cairngorm Controller. This works completely fine when I implement my mxml file within the mx:DataGrid cellRenderer=".."/ attribute. However, I also have the requirement to create datagrids dynamically. When I create my DataGridColumn and apply my mxml file to the 'cellRenderer' attribute, the component appears correctly, but when I click the button, the method linked to my click event in the button never occurs. I'm implementing the "click" method within my mxml file that renders the label and button and I can't figure out what I'm doing wrong with the way the child is created. Thanks in advance. var _dgc:DataGridColumn = new DataGridColumn("newColumn"); _dgc.cellRenderer = "com.StatusPicker"; com.StatusPicker.mxml ?xml version="1.0" encoding="utf-8"? mx:HBox xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script ![CDATA[ var btn : MovieClip; var listOwner : MovieClip; var getCellIndex : Function; var getDataLabel : Function; function click(){ trace("click occured"); } function setValue(str:String, item:Object, selection:String):Void { status.text = item.STATUS; } ]] /mx:Script mx:Label id="status" textAlign="center" width="20"/ mx:Button id="RightArrow" icon="@Embed('/images/rightarrow.png')" click="click()"/ /mx:HBox -- 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: Set Scroll Position
Sorry, i don´t know why, but with myTileList.resetScrollPositions(), the scrollbar return to the the top. Sorry, and thanks for you fast response. --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: Try mytilelist.selectedIndex = 0; or somthing similar, i have not looked at this so if that does not work report back here... -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de More García Envoyé : mardi 7 février 2006 13:44 À : flexcoders@yahoogroups.com Objet : [flexcoders] Set Scroll Position Hi. Anyone know how can i do to set the vertical position of a tilelist´s scollbar to 0? I want to return the scrollbar to the top when user click a button. I have tried with resetScrollPositions(), vPosition=0, but it´s seems that dont works. Thanks to any 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] New Inline cell renderers
Well Im closer but no cigar yet. I can get the dataProvider to update with the checkbox click, but each checkbox click requires 2 clicks! One to get focus in the box and one to actually change the checkboxand I cant figure out how to center the Checkbox now since its not in an HBox anymore. mx:DataGrid width=100% height=80% id=resultsDG dataProvider={searchService.result.hospitals.hospital} mx:columns mx:Array mx:DataGridColumn editorProperty=selected textAlign=center columnName=compare sortable=false headerText=Compare width=75 isCellEditor=true mx:cellRenderer mx:Component mx:CheckBox selected={dataObject.compare}/ /mx:Component /mx:cellRenderer /mx:DataGridColumn mx:DataGridColumn textAlign=center cellRenderer=nameRenderer columnName=name headerText=Hospital Name/ mx:DataGridColumn textAlign=center columnName=distance headerText=Distance width=100 id=distance/ mx:DataGridColumn textAlign=center cellRenderer=swfRenderer columnName=quality headerText=Quality width=100/ /mx:Array /mx:columns /mx:DataGrid _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dominick Accattato Sent: Tuesday, February 07, 2006 7:02 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] New Inline cell renderers There are CellRenderer's and CellEditors. A cell renderer just adjusts the display from the default textinput to a checkbox etc... However,if you change the cellrenderer, that won't have any affect on the underlying dataprovider. You need to set the cellrenderer's isCellEditor property to true. This will cause the cell to use the cellRenderers class as the editor class as well. Once you have a cellEditor, you have access to the underlying dataprovider. On 2/6/06, Jonathan Miranda [EMAIL PROTECTED] wrote: So I decided to mess around with the new inline cell-renderersand having issues getting at their data. Pretty simple example mx:DataGridColumn textAlign=center columnName=compare sortable=false headerText=Compare width=75 mx:cellRenderer mx:Component mx:HBox width=100% horizontalAlign=center mx:CheckBox id=myCheckie/ /mx:HBox /mx:Component /mx:cellRenderer /mx:DataGridColumn So I've tried everything I think of attempting to find out if the checkbox is selected or not, using either compare or myCheckie.anyone know how? Just want a checkbox and the ability to find out by actionscript if it's checked or not (running through the whole datagrid). _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. -- 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.
[flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer
Kevin, _dgc.cellRenderer = com.StatusPicker; Are u sure this should be in double quotes. when i did a dynamic datagrid with a cellRenderer, i never used double quotes -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] datagrid.selectedIndex not correct in cellPress - flex2
Following from my previous post about datagrid cellpress event. i'm checking the selectedIndex property. the rowIndex is correct but the selectedIndex is incorrect. its always my previous rowIndex ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; backgroundColor=#FF mx:Script ![CDATA[ import mx.events.DataGridEvent; private function doCellPress(event:DataGridEvent):void { out.text += rIndex=+event.rowIndex + sIndex= + dg.selectedIndex + \n; } ]] /mx:Script mx:DataGrid id=dg width=60% height=60% cellPress=doCellPress(event) mx:dataProvider mx:Object Artist=Pavement7 Price=14.99 Album=Slanted and Enchanted / mx:Object Artist=Pavement8 Album=Brighten the Corners Price=3.99 / mx:Object Artist=Pavement9 Price=21.99 Album=Slanted and Enchanted / mx:Object Artist=Pavement10 Album=Brighten the Corners Price=1.99 / mx:Object Artist=Pavement11 Price=41.99 Album=Slanted and Enchanted / mx:Object Artist=Pavement12 Album=Brighten the Corners Price=7.99 / /mx:dataProvider mx:columns mx:DataGridColumn columnName=Album / mx:DataGridColumn columnName=Price / /mx:columns /mx:DataGrid mx:TextArea id=out height=120 width=150/ /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer
One side note - all "dynamic" classes have to be statically referenced unless RSL are used. - Original Message - From: bhaq1972 To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 11:08 AM Subject: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer Kevin, _dgc.cellRenderer = "com.StatusPicker";Are u sure this should be in double quotes. when i did a dynamic datagrid with a cellRenderer, i never used double quotes -- 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 2.0 beta TextArea question
Hi, How would I set the scrollPosition of a textarea to its maximum position? Im trying to create an msn-like socket application, and need to have my textArea scrolled to the lowest position. I tried txtLog.vPosition = txtLog.maxVPosition; and txtLog.vPosition = txtLog.textField.height, but no luck. 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: Flexunit for Flex 2
Chris, The iteration::two flex unit codebase is used internally within Macromedia to test some of the Flex appmodel, and has been converted into ActionScript 3.0 for internal use. This is going to be released *imminently* on Adobe Labs. Though the initial port of the iteration::two codebase to AS3.0 was performed by a number of folks within Macromedia (I won't mention individuals, in case I miss others) but Danny Dura did the final push to get this into Adobe Labs ready-state. I met with Danny earlier this morning, and he's said to expect something in the next week or so. Best wishes, Steven -- Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: 07 February 2006 05:23 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flexunit for Flex 2 On 2/8/06, Clint Modien [EMAIL PROTECTED] wrote: Here is a response from macromedia last august about unit testing... From: Todd Rein @macromedia.com Mailed-By: returns.groups.yahoo.com We can't announce any details yet, but I can let you know that we are working on functional UI testing support in Flex for an upcoming release. If you need something sonner, we have helped other customers with some short term solutions via consulting. That's great to hear, but my original question related to Flexunit from Iteration Two and whether verision 0.9 will work with Flex 2 or if there is verison of Flexunit for Flex 2. 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 Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Can not find named service
Just started a new project, app server is Weblogic and application is deployed as an EAR. Trying to get a simple remote call working and I'm getting an exception: No service named serviceSystem is known to Flash 1. Named service is configured in flex-config.xml 2. The class it points to exists named object name=serviceSystem use-custom-authenticationfalse/use-custom-authentication sourcecom.sfcommerce.chargeback.client.SystemServiceClient/source typestateless-class/type allow-unnamed-accessfalse/allow-unnamed-access /object /named I'm stumped. It has to be something simple but the exception details are vague at best...Appreciate any ideas on additional areas to check! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Split a single Flex application into parts
Hi List, I havea potential use case where my top level Application consists of a ViewStack that might have around 10 children that are themselves composite components with multiple views It seems prettycertain that if I create one single Flex (Flex 1.5)application, I would most probably run into huge load times. What is a good way to approach splitting this up into component parts? All I can think of at the moment is to use a Loader for each child of the ViewStack and load theappropriate flex appon some event. Is there any other way to approach this ? TIA- superabe -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Problem to consum Complex return type from webservice
I had this same issue. See the thread here: http://groups.yahoo.com/group/flexcoders/message/28607?threaded=1 I don't know if they're planning any fixes, but for now my solution is to use Java RemoteObjects with Enterprise Services... I am able to return the org.w3c.dom.Document XML back now, so I have been able to move past this. good luck, Thunder --- In flexcoders@yahoogroups.com, durieuxnicolas [EMAIL PROTECTED] wrote: Hi In Flex 1.5, it was easy to consum a webservice method which return complex type like .NET Dataset, Vector in Java, custom class... Now with Flex 2.0, Flex can't parse this type of data (I have this message: Element http://www.mysite.com/webservices/ws/:myTypeResponse not resolvable) Do you know if Adobe will do something ? I dont know coldfusion but I saw that macromedia webservices result are consumned like an array of Object in Flex. Does someone have some suggestion about the result type I have to use in a Java webservice ? Thanks Nicolas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Does Cairngorm work at all with the new flex2 coldfusion adapter.
Hi, We've posted a few questions about cairngorm alpha and coldfusion and so far no replies. ( no replies, as we have learned from our past experiences with cairngorm means that there might be problems... however, it could also be that everyone is so busy) Does anyone have experience with Cairngorm alpha with coldfusion - flex2 beta adapter. Please provide a small example of how to setup cairngorm alpha with coldfusion. Perhaps someone from the cairngorm team can reply to this question because it will help for the early adoption of Cairngorm as opposed to ARP3 as an architecture platform. Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] pageTitle bu g?
On 2/7/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Ok, check out the html file it generates. Does it have title / tag in it with the expected value. It doesn't in Flex Builder 2.0 Beta 1. Bug. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Calendar Drop Down (Flex 1.5)
On 2/7/06, Jaime Hemmett [EMAIL PROTECTED] wrote: I'd like to put a datechooser in a drop down or popup at the top of my application in the control bar for people to pick the date. [snip] You can pretty much use it as a pop-up with PopUpManager. var popUp = PopUpManager.createPopUp(DateChooser, this, ...) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Split a single Flex application into parts
I'll be posting some stuff (probably to labs) to make all this much simpler, but basically the best way to do it at the moment is to roll some pure Actionscript classes to act as a loader, and to hook in to the deferred instantiation mechanism to pull the appropriate child SWF in late. The tricky bit is that building individual apps to load is too heavy, so you really need to do some crazy stuff with RSLs to minimize the number of overlapping classes. You probably don't want the loaded SWFs to even be full applications. Anyway, its feasible, just takes a bit of work. Stay tuned for some help down the road. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of superabe superabe Sent: Tuesday, February 07, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Split a single Flex application into parts Hi List, I have a potential use case where my top level Application consists of a ViewStack that might have around 10 children that are themselves composite components with multiple views It seems pretty certain that if I create one single Flex (Flex 1.5) application, I would most probably run into huge load times. What is a good way to approach splitting this up into component parts? All I can think of at the moment is to use a Loader for each child of the ViewStack and load the appropriate flex app on some event. Is there any other way to approach this ? TIA - superabe -- 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+developme ntw1=Web+site+design+developmentw2=Computer+software+develop mentw3=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+develop mentw1=Web+site+design+developmentw2=Computer+software+devel opmentw3=Software+design+and+developmentw4=Macromedia+flexw5 =Software+development+best+practicec=5s=166.sig=lvQjSRfQDfW udJSe1lLjHwSoftware design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+devel opmentw1=Web+site+design+developmentw2 =Computer+software+developmentw3=Software+design+and+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si te+design+developmentw2=Computer+software+developmentw3 =Software+design+and+developmentw4=Macromedia+flexw5=Softwar e+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+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5 s=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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Set Scroll Position
On 2/7/06, More García [EMAIL PROTECTED] wrote: Anyone know how can i do to set the vertical position of a tilelist´s scollbar to 0? I want to return the scrollbar to the top when user click a button. I have tried with resetScrollPositions(), vPosition=0, but it´s seems that dont works. vPosition=0 should always work, actually. If it doesn't, it's a bug. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Split a single Flex application into parts
Deferred instantiation, Loader like you said, or createChild/removeChild. - Original Message - From: superabe superabe To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 12:37 PM Subject: [flexcoders] Split a single Flex application into parts Hi List, I havea potential use case where my top level Application consists of a ViewStack that might have around 10 children that are themselves composite components with multiple views It seems prettycertain that if I create one single Flex (Flex 1.5)application, I would most probably run into huge load times. What is a good way to approach splitting this up into component parts? All I can think of at the moment is to use a Loader for each child of the ViewStack and load theappropriate flex appon some event. Is there any other way to approach this ? TIA- superabe -- 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: cellRenderer not recognizing click events for Custom Mxml Cell Renderer
I have traces at the beginning of my 'arrowClick' method which is linked to the click event of the button. When the mxml file is applied to the mx:DataGrid cellRenderer...I see all traces. However when I add the mxml file dynamically, I do not see the trace of my 'arrowClick' function. I'm creating my datagrid dynamically from a XML file (mx:model). It looks like this: columns column name=TRIP_STATUS headerText=Status width=58 cellRenderer=com.StatusPicker / column name=VEHICLE_NUM headerText=Veh width=40 editable=false / etc... /columns in which case I'd loop through the model and call: if(column.cellRenderer != undefined) { _dgc.cellRenderer = column.cellRenderer; } It renders the component, but the click event doesn't call the method. Are you using pure ActionScript classes as your cellRenderers or mxml files? I think I'm missing something when I just add the mxml file in the code below as if the children are not getting created correctly. Thanks again for your help. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Kevin, I am a bit confused. Do you have other traces in the application? Can you see them? Here is tracer that I use : http://ajaxmaker.com/xpanel We are using cellrenderers within dynamic datagrids (layout persisted in DB) all the time - no issues there - they do have mouseDown and click handlers. I personally would not name the method click as it is confusing to me but would call it arrowClick(). click event is not handled by the parent or propagated to the parent. Your control should define custom event and dispatch it to the listOwner so the parent can react on it. HTH, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 10:01 AM Subject: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer Hello all- I've spent the last day now trying to get a handle of the dispatched event from the cell renderer to the mxml file and I still cannot do it. I've tried several of the techniques in Chapter 16 of the Developing Rich Clients Flex book and still no luck. What boggles me is that the 'click' event w/i my cell renderer mxml file works when I use the cellRenderer attribute of the mx:Datagrid tag, but it doesn't work when I apply my mxml file to the .cellRenderer attribute of a dynamically created datagrid. Obviously something is getting lost b/w the parent object and my mxml file where the dispatched event does not get handled by the parent. I've tried all sorts of fixes using 'parent' to no luck. Does anyone know how this works? Thanks. --- In flexcoders@yahoogroups.com, Kevin Ewok suzylawson@ wrote: Flexcoders - I have a mxml file which is basically copy and paste from the TimePicker.mxml file. (except for my mxml file is just a label and a button). When the button is clicked, the value of the label is passed to the Cairngorm Controller. This works completely fine when I implement my mxml file within the mx:DataGrid cellRenderer=../ attribute. However, I also have the requirement to create datagrids dynamically. When I create my DataGridColumn and apply my mxml file to the 'cellRenderer' attribute, the component appears correctly, but when I click the button, the method linked to my click event in the button never occurs. I'm implementing the click method within my mxml file that renders the label and button and I can't figure out what I'm doing wrong with the way the child is created. Thanks in advance. var _dgc:DataGridColumn = new DataGridColumn(newColumn); _dgc.cellRenderer = com.StatusPicker; com.StatusPicker.mxml ?xml version=1.0 encoding=utf-8? mx:HBox xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ var btn : MovieClip; var listOwner : MovieClip; var getCellIndex : Function; var getDataLabel : Function; function click(){ trace(click occured); } function setValue(str:String, item:Object, selection:String):Void { status.text = item.STATUS; } ]] /mx:Script mx:Label id=status textAlign=center width=20/ mx:Button id=RightArrow icon=@Embed('/images/rightarrow.png') click=click()/ /mx:HBox -- 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 --
Re: [flexcoders] New Inline cell renderers
On 2/7/06, Jonathan Miranda [EMAIL PROTECTED] wrote: Well I'm closer but no cigar yet. I can get the dataProvider to update with the checkbox click, but each checkbox click requires 2 clicks! One to get focus in the box and one to actually change the checkbox… There are two ways to set an editor: (1) the editorClass property, and (2) the cellRenderer and isCellEditor properties. In the latter case, the cell renderer is also the cell editor (like your CheckBox). You don't have to use an inline cell renderer if all you need is a simple CheckBox. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* layout=vertical mx:Array id=array mx:Object Name=Item 1 Selected=false / mx:Object Name=Item 2 Selected=true / /mx:Array mx:DataGrid dataProvider={array} editable=true mx:columns mx:DataGridColumn columnName=Name / mx:DataGridColumn columnName=Selected cellRenderer=mx.controls.CheckBox isCellEditor=true editorProperty=selected / /mx:columns /mx:DataGrid /mx:Application and I can't figure out how to center the Checkbox now since it's not in an HBox anymore. Same example above with an inline cell renderer based on HBox: mx:cellRenderer mx:Component mx:HBox horizontalAlign=center mx:Boolean id=selected {checkBox.selected} /mx:Boolean mx:CheckBox id=checkBox selected={dataObject.Selected} / /mx:HBox /mx:Component /mx:cellRenderer -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Tree dataprovider refresh
I am trying to maintain the state of open nodes in a tree control after the dataprovider has changed. In a multilingual application tree data is stored in xml files, per language. When the user toggles the language a new xml file is loaded for the selected language, unfortunately the tree control collapses all the nodes. How can I maintain the current open/closed state of each node so that only the text changes and not the overall state of the tree. Thanks for any help. If you have an example, that would be great. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex 2.0 beta TextArea question
On 2/7/06, Jonas Windey [EMAIL PROTECTED] wrote: How would I set the scrollPosition of a textarea to it's maximum position? I'm trying to create an msn-like socket application, and need to have my textArea scrolled to the lowest position. I tried txtLog.vPosition = txtLog.maxVPosition; and txtLog.vPosition = txtLog.textField.height, but no luck. This seems to work for me in Beta 1. mx:TextArea id=textArea mx:text ![CDATA[ This is some text. And I love the way I can write code so quickly in Flex Builder 2.0! Woohoo!!! ]] /mx:text /mx:TextArea mx:Button click=textArea.vPosition = textArea.maxVPosition / -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Tree dataprovider refresh
Could you try perhaps setting a bindable prop for the labels? I assume youre done dataProvider.refresh() and its closes the nodes Or you could look into the XMLListCollection classes and do a notifyItemUpdate to the dataprovider if you are just changing a prop on the existing DP rather than the entire dp. Just throwing out wild ideas, but not sure if the actual implementation will work. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ghislain Simard Sent: Tuesday, February 07, 2006 1:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree dataprovider refresh I am trying to maintain the state of open nodes in a tree control after the dataprovider has changed. In a multilingual application tree data is stored in xml files, per language. When the user toggles the language a new xml file is loaded for the selected language, unfortunately the tree control collapses all the nodes. How can I maintain the current open/closed state of each node so that only the text changes and not the overall state of the tree. Thanks for any help. If you have an example, that would be great. -- 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] New Inline cell renderers
Awesome man, thanks - saved me an hour of banging my head on the table. I've no clue why your example and mine cause a different amount of clicks needed though. _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Tuesday, February 07, 2006 11:23 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] New Inline cell renderers On 2/7/06, Jonathan Miranda [EMAIL PROTECTED] wrote: Well I'm closer but no cigar yet. I can get the dataProvider to update with the checkbox click, but each checkbox click requires 2 clicks! One to get focus in the box and one to actually change the checkbox... There are two ways to set an editor: (1) the editorClass property, and (2) the cellRenderer and isCellEditor properties. In the latter case, the cell renderer is also the cell editor (like your CheckBox). You don't have to use an inline cell renderer if all you need is a simple CheckBox. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* layout=vertical mx:Array id=array mx:Object Name=Item 1 Selected=false / mx:Object Name=Item 2 Selected=true / /mx:Array mx:DataGrid dataProvider={array} editable=true mx:columns mx:DataGridColumn columnName=Name / mx:DataGridColumn columnName=Selected cellRenderer=mx.controls.CheckBox isCellEditor=true editorProperty=selected / /mx:columns /mx:DataGrid /mx:Application and I can't figure out how to center the Checkbox now since it's not in an HBox anymore. Same example above with an inline cell renderer based on HBox: mx:cellRenderer mx:Component mx:HBox horizontalAlign=center mx:Boolean id=selected {checkBox.selected} /mx:Boolean mx:CheckBox id=checkBox selected={dataObject.Selected} / /mx:HBox /mx:Component /mx:cellRenderer -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] pageTitle bu g?
It does create the HTML title tag. But the value is the file-name minus the extension. Sree - Original Message - From: Abdul Qabiz To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 7:12 PM Subject: Re: [flexcoders] pageTitle bu g? Ok, check out the html file it generates. Does it have title / tag in it with the expected value.I think, when you build it should ideally create html file with same title...If might be a known issue, still send your feedback. -abdul On 2/7/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Hmm ... I am not seeing anything. :-) Isnt it supposed to display the stringon the title bar of the browser? It doesnt :( Yes, I am using FlexBuilder 2.0 Sree - Original Message - From: Abdul Qabiz To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 10:51 AM Subject: Re: [flexcoders] pageTitle bu g? What is the unexpected thing, you are seeing?Are you using FlexBuilder 2?-abdul On 2/6/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Hmm ... looks like specifying the pageTitle on the Application tag does not have the expected result!--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 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 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] New Inline cell renderers
On 2/7/06, Jonathan Miranda [EMAIL PROTECTED] wrote: Awesome man, thanks - saved me an hour of banging my head on the table. I've no clue why your example and mine cause a different amount of clicks needed though. If you use editorClass, it needs two clicks - one for activating the cell editor and one for selecting the CheckBox. If you use cellRenderer and set isCellEditor to true, it needs only one click (because the cell editor and the cell renderer are one and the same, so there's no need for activation). -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] New Inline cell renderers
And as soon as I say that, I get another problem. Scrolling down the datagrid randomnly checks and unchecks the boxes. _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, February 07, 2006 11:51 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] New Inline cell renderers Awesome man, thanks - saved me an hour of banging my head on the table. I've no clue why your example and mine cause a different amount of clicks needed though. _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani Sent: Tuesday, February 07, 2006 11:23 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] New Inline cell renderers On 2/7/06, Jonathan Miranda [EMAIL PROTECTED] wrote: Well I'm closer but no cigar yet. I can get the dataProvider to update with the checkbox click, but each checkbox click requires 2 clicks! One to get focus in the box and one to actually change the checkbox... There are two ways to set an editor: (1) the editorClass property, and (2) the cellRenderer and isCellEditor properties. In the latter case, the cell renderer is also the cell editor (like your CheckBox). You don't have to use an inline cell renderer if all you need is a simple CheckBox. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* layout=vertical mx:Array id=array mx:Object Name=Item 1 Selected=false / mx:Object Name=Item 2 Selected=true / /mx:Array mx:DataGrid dataProvider={array} editable=true mx:columns mx:DataGridColumn columnName=Name / mx:DataGridColumn columnName=Selected cellRenderer=mx.controls.CheckBox isCellEditor=true editorProperty=selected / /mx:columns /mx:DataGrid /mx:Application and I can't figure out how to center the Checkbox now since it's not in an HBox anymore. Same example above with an inline cell renderer based on HBox: mx:cellRenderer mx:Component mx:HBox horizontalAlign=center mx:Boolean id=selected {checkBox.selected} /mx:Boolean mx:CheckBox id=checkBox selected={dataObject.Selected} / /mx:HBox /mx:Component /mx:cellRenderer -- 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] New Inline cell renderers
This may be right in theory, but not in practice. Try this out in the dataProvider is a field called compare that is always false. Everything takes 2 clicks. mx:DataGrid editable=true width=100% height=80% id=resultsDG dataProvider={searchService.result.hospitals.hospital} mx:columns mx:Array mx:DataGridColumn textAlign=center columnName=compare headerText=Compare width=75 isCellEditor=true editorProperty=selected mx:cellRenderer mx:Component mx:HBox horizontalAlign=center mx:Boolean id=selected {checkBox.selected} /mx:Boolean mx:CheckBox id=checkBox selected={dataObject.compare} / /mx:HBox /mx:Component /mx:cellRenderer /mx:DataGridColumn mx:DataGridColumn editable=false textAlign=center cellRenderer=nameRenderer columnName=name headerText=Hospital Name/ mx:DataGridColumn editable=false textAlign=center columnName=distance headerText=Distance width=100 id=distance/ mx:DataGridColumn editable=false textAlign=center cellRenderer=swfRenderer columnName=quality headerText=Quality width=100/ /mx:Array /mx:columns /mx:DataGrid _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani Sent: Tuesday, February 07, 2006 11:58 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] New Inline cell renderers On 2/7/06, Jonathan Miranda [EMAIL PROTECTED] wrote: Awesome man, thanks - saved me an hour of banging my head on the table. I've no clue why your example and mine cause a different amount of clicks needed though. If you use editorClass, it needs two clicks - one for activating the cell editor and one for selecting the CheckBox. If you use cellRenderer and set isCellEditor to true, it needs only one click (because the cell editor and the cell renderer are one and the same, so there's no need for activation). -- 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: Tree control in Flex 2 Beta 1
Michael,Thanks for your timely response. It does clear up a few things. My comment about the XML approach being more supported was an (admittedly) obscure reference to my own experiments with the ITreeDataDescriptor interface. It again goes back to visually updating the Tree. If the dataProvider is XML, I can edit the XML objects directly and the changes are reflected in the Tree. However, if the dataProvider is a nested Object (with children fields), how does the Tree get notified if the data is changed? Do we manually call the notifyItemUpdate() method? Anyway, below is a simple MXML file that demonstrates the bugs I saw with the Tree. It opens the root node on startup. Click Add to root to add a child to the root node. An empty row will show up. Click Add to child to try to add a child to Child2. It crashes my browser. ---?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* layout=absolute width=431 height=340 mx:Script ![CDATA[ private var rootNode: XML; private function init(): void {rootNode = mytree.dataProvider[0].children()[0];mytree.setIsOpen(rootNode, true); } private function addToRoot(): void {rootNode.appendChild(node label=Child3/); } private function addToChild(): void {var child2: XML = rootNode.children()[1];trace(child2.toXMLString()); //Sanity checkchild2.appendChild(node label=Child4/); } ]] /mx:Script mx:Tree id=mytree rootVisible=false x=10 y=10 width=296 height=192 labelField=@label creationComplete=init() mx:dataProvider mx:XML format=e4xnode label=Root node label=Child1/ node label=Child2/ /node /mx:XML /mx:dataProvider /mx:Tree mx:Button x=10 y=210 label=Add to root click=addToRoot() / mx:Button x=107 y=210 label=Add to child click=addToChild()//mx:Application -- 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: Tree control in Flex 2 Beta 1
Hari,Thanks for the code sample. It has given me a couple of ideas.Cheers! -- 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] New Inline cell renderers
Just wanted to say I didnt mean to come across as rude saying this may be right in theory. Sorry about that. _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda Sent: Tuesday, February 07, 2006 12:09 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] New Inline cell renderers This may be right in theory, but not in practice. Try this out in the dataProvider is a field called compare that is always false. Everything takes 2 clicks. -- 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: cellRenderer not recognizing click events for Custom Mxml Cell Renderer
I am using both mxml and AS - works in both. Try to use trace in setValue to verify if the trace output is sent. Also, I am not sure what you mean by saying that you add mxml dynamically - it is either referenced in the code statically with var _fake:com.StatusPicker=null; or has to be in RSL preloaded into the application. HTH, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 1:17 PM Subject: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer I have traces at the beginning of my 'arrowClick' method which islinked to the click event of the button. When the mxml file is appliedto the mx:DataGrid cellRenderer...I see all traces. However when I addthe mxml file dynamically, I do not see the trace of my 'arrowClick'function.I'm creating my datagrid dynamically from a XML file (mx:model). Itlooks like this:columns column name="TRIP_STATUS" headerText="Status" width="58"cellRenderer="com.StatusPicker" / column name="VEHICLE_NUM" headerText="Veh" width="40"editable="false" /etc.../columnsin which case I'd loop through the model and call:if(column.cellRenderer != undefined){ _dgc.cellRenderer = column.cellRenderer;}It renders the component, but the click event doesn't call the method.Are you using pure ActionScript classes as your cellRenderers or mxmlfiles? I think I'm missing something when I just add the mxml file inthe code below as if the children are not getting created correctly.Thanks again for your help. --- In flexcoders@yahoogroups.com, "Anatole Tartakovsky"[EMAIL PROTECTED] wrote: Kevin, I am a bit confused. Do you have other traces in theapplication? Can you see them? Here is tracer that I use :http://ajaxmaker.com/xpanel We are using cellrenderers within dynamic datagrids (layoutpersisted in DB) all the time - no issues there - they do havemouseDown and click handlers. I personally would not name the method"click" as it is confusing to me but would call it arrowClick(). click event is not handled by the parent or propagated to theparent. Your control should define custom event and dispatch it to thelistOwner so the parent can react on it. HTH, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 10:01 AM Subject: [flexcoders] Re: cellRenderer not recognizing clickevents for Custom Mxml Cell Renderer Hello all- I've spent the last day now trying to get a handle of the dispatched event from the cell renderer to the mxml file and I still cannot do it. I've tried several of the techniques in Chapter 16 of the "Developing Rich Clients" Flex book and still no luck. What boggles me is that the 'click' event w/i my cell renderer mxml file works when I use the "cellRenderer" attribute of the mx:Datagrid tag, but it doesn't work when I apply my mxml file to the .cellRenderer attribute of a dynamically created datagrid. Obviously something is getting lost b/w the parent object and my mxml file where the dispatched event does not get handled by the parent. I've tried all sorts of fixes using 'parent' to no luck. Does anyone know how this works? Thanks. --- In flexcoders@yahoogroups.com, "Kevin Ewok" suzylawson@ wrote: Flexcoders -I have a mxml file which is basically copy and paste from the TimePicker.mxml file. (except for my mxml file is just a label and a button). When the button is clicked, the value of the label ispassed to the Cairngorm Controller. This works completely fine when I implement my mxml file within the mx:DataGrid cellRenderer=".."/ attribute.However, I also have the requirement to create datagridsdynamically. When I create my DataGridColumn and apply my mxml file to the 'cellRenderer' attribute, the component appears correctly, butwhen I click the button, the method linked to my click event in the button never occurs. I'm implementing the "click" method within my mxml file that renders the label and button and I can't figure out what I'm doing wrongwith the way the child is created. Thanks in advance. var _dgc:DataGridColumn = new DataGridColumn("newColumn"); _dgc.cellRenderer = "com.StatusPicker"; com.StatusPicker.mxml ?xml version="1.0" encoding="utf-8"? mx:HBox xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Script ![CDATA[ var btn : MovieClip; var listOwner : MovieClip; var getCellIndex : Function; var getDataLabel : Function; function click(){ trace("click occured"); } function setValue(str:String, item:Object, selection:String):Void { status.text = item.STATUS; } ]] /mx:Script mx:Label id="status" textAlign="center"
[flexcoders] Solved: Can not find named service
There was an old flash mx gateway jar being picked up in the build process. Eek From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stacy Young Sent: Tuesday, February 07, 2006 12:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can not find named service Just started a new project, app server is Weblogic and application is deployed as an EAR. Trying to get a simple remote call working and I'm getting an exception: No service named serviceSystem is known to Flash 1. Named service is configured in flex-config.xml 2. The class it points to exists named object name=serviceSystem use-custom-authenticationfalse/use-custom-authentication sourcecom.sfcommerce.chargeback.client.SystemServiceClient/source typestateless-class/type allow-unnamed-accessfalse/allow-unnamed-access /object /named I'm stumped. It has to be something simple but the exception details are vague at best...Appreciate any ideas on additional areas to check! -- 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] Bug with Tree disclosure icon
It worked fine in the Alpha, but with Beta 1, setting a Tree's disclosure icon makes the icon unresponsive to mouse clicks. My example:mx:Tree width=294 height=262 disclosureClosedIcon=@Embed('blue_icon.png') /mx:TreeNow when you click on the disclosure icon, the node does not expand. My icon is a simple 13x13 png that's filled with all blue. -- 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/Coldfusion connectivity test app
Since some people seems to have issues to use the Flex/ColdFusion connectivity, here is a sample app to test your connectivity. ColdFusion / Server side Save the following value object CFC in {wwwroot}/com/mycompany/myapp/model/TestVO.cfc cfcomponent cfproperty name=someString type=String / cfproperty name=someNumber type=Numeric / cffunction name=init returntype=com.mycompany.myapp.model.TestVO cfscript this.someString = test; this.someNumber = 0; /cfscript cfreturn this / /cffunction /cfcomponent Save the following remote service CFC in {wwwroot}/com/mycompany/myapp/service/TestService.cfc cfcomponent cffunction name=getArray access=remote returntype=Array cfscript var data = arrayNew(1); arrayAppend(data, createObject(component, com.mycompany.myapp.model.TestVO).init()); arrayAppend(data, createObject(component, com.mycompany.myapp.model.TestVO).init()); /cfscript cfreturn data / /cffunction cffunction name=getStruct access=remote returntype=Struct cfscript var data = structNew(); data.firstData = createObject(component, com.mycompany.myapp.model.TestVO).init(); data.secondData = createObject(component, com.mycompany.myapp.model.TestVO).init(); /cfscript cfreturn data / /cffunction cffunction name=receiveAndReturnVO access=remote returntype=com.mycompany.myapp.model.TestVO cfargument name=vo type=com.mycompany.myapp.model.TestVO cfreturn arguments.vo /cffunction /cfcomponent -- Flex / Client side -- Save the following value object in {some test project}/com/mycompany/myapp/model/TestVO.as package com.mycompany.myapp.model { [Bindable] [RemoteClass(alias=com.mycompany.myapp.model.TestVO)] public class TestVO { public var someString:String; public var someNumber:int; public function TestVO() { someString = ; someNumber = 0; } } } Save the following test application in Flex Builder 2 {some test project}/TestConnectivity.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:RemoteObject id=testService destination=ColdFusion result=onResult(event) source=com.mycompany.myapp.service.TestService / mx:Script ![CDATA[ import com.mycompany.myapp.model.TestVO; import mx.controls.Alert; import mx.rpc.events.ResultEvent; import mx.utils.ObjectUtil; private function onResult(event:ResultEvent){ Alert.show(ObjectUtil.toString(event.result)); } ]] /mx:Script mx:Button label=getArray click=testService.getArray() / mx:Button label=getStruct click=testService.getStruct() / !-- BUGS : display (null) value instead of objects, but objects are correctly returned... -- mx:Button label=receiveAndReturnVO click=testService.receiveAndReturnVO(new TestVO()) / /mx:Application Compile and run TestConnectivity.mxml (do not forget to set the compile argument to take into account your flex/coldfusion service definition, flex-enterprise-services.xml) It should work, if your ColdFusion server is correctly configured with the Flex/ColdFusion connectivity add-on. You can also check the adapter logs in {CFusionMX7}/runtime/logs/coldfusion-out.log, very nice to see if the typed objects are correctly received or sent by the ColdFusion adapter. BUGS We have faced several bugs with the Flex/ColdFusion connectivity. 1. In the above sample app, getStruct() display (null) object in the Flex app, but objects are correctly returned... Strange. 2. Sometimes, the AS - CFC does not map the full type correctly. Example : the CFC might receive TestVO instead of com.mycompany.myapp.model.TestVO, so the CFC argument type validation will fail and you will get an error... The current workaround is to remove typed object validation in remote service CFCs. 3. You might have to add UPPERCASE setter functions for CFC - AS translation to work correctly. We don't know yet when it is necessary... But sometimes it does! Example in TestVO.as : public function set SOMESTRING(value:String):void { this.someString = value; } public function set SOMENUMBER(someNumber:int):void { this.someNumber = someNumber; } --- COLDFUSION WITH CAIRNGORM 2 --- In order to
RE: [flexcoders] Flex/Coldfusion connectivity test app
This sample app also shows how CFC/AS3 VO mappings (or remote class alias) works. Have fun! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit Hediard Envoyé : mardi 7 février 2006 20:37 À : flexcoders@yahoogroups.com Objet : [flexcoders] Flex/Coldfusion connectivity test app Since some people seems to have issues to use the Flex/ColdFusion connectivity, here is a sample app to test your connectivity. ColdFusion / Server side Save the following value object CFC in {wwwroot}/com/mycompany/myapp/model/TestVO.cfc cfcomponent cfproperty name=someString type=String / cfproperty name=someNumber type=Numeric / cffunction name=init returntype=com.mycompany.myapp.model.TestVO cfscript this.someString = test; this.someNumber = 0; /cfscript cfreturn this / /cffunction /cfcomponent Save the following remote service CFC in {wwwroot}/com/mycompany/myapp/service/TestService.cfc cfcomponent cffunction name=getArray access=remote returntype=Array cfscript var data = arrayNew(1); arrayAppend(data, createObject(component, com.mycompany.myapp.model.TestVO).init()); arrayAppend(data, createObject(component, com.mycompany.myapp.model.TestVO).init()); /cfscript cfreturn data / /cffunction cffunction name=getStruct access=remote returntype=Struct cfscript var data = structNew(); data.firstData = createObject(component, com.mycompany.myapp.model.TestVO).init(); data.secondData = createObject(component, com.mycompany.myapp.model.TestVO).init(); /cfscript cfreturn data / /cffunction cffunction name=receiveAndReturnVO access=remote returntype=com.mycompany.myapp.model.TestVO cfargument name=vo type=com.mycompany.myapp.model.TestVO cfreturn arguments.vo /cffunction /cfcomponent -- Flex / Client side -- Save the following value object in {some test project}/com/mycompany/myapp/model/TestVO.as package com.mycompany.myapp.model { [Bindable] [RemoteClass(alias=com.mycompany.myapp.model.TestVO)] public class TestVO { public var someString:String; public var someNumber:int; public function TestVO() { someString = ; someNumber = 0; } } } Save the following test application in Flex Builder 2 {some test project}/TestConnectivity.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:RemoteObject id=testService destination=ColdFusion result=onResult(event) source=com.mycompany.myapp.service.TestService / mx:Script ![CDATA[ import com.mycompany.myapp.model.TestVO; import mx.controls.Alert; import mx.rpc.events.ResultEvent; import mx.utils.ObjectUtil; private function onResult(event:ResultEvent){ Alert.show(ObjectUtil.toString(event.result)); } ]] /mx:Script mx:Button label=getArray click=testService.getArray() / mx:Button label=getStruct click=testService.getStruct() / !-- BUGS : display (null) value instead of objects, but objects are correctly returned... -- mx:Button label=receiveAndReturnVO click=testService.receiveAndReturnVO(new TestVO()) / /mx:Application Compile and run TestConnectivity.mxml (do not forget to set the compile argument to take into account your flex/coldfusion service definition, flex-enterprise-services.xml) It should work, if your ColdFusion server is correctly configured with the Flex/ColdFusion connectivity add-on. You can also check the adapter logs in {CFusionMX7}/runtime/logs/coldfusion-out.log, very nice to see if the typed objects are correctly received or sent by the ColdFusion adapter. BUGS We have faced several bugs with the Flex/ColdFusion connectivity. 1. In the above sample app, getStruct() display (null) object in the Flex app, but objects are correctly returned... Strange. 2. Sometimes, the AS - CFC does not map the full type correctly. Example : the CFC might receive TestVO instead of com.mycompany.myapp.model.TestVO, so the CFC argument type validation will fail and you will get an error... The current workaround is to remove typed object validation in remote service CFCs. 3. You might have to add UPPERCASE setter functions for CFC - AS translation to work correctly. We don't know yet when it is necessary... But sometimes it does! Example in
[flexcoders] how to improve performance when calling a Java remoteobject?
We are doing some searches using a RemoteObject and displaying the result on a grid. We noticed that when getting more than 2000 records aprox, it was taking some time( between 10 and 15 seconds) before they were displayed . At the beginning we thought that it was the Grid which was slowing down the process. We thought that because after making the call the busy cursor ( clock) would stop, but would not go away for another 10-15 seconds, when we finally were able to see the results in the Grid. However, we made another test. We simply made the call to the RemoteObject and did not bind it to any component. We found that the 10-15 seconds were still there, so we are wondering what exactly Flex is doing that is taking that time. We also debugged our backend at we saw that the busy cursor stops exactly when the server sends back the results to the client. So what is happening in between? Is this something related to serialization? Our RemoteOject returns a VO, but we are only interested in one of the attributes that holds an Array. So we do something like this... var myDataProvider:Array = new Array(); Onresult ( result ) { myDataProvider = result.myArrayAttribute; } myDatagrid.dataProvider ={myDataProvider} Any ideas on how we can improve performance? Thanks --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] AS2: is it Pass By Reference?
Does anyone know? From what Ive seen, it seems not, but am I wrong? -- 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] Split a single Flex application into parts
Thanks Roger. That would be really helpful. This is something I was quitefamiliar withwhile architecting pure Flash based RIA's but has been somewhat of mystery when it came to Flex. The stuff you will be posting to labs, would that apply to Flex1.5 as well? Also (not putting pressure at all..) any rough guesstimate as to when this would be up TIA - superabe On 2/7/06, Roger Gonzalez [EMAIL PROTECTED] wrote: I'll be posting some stuff (probably to labs) to make all this muchsimpler, but basically the best way to do it at the moment is to roll some pure Actionscript classes to act as a loader, and to hook in to thedeferred instantiation mechanism to pull the appropriate child SWF inlate.The tricky bit is that building individual apps to load is too heavy, so you really need to do some crazy stuff with RSLs to minimizethe number of overlapping classes.You probably don't want the loadedSWFs to even be full applications.Anyway, its feasible, just takes a bit of work.Stay tuned for some help down the road.-rg -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of superabe superabe Sent: Tuesday, February 07, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Split a single Flex application into parts Hi List, I have a potential use case where my top level Application consists of a ViewStack that might have around 10 children that are themselves composite components with multiple views It seems pretty certain that if I create one single Flex (Flex 1.5) application, I would most probably run into huge load times. What is a good way to approach splitting this up into component parts? All I can think of at the moment is to use a Loader for each child of the ViewStack and load the appropriate flex app on some event. Is there any other way to approach this ? TIA - superabe -- 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+developme ntw1=Web+site+design+developmentw2=Computer+software+develop mentw3=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+develop mentw1=Web+site+design+developmentw2=Computer+software+devel opmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwSoftware design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developm entw4=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=Softwar e+development+best+practicec=5s=166.sig=OO6nPIrz7 _EpZI36cYzBjwSoftware 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=5 s=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]?subject=Unsubscribe *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.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To
[flexcoders] Horizontal DataGrids
There any easy way to make a datagrid with headers on the left and data being listed in columns and not rows? _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. -- 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] datagrid.selectedIndex not correct in cellPress - flex2
On 2/7/06, bhaq1972 [EMAIL PROTECTED] wrote: Following from my previous post about datagrid cellpress event. i'm checking the selectedIndex property. the rowIndex is correct but the selectedIndex is incorrect. its always my previous rowIndex Yes, because the selectedIndex property is updated only after cellPress event. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Horizontal DataGrids
public function horizontalDataGrid() { if (1.5) { refer to http://www.richinternetapps.com/archives/000101.html } else { refer to property columnCount and set it to 1 } use cellRenderer to give the header look'n'feel for the first column } } Sree - Original Message - From: Jonathan Miranda To: flexcoders@yahoogroups.com Sent: Wednesday, February 08, 2006 2:18 AM Subject: [flexcoders] Horizontal DataGrids There any easy way to make a datagrid with headers on the left and data being listed in columns and not rows? _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." -- 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] AS2: is it Pass By Reference?
Primitives are pass by val, whereas all complex types are pass by ref. String Number == pass by val Date, Array, Object, etc. == pass by ref When in doubt, assume by ref. - Original Message - From: Sauro, Nick To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 3:06 PM Subject: [flexcoders] AS2: is it Pass By Reference? Does anyone know? >From what Ive seen, it seems not, but am I wrong? -- 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: cellRenderer not recognizing click events for Custom Mxml Cell Renderer
Anatole- Thanks for your response. I have traces in both my 'setValue() and 'arrowClick' methods. I see the trace statements for both the setValue(...) and arrowClick(event) methods when the com.StatusPicker cellRenderer is applied to the mx:Datagrid mxml tag. However, for the dynamic datagrid, I only see the trace statements for the setValue() method and no traces occur when I click the arrow. arrgh. so frustrating. The fact that it renders it correctly is the most frustrating part...why the click event that is dispatched doesn't get picked up makes me curious to know what Macromedia's code does when applying a cellRenderer b/c obviously I'm missing that in my mxml file. Is there an example mxml file that does work with dynamic datagrids I can try to plugin? I guess a last resort option is to write the entire cell renderer in an Actionscript class but that I fear woul dlead to more problems (and Actionscript forums) for me! Cheers. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: I am using both mxml and AS - works in both. Try to use trace in setValue to verify if the trace output is sent. Also, I am not sure what you mean by saying that you add mxml dynamically - it is either referenced in the code statically with var _fake:com.StatusPicker=null; or has to be in RSL preloaded into the application. HTH, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 1:17 PM Subject: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer I have traces at the beginning of my 'arrowClick' method which is linked to the click event of the button. When the mxml file is applied to the mx:DataGrid cellRenderer...I see all traces. However when I add the mxml file dynamically, I do not see the trace of my 'arrowClick' function. I'm creating my datagrid dynamically from a XML file (mx:model). It looks like this: columns column name=TRIP_STATUS headerText=Status width=58 cellRenderer=com.StatusPicker / column name=VEHICLE_NUM headerText=Veh width=40 editable=false / etc... /columns in which case I'd loop through the model and call: if(column.cellRenderer != undefined) { _dgc.cellRenderer = column.cellRenderer; } It renders the component, but the click event doesn't call the method. Are you using pure ActionScript classes as your cellRenderers or mxml files? I think I'm missing something when I just add the mxml file in the code below as if the children are not getting created correctly. Thanks again for your help. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky anatolet@ wrote: Kevin, I am a bit confused. Do you have other traces in the application? Can you see them? Here is tracer that I use : http://ajaxmaker.com/xpanel We are using cellrenderers within dynamic datagrids (layout persisted in DB) all the time - no issues there - they do have mouseDown and click handlers. I personally would not name the method click as it is confusing to me but would call it arrowClick(). click event is not handled by the parent or propagated to the parent. Your control should define custom event and dispatch it to the listOwner so the parent can react on it. HTH, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 10:01 AM Subject: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer Hello all- I've spent the last day now trying to get a handle of the dispatched event from the cell renderer to the mxml file and I still cannot do it. I've tried several of the techniques in Chapter 16 of the Developing Rich Clients Flex book and still no luck. What boggles me is that the 'click' event w/i my cell renderer mxml file works when I use the cellRenderer attribute of the mx:Datagrid tag, but it doesn't work when I apply my mxml file to the .cellRenderer attribute of a dynamically created datagrid. Obviously something is getting lost b/w the parent object and my mxml file where the dispatched event does not get handled by the parent. I've tried all sorts of fixes using 'parent' to no luck. Does anyone know how this works? Thanks. --- In flexcoders@yahoogroups.com, Kevin Ewok suzylawson@ wrote: Flexcoders - I have a mxml file which is basically copy and paste from the TimePicker.mxml file. (except for my mxml file is just a label and a button). When the button is clicked, the value of the label is passed to the Cairngorm Controller. This works completely fine when I implement my mxml file within the
[flexcoders] Re: how to improve performance when calling a Java remoteobject?
Oscar, hi I don't think that you can improve RemoteObject performance. I had a similar problem and I ended up paginating the data. i.e. return the following object { items:Array; hasMoreRecords:Boolean; } Hopefully this helps --- Dmitry --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: We are doing some searches using a RemoteObject and displaying the result on a grid. We noticed that when getting more than 2000 records aprox, it was taking some time( between 10 and 15 seconds) before they were displayed . At the beginning we thought that it was the Grid which was slowing down the process. We thought that because after making the call the busy cursor ( clock) would stop, but would not go away for another 10-15 seconds, when we finally were able to see the results in the Grid. However, we made another test. We simply made the call to the RemoteObject and did not bind it to any component. We found that the 10-15 seconds were still there, so we are wondering what exactly Flex is doing that is taking that time. We also debugged our backend at we saw that the busy cursor stops exactly when the server sends back the results to the client. So what is happening in between? Is this something related to serialization? Our RemoteOject returns a VO, but we are only interested in one of the attributes that holds an Array. So we do something like this... var myDataProvider:Array = new Array(); Onresult ( result ) { myDataProvider = result.myArrayAttribute; } myDatagrid.dataProvider ={myDataProvider} Any ideas on how we can improve performance? Thanks --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Split a single Flex application into parts
Nope, just 2.0. For 1.5, all you could really do was to share common classes in RSLs between the application and loaded mini-apps. See my RSL article on devnet for details. http://www.macromedia.com/devnet/flex/articles/rsl.html No real estimates of timing. Everything is actually already in 2.0 that is necessary to do dynamically loaded modules cleanly, so if you're impatient... :-) -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of superabe superabe Sent: Tuesday, February 07, 2006 10:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Split a single Flex application into parts Thanks Roger. That would be really helpful. This is something I was quite familiar with while architecting pure Flash based RIA's but has been somewhat of mystery when it came to Flex. The stuff you will be posting to labs, would that apply to Flex1.5 as well? Also (not putting pressure at all..) any rough guesstimate as to when this would be up TIA - superabe On 2/7/06, Roger Gonzalez [EMAIL PROTECTED] wrote: I'll be posting some stuff (probably to labs) to make all this much simpler, but basically the best way to do it at the moment is to roll some pure Actionscript classes to act as a loader, and to hook in to the deferred instantiation mechanism to pull the appropriate child SWF in late. The tricky bit is that building individual apps to load is too heavy, so you really need to do some crazy stuff with RSLs to minimize the number of overlapping classes. You probably don't want the loaded SWFs to even be full applications. Anyway, its feasible, just takes a bit of work. Stay tuned for some help down the road. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of superabe superabe Sent: Tuesday, February 07, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Split a single Flex application into parts Hi List, I have a potential use case where my top level Application consists of a ViewStack that might have around 10 children that are themselves composite components with multiple views It seems pretty certain that if I create one single Flex (Flex 1.5) application, I would most probably run into huge load times. What is a good way to approach splitting this up into component parts? All I can think of at the moment is to use a Loader for each child of the ViewStack and load the appropriate flex app on some event. Is there any other way to approach this ? TIA - superabe -- 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+developme ntw1=Web+site+design+developmentw2=Computer+software+develop mentw3=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+develop mentw1=Web+site+design+developmentw2=Computer+software+devel opmentw3=Software+design+and+developmentw4=Macromedia+flexw5 =Software+development+best+practicec=5s=166.sig=lvQjSRfQDfW udJSe1lLjHwSoftware design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+devel opmentw1=Web+site+design+developmentw2 =Computer+software+developmentw3=Software+design+and+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si te+design+developmentw2=Computer+software+developmentw3 =Software+design+and+developmentw4=Macromedia+flexw5=Softwar e+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+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=f89quyyulIDsnABLD6IXIw
Re: [flexcoders] AS2: is it Pass By Reference?
Hi, Technically all values are passed by value. However, objects and array values are references. So when you pass an object or array the reference value is copied into the local variable. Yours truly, -Brian JesterXL wrote: Primitives are pass by val, whereas all complex types are pass by ref. String Number == pass by val Date, Array, Object, etc. == pass by ref When in doubt, assume by ref. - Original Message - From: Sauro, Nick To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 3:06 PM Subject: [flexcoders] AS2: is it Pass By Reference? Does anyone know? From what I've seen, it seems not, but am I wrong? -- 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 a.. Visit your group flexcoders on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- __ Brian Lesser Assistant Director, Teaching and Technology Support Computing and Communications Services Ryerson University 350 Victoria St. Toronto, Ontario Phone: (416) 979-5000 ext. 6835 M5B 2K3Fax: (416) 979-5220 Office: AB48D E-mail: [EMAIL PROTECTED] (Enter through LB66) Web: http://www.ryerson.ca/~blesser __ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: how to improve performance when calling a Java remoteobject?
I guess we are confused because the Onresult should only run when results are available. We added a timer to see when they are available, and they are in the first 2 or 3 seconds of the 10-15 that it actually takes to see the clock go away. If we ask for the length of the result, it is actually available in those 2-3 first seconds after the clock stops. However, any other process seems to go to a queue that runs after the 10-15 seconds, including using the results. Thanks, |-+- | | | | | Dmitry Miller| | | [EMAIL PROTECTED] | | | Sent by: | | | flexcoders@yahoogroups.com | | | 02/07/2006 04:31 PM| | | Please respond to | | | flexcoders | | | | |-+- -| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: [flexcoders] Re: how to improve performance when calling a Java remoteobject?| -| Oscar, hi I don't think that you can improve RemoteObject performance. I had a similar problem and I ended up paginating the data. i.e. return the following object { items:Array; hasMoreRecords:Boolean; } Hopefully this helps --- Dmitry --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: We are doing some searches using a RemoteObject and displaying the result on a grid. We noticed that when getting more than 2000 records aprox, it was taking some time( between 10 and 15 seconds) before they were displayed . At the beginning we thought that it was the Grid which was slowing down the process. We thought that because after making the call the busy cursor ( clock) would stop, but would not go away for another 10-15 seconds, when we finally were able to see the results in the Grid. However, we made another test. We simply made the call to the RemoteObject and did not bind it to any component. We found that the 10-15 seconds were still there, so we are wondering what exactly Flex is doing that is taking that time. We also debugged our backend at we saw that the busy cursor stops exactly when the server sends back the results to the client. So what is happening in between? Is this something related to serialization? Our RemoteOject returns a VO, but we are only interested in one of the attributes that holds an Array. So we do something like this... var myDataProvider:Array = new Array(); Onresult ( result ) { myDataProvider = result.myArrayAttribute; } myDatagrid.dataProvider ={myDataProvider} Any ideas on how we can improve performance? Thanks --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- 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 --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search
Re: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer
Simplest way to pinpoint the problem is to keep generated files and review generated code. You can change the code in click="" to click="mx.utils.Delegate.create(this, click)" if you think that it fails context recognition. In most cases we would just delegate processing to container with click="listOwner.dispatchEvent({type:'arrowClicked',...}) I will try to publishdynamic datagrid demo on one of our external servers this week. Thank you, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 4:04 PM Subject: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer Anatole- Thanks for your response. I have traces in both my 'setValue() and'arrowClick' methods. I see the trace statements for both thesetValue(...) and arrowClick(event) methods when the com.StatusPickercellRenderer is applied to the mx:Datagrid mxml tag. However, for thedynamic datagrid, I only see the trace statements for the setValue()method and no traces occur when I click the arrow. arrgh. sofrustrating. The fact that it renders it correctly is the mostfrustrating part...why the click event that is dispatched doesn't getpicked up makes me curious to know what Macromedia's code does whenapplying a cellRenderer b/c obviously I'm missing that in my mxml file. Is there an example mxml file that does work with dynamic datagrids Ican try to plugin? I guess a last resort option is to write the entirecell renderer in an Actionscript class but that I fear woul dlead tomore problems (and Actionscript forums) for me! Cheers.--- In flexcoders@yahoogroups.com, "Anatole Tartakovsky"[EMAIL PROTECTED] wrote: I am using both mxml and AS - works in both. Try to use trace insetValue to verify if the trace output is sent. Also, I am not surewhat you mean by saying that you add mxml dynamically - it is eitherreferenced in the code statically with var_fake:com.StatusPicker=null; or has to be in RSL preloaded into theapplication. HTH, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 1:17 PM Subject: [flexcoders] Re: cellRenderer not recognizing clickevents for Custom Mxml Cell Renderer I have traces at the beginning of my 'arrowClick' method which is linked to the click event of the button. When the mxml file is applied to the mx:DataGrid cellRenderer...I see all traces. However when I add the mxml file dynamically, I do not see the trace of my 'arrowClick' function. I'm creating my datagrid dynamically from a XML file (mx:model). It looks like this: columns column name="TRIP_STATUS" headerText="Status" width="58" cellRenderer="com.StatusPicker" / column name="VEHICLE_NUM" headerText="Veh" width="40" editable="false" / etc... /columns in which case I'd loop through the model and call: if(column.cellRenderer != undefined) { _dgc.cellRenderer = column.cellRenderer; } It renders the component, but the click event doesn't call the method. Are you using pure ActionScript classes as your cellRenderers or mxml files? I think I'm missing something when I just add the mxml file in the code below as if the children are not getting created correctly. Thanks again for your help. --- In flexcoders@yahoogroups.com, "Anatole Tartakovsky" anatolet@ wrote: Kevin, I am a bit confused. Do you have other traces in the application? Can you see them? Here is tracer that I use : http://ajaxmaker.com/xpanel We are using cellrenderers within dynamic datagrids (layout persisted in DB) all the time - no issues there - they do have mouseDown and click handlers. I personally would not name the method "click" as it is confusing to me but would call it arrowClick(). click event is not handled by the parent or propagated to the parent. Your control should define custom event and dispatch it to the listOwner so the parent can react on it. HTH, Anatole - Original Message - From: Kevin Ewok To: flexcoders@yahoogroups.com Sent: Tuesday, February 07, 2006 10:01 AM Subject: [flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer Hello all- I've spent the last day now trying to get a handle of thedispatched event from the cell renderer to the mxml file and I stillcannot do it. I've tried several of the techniques in Chapter 16 of the "Developing Rich Clients" Flex book and still no luck. What boggles me is that the 'click' event w/i my cell renderermxml file works when I use the "cellRenderer" attribute of themx:Datagrid tag, but it doesn't work when I apply my mxml file to the .cellRenderer attribute of a dynamically created datagrid.Obviously something is
RE: [flexcoders] Does Cairngorm work at all with the new flex2 coldfusion adapter.
Yes, it works, but first of all, you need to test your Flex/ColdFusion connectivity (without Cairngorm). See the message I just sent few minutes ago, with a sample app. Then, to use your service CFCs in a cairngorm application, you just need to add the RemoteObject definition in your ServiceLocator definition file. Good luck! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de sufibaba Envoyé : mardi 7 février 2006 18:36 À : flexcoders@yahoogroups.com Objet : [flexcoders] Does Cairngorm work at all with the new flex2 coldfusion adapter. Hi, We've posted a few questions about cairngorm alpha and coldfusion and so far no replies. ( no replies, as we have learned from our past experiences with cairngorm means that there might be problems... however, it could also be that everyone is so busy) Does anyone have experience with Cairngorm alpha with coldfusion - flex2 beta adapter. Please provide a small example of how to setup cairngorm alpha with coldfusion. Perhaps someone from the cairngorm team can reply to this question because it will help for the early adoption of Cairngorm as opposed to ARP3 as an architecture platform. Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Tree dataprovider refresh
I think this was what Stacey was saying, but can you just update the label property of the objects in the dp instead of the object its self? If nothing else works naturally, you could walk the list of tree items to find out which ones are open. You could have two trees that you swap whenever the language is changed, and do a loop that calls getIsOpen on each node, and then sets the state of the coresponding node in tree 2 by calling setIsOpen. Then swaps the display. If the user changes the lang again, swap back after the loop again (swapping tree1 for tree2, etc). Or you could avoid the two trees by storing it in an array, change DP, set values from array. But all of this is a bit of overkill. This is just kind of fun now :) loop { tree2.setIsOpen(tree2.getTreeNodeAt(i), tree1.getIsOpen (tree1.getTreeNodeAt(i)), true, true); } Kind of a last resort, but might work (I didnt test the syntax, btw) Karl Johnson Cynergy Systems http://www.cynergysystems.com --- In flexcoders@yahoogroups.com, Stacey Mulcahy [EMAIL PROTECTED] wrote: Could you try perhaps setting a bindable prop for the labels? I assume you're done dataProvider.refresh() and its closes the nodes. Or you could look into the XMLListCollection classes and do a notifyItemUpdate to the dataprovider if you are just changing a prop on the existing DP rather than the entire dp. Just throwing out wild ideas, but not sure if the actual implementation will work. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard Sent: Tuesday, February 07, 2006 1:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree dataprovider refresh I am trying to maintain the state of open nodes in a tree control after the dataprovider has changed. In a multilingual application tree data is stored in xml files, per language. When the user toggles the language a new xml file is loaded for the selected language, unfortunately the tree control collapses all the nodes. How can I maintain the current open/closed state of each node so that only the text changes and not the overall state of the tree. Thanks for any help. If you have an example, that would be great. -- 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 http://groups.yahoo.com/gads? t=msk=Web+site+design+developmentw1=Web+site +design+developmentw2=Computer+software+developmentw3=Software+desi gn+and+ developmentw4=Macromedia+flexw5=Software+development+best+practice c=5s=1 66.sig=L-4QTvxB_quFDtMyhrQaHQ site design development Computer http://groups.yahoo.com/gads? t=msk=Computer+software+developmentw1=Web+si te+design+developmentw2=Computer+software+developmentw3=Software+de sign+an d+developmentw4=Macromedia+flexw5=Software+development+best+practic ec=5s =166.sig=lvQjSRfQDfWudJSe1lLjHw software development Software 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+pract icec=5 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ design and development Macromedia http://groups.yahoo.com/gads? t=msk=Macromedia+flexw1=Web+site+design+deve lopmentw2=Computer+software+developmentw3=Software+design+and+devel opment w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s ig=OO6n PIrz7_EpZI36cYzBjw flex Software http://groups.yahoo.com/gads? t=msk=Software+development+best+practicew1=W eb+site+design+developmentw2=Computer+software+developmentw3=Softwa re+desi gn+and+developmentw4=Macromedia+flexw5=Software+development+best+pr actice c=5s=166.sig=f89quyyulIDsnABLD6IXIw development best practice _ 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] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ 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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex/Coldfusion connectivity test app
Thanks for the excellent reply. You saved the day. We do have CF working with Flex. There's also the Phones example on the Adobe Labs site that shows this connectivity. All of this is working fine. The challenge we were having was with the new version of Cairngorm. We have been using ARP for a flash application that is to be migrated to flex2 and we need to get a bit of advice from the creator of Cairngorm -- who is now Adobe, to suggest a best practice example that shows how coldfusion is the perfect mate for flex2. The login example that was given is a bit too simplified and also did not include how coldfusion. If Adobe wants to sell coldfusion with flex, then it would be beneficial to demonstrate via examples how things could work together. Anyhow, aside from our wish list to Adobe, Merci Beaucoup for your excellent tutorial and sharing your experiences, especially the bugs. BTW, are you using Cairngorm2 yet? or what type of architecture are you using. P.S. I used your Benorama architecture for a project and was very happy with it. What are your thoughts on Cairngorm and the upcomming ARP3 for flex2. Cheers, Tim --- In flexcoders@yahoogroups.com, Benoit Hediard [EMAIL PROTECTED] wrote: This sample app also shows how CFC/AS3 VO mappings (or remote class alias) works. Have fun! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit Hediard Envoyé : mardi 7 février 2006 20:37 À : flexcoders@yahoogroups.com Objet : [flexcoders] Flex/Coldfusion connectivity test app Since some people seems to have issues to use the Flex/ColdFusion connectivity, here is a sample app to test your connectivity. ColdFusion / Server side Save the following value object CFC in {wwwroot}/com/mycompany/myapp/model/TestVO.cfc cfcomponent cfproperty name=someString type=String / cfproperty name=someNumber type=Numeric / cffunction name=init returntype=com.mycompany.myapp.model.TestVO cfscript this.someString = test; this.someNumber = 0; /cfscript cfreturn this / /cffunction /cfcomponent Save the following remote service CFC in {wwwroot}/com/mycompany/myapp/service/TestService.cfc cfcomponent cffunction name=getArray access=remote returntype=Array cfscript var data = arrayNew(1); arrayAppend(data, createObject(component, com.mycompany.myapp.model.TestVO).init()); arrayAppend(data, createObject(component, com.mycompany.myapp.model.TestVO).init()); /cfscript cfreturn data / /cffunction cffunction name=getStruct access=remote returntype=Struct cfscript var data = structNew(); data.firstData = createObject(component, com.mycompany.myapp.model.TestVO).init(); data.secondData = createObject(component, com.mycompany.myapp.model.TestVO).init(); /cfscript cfreturn data / /cffunction cffunction name=receiveAndReturnVO access=remote returntype=com.mycompany.myapp.model.TestVO cfargument name=vo type=com.mycompany.myapp.model.TestVO cfreturn arguments.vo /cffunction /cfcomponent -- Flex / Client side -- Save the following value object in {some test project}/com/mycompany/myapp/model/TestVO.as package com.mycompany.myapp.model { [Bindable] [RemoteClass(alias=com.mycompany.myapp.model.TestVO)] public class TestVO { public var someString:String; public var someNumber:int; public function TestVO() { someString = ; someNumber = 0; } } } Save the following test application in Flex Builder 2 {some test project}/TestConnectivity.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:RemoteObject id=testService destination=ColdFusion result=onResult(event) source=com.mycompany.myapp.service.TestService / mx:Script ![CDATA[ import com.mycompany.myapp.model.TestVO; import mx.controls.Alert; import mx.rpc.events.ResultEvent; import mx.utils.ObjectUtil; private function onResult(event:ResultEvent){ Alert.show(ObjectUtil.toString(event.result)); } ]] /mx:Script mx:Button label=getArray click=testService.getArray() / mx:Button label=getStruct click=testService.getStruct() / !-- BUGS : display (null) value instead of objects, but objects are correctly returned... -- mx:Button
Re: [flexcoders] Split a single Flex application into parts
Hi Roger,Modularize large applications is really needed so I'll be waiting for your article because that always was a veryproblematic task in Flash based applications. Hope I should not wait to much for the article! Thanks in advance! : ) 2006/2/7, Roger Gonzalez [EMAIL PROTECTED]: Nope, just 2.0. For 1.5, all you could really do was to share common classes in RSLs between the application and loaded mini-apps. See my RSL article on devnet for details. http://www.macromedia.com/devnet/flex/articles/rsl.html No real estimates of timing. Everything is actually already in 2.0 that is necessary to do dynamically loaded modules cleanly, so if you're impatient... :-) -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe Sent: Tuesday, February 07, 2006 10:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Split a single Flex application into parts Thanks Roger. That would be really helpful. This is something I was quite familiar with while architecting pure Flash based RIA's but has been somewhat of mystery when it came to Flex. The stuff you will be posting to labs, would that apply to Flex1.5 as well? Also (not putting pressure at all..) any rough guesstimate as to when this would be up TIA - superabe On 2/7/06, Roger Gonzalez [EMAIL PROTECTED] wrote: I'll be posting some stuff (probably to labs) to make all this much simpler, but basically the best way to do it at the moment is to roll some pure Actionscript classes to act as a loader, and to hook in to the deferred instantiation mechanism to pull the appropriate child SWF in late. The tricky bit is that building individual apps to load is too heavy, so you really need to do some crazy stuff with RSLs to minimize the number of overlapping classes. You probably don't want the loaded SWFs to even be full applications. Anyway, its feasible, just takes a bit of work. Stay tuned for some help down the road. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of superabe superabe Sent: Tuesday, February 07, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Split a single Flex application into parts Hi List, I have a potential use case where my top level Application consists of a ViewStack that might have around 10 children that are themselves composite components with multiple views It seems pretty certain that if I create one single Flex (Flex 1.5) application, I would most probably run into huge load times. What is a good way to approach splitting this up into component parts? All I can think of at the moment is to use a Loader for each child of the ViewStack and load the appropriate flex app on some event. Is there any other way to approach this ? TIA - superabe -- 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+developme ntw1=Web+site+design+developmentw2=Computer+software+develop mentw3=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+develop mentw1=Web+site+design+developmentw2=Computer+software+devel opmentw3=Software+design+and+developmentw4=Macromedia+flexw5 =Software+development+best+practicec=5s=166.sig=lvQjSRfQDfW udJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+devel opmentw1=Web+site+design+developmentw2 =Computer+software+developmentw3=Software+design+and+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si te+design+developmentw2=Computer+software+developmentw3 =Software+design+and+developmentw4=Macromedia+flexw5=Softwar e+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+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders
[flexcoders] Cairngorm 2 event question.
Hi all, Situation: form1.mxml ( contains a combobox) form2.mxml ( contains a listbox) When the form1 combobox is selected, form2 listbox should change based on form1 combobox selection. With the new Cairngorm2, what would be a best practice approach to handle the above situation. Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] setting a z-index
Hey everyone, Im trying to create a customized sort of ComboBox. Essentially its a button, that when clicked, will set visible a list directly below it(using some kind of effect, probably a resize from 0-x). I could use a combobox, but the appearance of this component is way different than how a combobox looks(no arrow, and icons instead of text), so I had to do it this way. The problem is, when the list show, it moves everything else on the screen, so I was wondering if there was some kind of z-index(or substitute), that I could manipulate to make this behave more like a combo box. If a combox can behave in this manner, where when it opens, it doesnt push everything out of its way, then there has to be a way for this to be done. Any help, or pointers to help will be greatly appreciated Thanks Nick -- 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: [Norton AntiSpam] [flexcoders] setting a z-index
In the flash player the z-index is referred to as depth. take a look at docs for getDepth() swapDepths() etc. However, if you are running flex 2, take a look at the PopupButton class, this may provide a lot of what you are trying to do. At 05:59 PM 2/7/2006, you wrote: Hey everyone, I'm trying to create a customized sort of ComboBox. Essentially it's a button, that when clicked, will set visible a list directly below it(using some kind of effect, probably a resize from 0-x). I could use a combobox, but the appearance of this component is way different than how a combobox looks(no arrow, and icons instead of text), so I had to do it this way. The problem is, when the list show, it moves everything else on the screen, so I was wondering if there was some kind of z-index(or substitute), that I could manipulate to make this behave more like a combo box. If a combox can behave in this manner, where when it opens, it doesn't push everything out of its way, then there has to be a way for this to be done. Any help, or pointers to help will be greatly appreciated Thanks Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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_quFDtMyhrQaHQWeb site design 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=lvQjSRfQDfWudJSe1lLjHwComputer software 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=1pMBCdo3DsJbuU9AEmO1oQSoftware design and development 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_EpZI36cYzBjwMacromedia flex 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=f89quyyulIDsnABLD6IXIwSoftware development best practice -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/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 * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [Norton AntiSpam] [flexcoders] setting a z-index
Ah, I guess if I waited a tad longer I would of found it J (slowly burning out hehe) Thanks for pointing that out, thats gold!! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper Sent: Tuesday, February 07, 2006 6:09 PM To: flexcoders@yahoogroups.com Subject: Re: [Norton AntiSpam] [flexcoders] setting a z-index In the flash player the z-index is referred to as depth. take a look at docs for getDepth() swapDepths() etc. However, if you are running flex 2, take a look at the PopupButton class, this may provide a lot of what you are trying to do. At 05:59 PM 2/7/2006, you wrote: Hey everyone, I'm trying to create a customized sort of ComboBox. Essentially it's a button, that when clicked, will set visible a list directly below it(using some kind of effect, probably a resize from 0-x). I could use a combobox, but the appearance of this component is way different than how a combobox looks(no arrow, and icons instead of text), so I had to do it this way. The problem is, when the list show, it moves everything else on the screen, so I was wondering if there was some kind of z-index(or substitute), that I could manipulate to make this behave more like a combo box. If a combox can behave in this manner, where when it opens, it doesn't push everything out of its way, then there has to be a way for this to be done. Any help, or pointers to help will be greatly appreciated Thanks Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 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_quFDtMyhrQaHQWeb site design 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=lvQjSRfQDfWudJSe1lLjHwComputer software 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=1pMBCdo3DsJbuU9AEmO1oQSoftware design and development 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_EpZI36cYzBjwMacromedia flex 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=f89quyyulIDsnABLD6IXIwSoftware development best practice -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/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] Cairngorm 2 event question.
Hi Tim, It depends what the relationship of your two MXML files are to your application. In general, when building reusable view and business components, I would not suggest using Cairngorm in them. Think about Cairngorm as the glue of your application components. It does not relieve you on building such components and should not interfere with them. -If your two MXML files belong to one reusable view component, I'd suggest using Flex's EventDispatcher (no CairngormEvent and no Cairngorm knowledge at all). -If your two MXML components are actually changing a state of your application, I would usually suggest to first dispatch a view related event (using Flex's EventDispatcher and no Cairngorm) to the outer, application domain specific view component, fit it into an application related CairngormEvent (using Flex's EventDispatcher with a CairngormEvent event object) that dispatches to a Cairngorm Command. The Command represents a reusable request to your client and/or serverside business logic. In here, you can manipulate your business logic that can be found on ModelLocator. The application domain specific view components bind to that state via ModelLocator. Other smaller view components inside them bind to the outer view component's properties. Hope that helps, Alex Alex Uhlmann Technical Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6969 m: +44 (0) 7917 428 951 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba Sent: 07 February 2006 22:21 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm 2 event question. Hi all, Situation: form1.mxml ( contains a combobox) form2.mxml ( contains a listbox) When the form1 combobox is selected, form2 listbox should change based on form1 combobox selection. With the new Cairngorm2, what would be a best practice approach to handle the above situation. Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Change in Panel Styles
In Flex Alpha, setting the panel marginLeft and marginRight to 0, resulted in the side borders from the header being gone. Anyone know how in Beta to get rid of the side borders that come from the header of a Panel? _ Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent see your pieces. -- 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] Does Cairngorm work at all with the new flex2 coldfusion adapter.
Hey, Further to Matt Chotin's post, most of the technical members of the Adobe team are in San Jose at an internal summit right now, so we're not responding to emails in our usual fashion. I personally don't have an example of integrating Cairngorm 2 and Flex 2 with the Coldfusion adapter; seems like Benoit has given you some great hints, and there are a whole load of other folks that no much more about CF than I do that might be able to give you some help. It's an open-source project, so when you figure it out, if you can post back to the community then that's how the knowledge grows and the knowledge shares. If you're having specific problems, and can post a short example of what's not working and what you've tried, I'm sure someone will be able to figure it out and move you along. Best wishes, Steven -- Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit Hediard Sent: 07 February 2006 11:39 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Does Cairngorm work at all with the new flex2 coldfusion adapter. Yes, it works, but first of all, you need to test your Flex/ColdFusion connectivity (without Cairngorm). See the message I just sent few minutes ago, with a sample app. Then, to use your service CFCs in a cairngorm application, you just need to add the RemoteObject definition in your ServiceLocator definition file. Good luck! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de sufibaba Envoyé : mardi 7 février 2006 18:36 À : flexcoders@yahoogroups.com Objet : [flexcoders] Does Cairngorm work at all with the new flex2 coldfusion adapter. Hi, We've posted a few questions about cairngorm alpha and coldfusion and so far no replies. ( no replies, as we have learned from our past experiences with cairngorm means that there might be problems... however, it could also be that everyone is so busy) Does anyone have experience with Cairngorm alpha with coldfusion - flex2 beta adapter. Please provide a small example of how to setup cairngorm alpha with coldfusion. Perhaps someone from the cairngorm team can reply to this question because it will help for the early adoption of Cairngorm as opposed to ARP3 as an architecture platform. Cheers, Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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 Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Control with focus when application starts
Hello; I'm trying to find a way to give a particular field focus when the application starts. The code that I think should work is at the bottom of this message. What it does is this: when the application starts, 'ti1' is drawn with a focus ring, as though it had focus, but it does not receive keyboard events. If I hit Tab once, the browser's location text edit field is highlighted. The second Tab press brings focus to 'ti1'. Does anyone know how to make this work the way I want it? That is, 'ti1' has focus and receives keyboard events as soon as the application has finished loading. Thanks. Tobias ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* layout=absolute creationComplete=Init() mx:Script ![CDATA[ private function Init() { application.getFocusManager ().setFocus( ti2 ); } ]] /mx:Script mx:TextInput x=10 y=10 id=ti1/ mx:TextInput x=10 y=40 id=ti2/ /mx:Application -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Cairngorm2 Store Example ?
Hi List, Does anyone know if or when Cairngorm 0.99 Store will be updated to Cairngorm 2. As I understand it, the changes from 0.99 to version 2 is quite substantial yet the only substantial best practice example is the Cairngorm store, which does not work for Flex2. Perhaps migrating the Cairngorm store should be on the priority because It is hard to know how to properly structure an application for the new improved cairngorm without a solid working example. The login example is good but doesn't show how Cairngorm as an architecture can handle large enterprise projects. Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Cairngorm2 Store Example ?
Tim, The priority for Cairngorm 2 was to give you guys a build that you could begin to work with in your own examples. We achieved that the day after beta 1 was made available to you. The *concepts* have not changed between Cairngorm 0.99 and Cairngorm 2.0 - rather the implementation of the framework has changed to support ActionScript 3.0. All of the resource around Cairngorm 0.99 should help you in understanding how to be successful. Have you built anything with Cairngorm 0.99 yet, and followed those examples in detail ? That sounds like a great starting place for your success. Rest assured when Cairngorm 2.0 is final, we'll have all the detail you're looking for and more. There will be an increasing amount of support from us in the months ahead around helping customers, partners and developers be successful with Flex 2.0 and Cairngorm 2.0. However, the alpha build you have just now is exactly that - it's something we're making available early for those that are wishing to embrace it in the spirit that this requires. Once again, if you have any specific questions, I'm sure we'll be able to answer them for you. In the meantime, maybe you want to start by checking out Cairngorm 0.99 and Flex 1.5, if you're still trying to grasp the concepts. There is a lot of discussion of the Cairngorm concepts in Developing Rich Clients with Macromedia Flex (Macromedia Press), and there'll be a lot more information to follow. What kind of apps are you trying to migrate from 1.5 to 2.0, or what kind of apps are you trying to build ? Are you familiar with the J2EE patterns we work from, what's the problem you're trying to solve with Cairngorm ? Have you built some of your app without Cairngorm yet - so that you appreciate the pain we're trying to alleviate for you ? These are all important steps IMHO. Best, Steven -- Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibaba Sent: 07 February 2006 16:24 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm2 Store Example ? Hi List, Does anyone know if or when Cairngorm 0.99 Store will be updated to Cairngorm 2. As I understand it, the changes from 0.99 to version 2 is quite substantial yet the only substantial best practice example is the Cairngorm store, which does not work for Flex2. Perhaps migrating the Cairngorm store should be on the priority because It is hard to know how to properly structure an application for the new improved cairngorm without a solid working example. The login example is good but doesn't show how Cairngorm as an architecture can handle large enterprise projects. Tim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Split a single Flex application into parts
Thanks for the link. Will dig around in Flex 2.0 :-) - superabe On 2/7/06, Roger Gonzalez [EMAIL PROTECTED] wrote: Nope, just 2.0.For 1.5, all you could really do was to share commonclasses in RSLs between the application and loaded mini-apps.See my RSL article on devnet for details.http://www.macromedia.com/devnet/flex/articles/rsl.htmlNo real estimates of timing.Everything is actually already in 2.0 thatis necessary to do dynamically loaded modules cleanly, so if you'reimpatient... :-)-rg -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe Sent: Tuesday, February 07, 2006 10:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Split a single Flex application into parts Thanks Roger. That would be really helpful. This is something I was quite familiar with while architecting pure Flash based RIA's but has been somewhat of mystery when it came to Flex. The stuff you will be posting to labs, would that apply to Flex1.5 as well? Also (not putting pressure at all..) any rough guesstimate as to when this would be up TIA - superabe On 2/7/06, Roger Gonzalez [EMAIL PROTECTED] wrote: I'll be posting some stuff (probably to labs) to make all this much simpler, but basically the best way to do it at the moment is to roll some pure Actionscript classes to act as a loader, and to hook in to the deferred instantiation mechanism to pull the appropriate child SWF in late.The tricky bit is that building individual apps to load is too heavy, so you really need to do some crazy stuff with RSLs to minimize the number of overlapping classes.You probably don't want the loaded SWFs to even be full applications. Anyway, its feasible, just takes a bit of work.Stay tuned for some help down the road. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of superabe superabe Sent: Tuesday, February 07, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Split a single Flex application into parts Hi List, I have a potential use case where my top level Application consists of a ViewStack that might have around 10 children that are themselves composite components with multiple views It seems pretty certain that if I create one single Flex (Flex 1.5) application, I would most probably run into huge load times. What is a good way to approach splitting this up into component parts? All I can think of at the moment is to use a Loader for each child of the ViewStack and load the appropriate flex app on some event. Is there any other way to approach this ? TIA - superabe -- 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+developme ntw1=Web+site+design+developmentw2=Computer+software+develop mentw3=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+develop mentw1=Web+site+design+developmentw2=Computer+software+devel opmentw3=Software+design+and+developmentw4=Macromedia+flexw5 =Software+development+best+practicec=5s=166.sig=lvQjSRfQDfW udJSe1lLjHwSoftware design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+devel opmentw1=Web+site+design+developmentw2 =Computer+software+developmentw3=Software+design+and+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+si te+design+developmentw2=Computer+software+developmentw3 =Software+design+and+developmentw4=Macromedia+flexw5=Softwar e+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+developm entw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS *Visit your group flexcoders http://groups.yahoo.com/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] ?subject=Unsubscribe *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:
Re: [flexcoders] Change in Panel Styles
On 2/7/06, Jonathan Miranda [EMAIL PROTECTED] wrote: In Flex Alpha, setting the panel marginLeft and marginRight to 0, resulted in the side borders from the header being gone. Anyone know how in Beta to get rid of the side borders that come from the header of a Panel? In Beta 1, the margins are already 0, and the gray area is outside of the margins. And that's going to change again :) For now, the only way is to extend Panel and override the viewMetrics property to deduct 10 px. from both sides. Sorry about that. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Control with focus when application starts
On 2/7/06, tobiaspatton [EMAIL PROTECTED] wrote: [snip] What it does is this: when the application starts, 'ti1' is drawn with a focus ring, as though it had focus, but it does not receive keyboard events. If I hit Tab once, the browser's location text edit field is highlighted. The second Tab press brings focus to 'ti1'. So what's happening is that the Flash movie is not getting the focus. I think you'll have to resort to some sort of JavaScript trickery to achieve this. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Cairngorm2 Store Example ?
Hi , i job in project with Flex , RO and sql server 2000 , i used the ODBC JDBC Drivers to conect RO with sql server 2000 , The cuestion is as it is the best JDBC Drivers for sql server (jrun JDBC, Microsoft sql server JDBC) and the most important free !! -- 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] New Inline cell renderers
On 2/7/06, Jonathan Miranda [EMAIL PROTECTED] wrote: This may be right in theory, but not in practice. Try this out – in the dataProvider is a field called compare that is always false. Everything takes 2 clicks. [snip] If you could provide a standalone example (without any web service calls), that'll be great. Does single-click work in my previous example? Works for me. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex 2 addTreeNode
I think , the Flex 2.0 Tree related classes have been changed quite a bit with the introduction of Hierarchical Data Providers and stuff. Here is some sample .mxml/as code that worked for me. Hope this will help. - Hari * ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" backgroundColor="#FF" creationComplete="initList()" mx:Script ![CDATA[ import mx.collections.XMLListCollection; var origXML:XML; public function initList() { myTree.rootVisible = false; //TODO: Get this XML from a data service var origXMLString:String = "MyRoot " + "node1 label=\"supernode1\" someProp=\"sdsdf \" isBranch=\"true\"/" + "node2 label=\"supernode2\" someProp=\"sdsdf \" isBranch=\"true\"/" + "node3 label=\"supernode3\" someProp=\"sdsdf \" isBranch=\"true\"/" + "/MyRoot"; origXML = new XML(origXMLString); myTree.dataProvider = origXML; } public function open(event:Object) { var selectedNode:Object =event.node; var myXMLList:XMLList = new XMLList(selectedNode); //TODO: Get this XML from a data service based on the selected node. var newXMLString:String = "childnode1 label=\"childnode1\" someProp=\"sdsdf \" isBranch=\"true\" /" + "childnode2 label=\"childnode2\" someProp=\"sdsdf \" isBranch=\"false\" /" + "childnode3 label=\"childnode3\" someProp=\"sdsdf \" isBranch=\"true\" /" ; var myNewXMLList:XMLList = new XMLList(newXMLString); selectedNode.setChildren(myNewXMLList); myText1.text = selectedNode.toXMLString(); myText2.text = myTree.dataProvider.source[0]; myTree.dataProvider = origXML; } public function close(event:Object) { var selectedNode:Object = event.node; var myXMLList:XMLList = new XMLList(selectedNode); removeAllDecendants(myXMLList); myText1.text = selectedNode.toXMLString(); myText2.text = myTree.dataProvider.source[0]; myTree.dataProvider = origXML; } public function removeAllDecendants(xmlList:XMLList) { var myDescendantXMLList:XMLList = xmlList.descendants(); var myDecendentXMLListCollection:XMLListCollection = new XMLListCollection(myDescendantXMLList); myDecendentXMLListCollection.removeAll(); } ]] /mx:Script !-- Simple example to demonstrate the Tree control -- mx:XML id="myxml" /mx:XML mx:HDividedBox width="100%" height="100%" !-- Tree listing of directories (only) -- mx:Box mx:Tree id="myTree" width="600" height="600" labelField="@label" defaultLeafIcon="@Embed('images/folder.gif')" nodeOpen="open(event)" nodeClose="close(event)"/ /mx:Box mx:VBox !-- Text Areas to Display Node XMLs -- mx:Box mx:TextArea width="600" height="300" id="myText1" / /mx:Box mx:Box mx:TextArea width="600" height="300" id="myText2" / /mx:Box /mx:VBox /mx:HDividedBox /mx:Application * Brendan Meutzner wrote: Hi, Can someone provide me with an example of addTreeNode for Flex 2? I have a XML structure that is loaded into my Tree as the dataProvider. I would like to be able to click on a node within the tree, and then add a sub node into that selected node. When I get the selectedNode from the tree, and attempt call addTreeNode on it, I get an error "Call attempted on an object that is not a function"... Unfortunately, not much documentation on these methods yet, so any help offered would be very much appreciated. Brendan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] On Workstyles
Hi guys, I'm conducting a scientific study on the working styles of interaction designers, information architects and software engineers. Our goal is to characterize transitions in working styles, which is why we ask for your cooperation in answering the following survey. The survey shouldn't take more than 2-3 minutes, which you can do online through the following URL: http://www.surveymonkey.com/s.asp?u=464241712718 The idea is to make design tools supporting transitions in workstyles. I'm currently working on a (free) design tool that will be able to generate MXML code that can be edited with Flex Buider. I'll of course keep you posted on the tool and the results from the survey. Thanks, Pedro Pedro F. Campos - http://dme.uma.pt/pcampos LabUSE (Laboratory for Usage-Centered Design) - Univ. of Madeira -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex 2 addTreeNode
To answer your specific question about adding nodes... Since you have an XML dataProvider, the selectedNode property will return an XML object. You can then use the appendChild() method to add child nodes. eg: var node: XML = XML(tree.selectedNode); node.appendChild(node label=newchild); On 2/5/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Hi,Can someone provide me with an example of addTreeNode for Flex 2?Ihave a XML structure that is loaded into my Tree as the dataProvider. I would like to be able to click on a node within the tree, and thenadd a sub node into that selected node.When I get the selectedNodefrom the tree, and attempt call addTreeNode on it, I get an errorCall attempted on an object that is not a function... Unfortunately, not much documentation on these methods yet, so anyhelp offered would be very much appreciated.Brendan--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex-Struts configration
Title: RE: [flexcoders] Flex-Struts configration Hi David, I had gone through the http://www.macromedia.com/devnet/flex/articles/struts.html. I have some doubt. Please clarify the following doubts. 1. In that link they have given a Flex client application. May I know what the extention of the file. Is? 2. How it process? Thanks in Advance, With regards, Srikanth -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Srikanth, R Sent: Monday, February 06, 2006 2:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex-Struts configration Hi, I have seen in your mentioned link. I have some doubt in that link. Where I have to save the Flex client file and how it calls? Could you please explain? Thanks, Kind regards, Srikanth -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels Sent: Saturday, February 04, 2006 9:18 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex-Struts configration Hope this helps: http://www.macromedia.com/devnet/flex/articles/struts.html -David Adobe From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Husain Kitabi Sent: Saturday, February 04, 2006 9:38 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex-Struts configration I am just wondering why would you require struts and flex. anyway, look into web.xml file Srikanth [EMAIL PROTECTED] wrote: Hello, Could you please explain the confiration and Integration of the Flex and Struts? Please send a sample code/link for that. Thanks in advance, with Regards, Srikanth 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. hussain Yahoo! Mail - Helps protect you from nasty viruses. -- 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.