Re: [flexcoders] TabNavigator tab color styles?
Robert Brueckmann wrote: TabNavigator { fillColors: #D8E6EF, #FF; } It has to be applied on Tab. Tab { fillColors: '#FF', '#FF'; selected-fill-colors: blue, white; } Manish
RE: [flexcoders] Re: Interesting Loader/DividedBox behavior
I think this is probably the same problem that Andrew mailed about yesterday with cursor depth. That doesnt mean I know whats going on J Matt From: lm7e [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 8:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Interesting Loader/DividedBox behavior Hello All, I think I will try posting my question again. See below... Maybe someone from Macromedia can tell me if this is the behavior I have to live with or if I am doing something wrong... Please help. Lawrence --- In flexcoders@yahoogroups.com, lm7e [EMAIL PROTECTED] wrote: In attempting to utilize the RSL feature, I am designing an application that is composed of a wrapper app that in turn loads different subsystem apps. This works fine. The interesting behavior I have seen is that a subsystem app I have written contains a DividedBox and when it is loaded, the cursor does not show the proper move indicator (-| |-) that it should when hovering over the divider; the cursor disappears. If I open the subsystem app separately, the behavior is correct. Any ideas??? Workarounds??? You can find code that demonstrates this strangeness below. Thank you in advance, Lawrence loaderApp.mxml ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml width=100% height=100% xmlns=* mx:XML id=theMenuDataProvider menu label=Test menuitem label=Test App data="" / /menu /mx:XML mx:Script var app : String; function loadSubsystem(event : Object) { app = event.menuItem.attributes.data; } /mx:Script mx:MenuBar width=100% id=theMenuBar change=loadSubsystem(event) mx:dataProvider{theMenuDataProvider} /mx:dataProvider /mx:MenuBar mx:HBox width=100% height=100% mx:Loader id=applet source={app} scaleContent=false width=100% height=100% / /mx:HBox /mx:Application testApp.mxml ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml width=100% height=100% mx:Script function getPreferredHeight() { if (_parent != undefined) { return _parent.layoutHeight; } else { return super.getPreferredHeight(); } } function getPreferredWidth() { if (_parent != undefined) { return _parent.layoutWidth; } else { return super.getPreferredWidth(); } } /mx:Script mx:Panel width=100% height=100% mx:DividedBox direction=horizontal height=100% width=100% mx:Tree id=theTree width=30% height=100% mx:dataProvider mx:XML node label=Something node label=Here isBranch=true /node node label=There isBranch=true /node node label=Anywhere node label=Huh? / node label=What? / node label=Where? / /node /node /mx:XML /mx:dataProvider /mx:Tree mx:VBox height=100% width=70% mx:TabNavigator height=100% width=100% mx:Canvas label=Isn't height=100% width=100% / mx:Canvas label=This height=100% width=100% / mx:Canvas label=Interesting? height=100% width=100% / /mx:TabNavigator /mx:VBox /mx:DividedBox /mx:Panel /mx:Application
RE: [flexcoders] Flash Remoting Encryption Strategies
You can set protocol=https on the RemoteObject tag and it will use the gateway in amf-https-gateway from flex-config.xml. That setting might need to be hardcoded into a real url instead of {context.root} since {context.root} will use the insecure port if the SWF is served insecurely. Gotta admit I dont remember howthe gateway will react when the certificate expires. You may be able to adjust the settings on your browser to allow the certificate through by default and the Player will respect it. Matt From: Battershall, Jeff [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 8:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flash Remoting Encryption Strategies Hi, In the Flex app I'm building, I'm going to need to encrypt the AMF packets going back and forth. I've gota couple of questions about this, and I'm hoping someone has evolved some best practices regarding this. 1) Must the entire page containing the Flashmovie be encrypted? If so, how does this effect the performance of the movie instantiation? I know the HTML wrapper will be encrypted but what about the embedded movie? I imagine that encrypting the page would not be enough - I would need to encrypt the Flash Remoting calls in additionto the page that contains the movie. 2) Depending on #1, couldn't I just encrypt the Flash Remoting calls? That would seem to be the most important item to be encrypted. 3) If I install a trial SSL cert on my dev machine, and it expires, how does this affect my encrypted Flash Remoting calls? I know what happens on a live site - you get a security warning - what about with Remoting - does it still work or am I going to have to ante up for dev/staging SSL certs in addition to my production server? Jeff Battershall Application Development Consultant Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c)
DataGridColumn.headerRenderer / rotating text in header
Does someone have an example of the headerRenderer that they could share? Does the headerRenderer need to implement the same methods as a cellRenderer - i.e. setValue? Are there any properties (beyond listOwner, getCellIndex, getDataLabel) that are set? I am trying to create a header in which the text is rotated. Rather than rotating each label, I though I would create a HBox that is rotated. I suspect that the header is not being displayed as it is being clipped. How to I specify the point around which rotation occurs, and then adjust the coordinates to compensate for the rotation ? An example would be great. Thanks
Re: DataGrid / dataProvider question
Thanks - I ended up using a cellRenderer. Now another question - is the headerRenderer the same as a cellRenderer? - viraf --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You're going to need to look into using labelFunction to return the values you want. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 7:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid / dataProvider question Thanks. Can one specify a hierachy for the column name, such as mx:DataGridColumn columnName=cat.product.123 ... ? --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: viraf_bankwalla wrote: I have an xml document that has the following form categories category id=123 name=abc products product id=123 name=def price12.54/price /product [snip] of each product in the category. My question is how do I specify the reference to a specific product in DataGridColumn? If someone has an example, I would love to see it. You could set your dataProvider to {categories.category[0].products.product}, but that would only get you the products at the 0th category (abc). Manish Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=129pbsgbl/M=298184.6018725.7038619.30011 76/D=gr oups/S=1705007207:HM/EXP=1109474042/A=2593423/R=0/SIG=11el9gslf/*http :/www.n etflix.com/Default?mqso=60190075 click here http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2593423/rand=206981682 _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service.
Re: DataGridColumn.headerRenderer / rotating text in header
As a followup question, how can I pass context to the headerRenderer, or how can the headerRenderer know about its DataGridColumn --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Does someone have an example of the headerRenderer that they could share? Does the headerRenderer need to implement the same methods as a cellRenderer - i.e. setValue? Are there any properties (beyond listOwner, getCellIndex, getDataLabel) that are set? I am trying to create a header in which the text is rotated. Rather than rotating each label, I though I would create a HBox that is rotated. I suspect that the header is not being displayed as it is being clipped. How to I specify the point around which rotation occurs, and then adjust the coordinates to compensate for the rotation ? An example would be great. Thanks
Evaluate expression - linking problems
I don't really know how to describe this, so I will do my best. I have the following working: listBeg is my repeater URL is the element in the array that is outputting to the label. This is working as you would expect. mx:Label text={listBeg.currentItem.URL} fontSize=11 / The following is not working. I get undefined when I run it. click=getURL( listBeg.currentItem.ID , '_blank' ) Going the other route - this works: Click=getURL( data.getBeginner.result[0].URL ) This does not: Click=getURL( data.getBeginner.result[listBeg.selectedIndex].URL ) If I pull the internal variables out of the links (aside from the first one not working which is driving me nuts) they output correctly in Label fields. Please tell me what I am doing wrong here. Also - if there is a way to force the evaluation of the internal variable I am willing to do this the hard way. Thanks, Jeff
Specifying renderers in DataGrid
Hi, I have the following code that is called to create DataGridColumn's var col:mx.controls.gridclasses.DataGridColumn; col = new mx.controls.gridclasses.DataGridColumn(cname); col.columnName=cname; col.headerText=cname; col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer; grid.addColumn(col); I have noticed that when I specify the renderers as a String the columns are not rendered. However, if I simply specify the class as: col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer; They are being instantiated. Could someone please explain the difference. The renderers were created as MXML and have the setValue method in a script. Thanks.
RE: [flexcoders] Evaluate expression - linking problems
click=getURL(event.target.getRepeaterItem().URL, _blank); click=getURL(data.getBeginnger.result[event.target.repeaterIndices[0]].URL) //I think Matt From: Jeff Steiner [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26,2005 9:57 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Evaluate _expression_ - linking problems Sorry - in my example below click=getURL( listBeg.currentItem.ID, '_blank' ) should be click=getURL( listBeg.currentItem.URL , '_blank' ) Thanks, Jeff http://www.flexauthority.com - Original Message - From: Steiner, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 26, 2005 9:36 AM Subject: [flexcoders] Evaluate _expression_ - linking problems I don't really know how to describe this, so I will do my best. I have the following working: listBeg is my repeater URL is the element in the array that is outputting to the label. This is working as you would expect. mx:Label text={listBeg.currentItem.URL} fontSize=11 / The following is not working. I get undefined when I run it. click=getURL( listBeg.currentItem.ID , '_blank' ) Going the other route - this works: Click=getURL( data.getBeginner.result[0].URL ) This does not: Click=getURL( data.getBeginner.result[listBeg.selectedIndex].URL ) If I pull the internal variables out ofthe links (aside from the first one not working which is driving me nuts) they output correctly in Label fields. Please tell me what I am doing wrong here. Also - if there is a way to force the evaluation of the internal variable I am willing to do this the hard way. Thanks, Jeff Yahoo! Groups Links
RE: [flexcoders] Specifying renderers in DataGrid
You need to specify the classes so that they will get linked in. If Flex doesnt see a class reference it doesnt know to link it into the SWF. Roger has an article on DevNet that goes into this in great detail. Matt From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26,2005 10:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Specifying renderers in DataGrid Hi, I have the following code that is called to create DataGridColumn's var col:mx.controls.gridclasses.DataGridColumn; col = new mx.controls.gridclasses.DataGridColumn(cname); col.columnName=cname; col.headerText=cname; col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer; grid.addColumn(col); I have noticed that when I specify the renderers as a String the columns are not rendered. However, if I simply specify the class as: col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer; They are being instantiated. Could someone please explain the difference. The renderers were createdas MXML and have the setValue method in a script. Thanks.
Re: Specifying renderers in DataGrid
Thanks - I am not familiar with DevNet (new to development with Flex). Could you please give me a reference to DevNet. Is this a free or fee based service ? - viraf --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You need to specify the classes so that they will get linked in. If Flex doesn't see a class reference it doesn't know to link it into the SWF. Roger has an article on DevNet that goes into this in great detail. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 10:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Specifying renderers in DataGrid Hi, I have the following code that is called to create DataGridColumn's var col:mx.controls.gridclasses.DataGridColumn; col = new mx.controls.gridclasses.DataGridColumn(cname); col.columnName=cname; col.headerText=cname; col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer; grid.addColumn(col); I have noticed that when I specify the renderers as a String the columns are not rendered. However, if I simply specify the class as: col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer; They are being instantiated. Could someone please explain the difference. The renderers were created as MXML and have the setValue method in a script. Thanks. Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=1298qteg0/M=298184.6018725.7038619.30011 76/D=gr oups/S=1705007207:HM/EXP=1109528842/A=2593423/R=0/SIG=11el9gslf/*http :/www.n etflix.com/Default?mqso=60190075 click here http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2593423/rand=239372553 _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service.
Re: DataGridColumn.headerRenderer / rotating tex t in header
I do have a listOwner as described in the documents. There are multiple columns in the grid. Are you suggesting that I add a column variable to my HeaderRenderer class ? I have noticed that setValue(str:Object, item:Object sel:String) does not appear to be called in my header renderer, however is called in the cellRenderer. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I don't know about the text rotation but listOwner is your reference to the DataGrid and if you add a column property I think you'll be given a reference to the DataGridColumn. setValue(str) will be called giving you the expected header text. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 9:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridColumn.headerRenderer / rotating text in header As a followup question, how can I pass context to the headerRenderer, or how can the headerRenderer know about its DataGridColumn --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Does someone have an example of the headerRenderer that they could share? Does the headerRenderer need to implement the same methods as a cellRenderer - i.e. setValue? Are there any properties (beyond listOwner, getCellIndex, getDataLabel) that are set? I am trying to create a header in which the text is rotated. Rather than rotating each label, I though I would create a HBox that is rotated. I suspect that the header is not being displayed as it is being clipped. How to I specify the point around which rotation occurs, and then adjust the coordinates to compensate for the rotation ? An example would be great. Thanks Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=129oqi8rt/M=298184.6018725.7038619.30011 76/D=gr oups/S=1705007207:HM/EXP=1109524833/A=2593423/R=0/SIG=11el9gslf/*http :/www.n etflix.com/Default?mqso=60190075 click here http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2593423/rand=728828270 _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service.
RE: [flexcoders] Re: Specifying renderers in DataGrid
http://www.macromedia.com/devnet/flex/articles/link_load.html The articles are free and on the MM site. Matt From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26,2005 11:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Specifying renderers in DataGrid Thanks - I am not familiar with DevNet (new to development with Flex). Could you please give me a reference to DevNet. Is this a free or fee based service ? - viraf --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You need to specify the classes so thatthey will get linked in. If Flex doesn't see a class reference it doesn't know to link it into the SWF. Roger has an article on DevNet that goes into this in great detail. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 10:27AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Specifying renderers in DataGrid Hi, I have the following code that is called to create DataGridColumn's var col:mx.controls.gridclasses.DataGridColumn; col = new mx.controls.gridclasses.DataGridColumn(cname); col.columnName=cname; col.headerText=cname; col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer; grid.addColumn(col); I have noticed that when I specify the renderers as a String the columns are not rendered. However, if I simply specify the class as: col.cellRenderer=MyCellRenderer; col.headerRenderer=MyHeaderRenderer; They are being instantiated. Could someone please explain the difference. The renderers were created as MXML and have the setValue method in a script. Thanks. Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=1298qteg0/M=298184.6018725.7038619.30011 76/D=gr oups/S=1705007207:HM/EXP=1109528842/A=2593423/R=0/SIG=11el9gslf/*http :/www.n etflix.com/Default?mqso=60190075 click here http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2593423/rand=239372553 _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service.
RE: [flexcoders] Re: DataGridColumn.headerRenderer / rotating tex t in header
Yes, add a column variable to your HeaderRenderer class and the DataGrid will automatically set it for you. Not sure why setValue() isnt called, in looking at the code I think it should be (though in the header case we wont pass in item and sel, just the first parameter str. Matt From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26,2005 11:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridColumn.headerRenderer / rotating tex t in header I do have a listOwner as described in the documents. There are multiple columns in the grid. Are you suggesting that I add a column variable to my HeaderRenderer class ? I have noticed that setValue(str:Object, item:Object sel:String) does not appear to be called in my header renderer, however is called in the cellRenderer. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I don't know about the text rotation but listOwner is your reference to the DataGrid and if you add a column property I think you'll be given a reference to the DataGridColumn. setValue(str) will be called giving you the expected header text. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 9:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridColumn.headerRenderer / rotating text in header As a followup question, how can I pass context to the headerRenderer, or how can the headerRenderer know about its DataGridColumn --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Does someone have an example of the headerRenderer that they could share? Does the headerRenderer need to implement the same methods as a cellRenderer - i.e. setValue? Are there any properties (beyond listOwner, getCellIndex, getDataLabel) that are set? I am trying to create a header in which the text is rotated. Rather than rotating each label, I thoughI would create a HBox that is rotated. I suspect that the header is not being displayed as it is being clipped. How to I specify the point around which rotation occurs, and then adjust the coordinates to compensate for the rotation ? An example would be great. Thanks Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=129oqi8rt/M=298184.6018725.7038619.30011 76/D=gr oups/S=1705007207:HM/EXP=1109524833/A=2593423/R=0/SIG=11el9gslf/*http :/www.n etflix.com/Default?mqso=60190075 click here http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2593423/rand=728828270 _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service.
Re: DataGridColumn.headerRenderer / rotating tex t in header
Thanks - I added a var column:Object; However it is not being set. The listOwner is being set. - viraf --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Yes, add a column variable to your HeaderRenderer class and the DataGrid will automatically set it for you. Not sure why setValue() isn't called, in looking at the code I think it should be (though in the header case we won't pass in item and sel, just the first parameter str. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 11:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridColumn.headerRenderer / rotating tex t in header I do have a listOwner as described in the documents. There are multiple columns in the grid. Are you suggesting that I add a column variable to my HeaderRenderer class ? I have noticed that setValue(str:Object, item:Object sel:String) does not appear to be called in my header renderer, however is called in the cellRenderer. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I don't know about the text rotation but listOwner is your reference to the DataGrid and if you add a column property I think you'll be given a reference to the DataGridColumn. setValue(str) will be called giving you the expected header text. Matt _ From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 9:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGridColumn.headerRenderer / rotating text in header As a followup question, how can I pass context to the headerRenderer, or how can the headerRenderer know about its DataGridColumn --- In flexcoders@yahoogroups.com, viraf_bankwalla [EMAIL PROTECTED] wrote: Does someone have an example of the headerRenderer that they could share? Does the headerRenderer need to implement the same methods as a cellRenderer - i.e. setValue? Are there any properties (beyond listOwner, getCellIndex, getDataLabel) that are set? I am trying to create a header in which the text is rotated. Rather than rotating each label, I though I would create a HBox that is rotated. I suspect that the header is not being displayed as it is being clipped. How to I specify the point around which rotation occurs, and then adjust the coordinates to compensate for the rotation ? An example would be great. Thanks Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=129oqi8rt/M=298184.6018725.7038619.30011 http://us.ard.yahoo.com/SIG=129oqi8rt/M=298184.6018725.7038619.30011 76/D=gr oups/S=1705007207:HM/EXP=1109524833/A=2593423/R=0/SIG=11el9gslf/*http :/www.n etflix.com/Default?mqso=60190075 click here http://us.adserver.yahoo.com/l? http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2593423/rand=728828270 _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ http://docs.yahoo.com/info/terms/ Terms of Service. Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=129pbfnve/M=298184.6018725.7038619.30011 76/D=gr oups/S=1705007207:HM/EXP=1109532210/A=2593423/R=0/SIG=11el9gslf/*http :/www.n etflix.com/Default?mqso=60190075 click here http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2593423/rand=181950802 _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service.
Re: [flexcoders] Re: DataGridColumn.headerRenderer / rotating text in header
viraf_bankwalla wrote: As a followup question, how can I pass context to the headerRenderer, or how can the headerRenderer know about its DataGridColumn See this example: http://manish.revise.org/archives/2005/01/16/drag-n-drop-reodering-of-datagrid-columns/ I'm getting a reference to the column inside the headerRenderer. Manish
Re: [flexcoders] Advanced Printing Question
Yes, you can do this. In fact, just create a custom MXML component and instantiate it. ?xml version... !-- MyPrintableComponent.mxml -- mx:VBox ... ... (other stuff you want) /mx:VBox var p = PopUpManager.createPopUp(this, MyPrintableComponent, false); p.visible = false; Then you can print p. I haven't tried it, but it should work. Manish AC wrote: Hi Background: I have created a control which displays a DataGrid with a header and footer showing simple information such as a title and a time stamp. It's possible to scroll the grid and print each row of data held in the grid. however, resizing of the grid is not possible as it messes up the printing. I am now trying to create the same control at runtime, this control is NOT a visible UI component that can be view in the application, its purpose it to be a print format control. This print control is a VBox containing a HBox, DataGrid and an other HBox, inturn each HBox contains 2 lables (making a total of four labels). To build this control at design time is very straight-forwards, however, I am trying to accomplish this, in memory, at runtime essentially a non-visual control, and then send it to print. Is this at all possible in flex? Thanks Yahoo! Groups Links
Re: [flexcoders] DataGrid with Pojo
What would 'items' contain? The names of the columns? Okay, assuming they'd contain names of the columns, I would create an empty DataGrid first and then add columns to it, like this: mx:DataGrid initialize=setUp(event.target) / function setUp(grid):Void { for (... i in 'items' ...) // pseudocode { var col:DataGridColumn = new DataGridColumn(); col.columnName = i.columnName; col.headerText = i.headerText; grid.addColumn(col); } grid.dataProvider = myRemoteObjectDataProvider; } Manish [EMAIL PROTECTED] wrote: Hi, I have this java pojo class ... private String cod_art; private String dsc_art; private Vector items; ... i wish display in my DataGrid Vector items will be column and my cod_art, and dsc_art the rows, i don't know how to implements because my remoteObject return 1 dataProvider? Can you help me Devis Yahoo! Groups Links
Re: [flexcoders] Can I gray out the rest of a screen behind a popup?
Anthony Merryfield wrote: I have a few popup forms that I'd like to give more emphasis to. I think I saw somewhere a site where on popup the parent grayed out making the popup very noticable - could anyone point me towards some code in order to accomplish this please? I just put my whole app in a VBox and fade it when the window pops up (maybe in the creationComplete of the window). ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:VBox id=mainBox width=100% height=100% backgroundColor=white mx:DateChooser / mx:Button label=Popup click=showPopUp() / /mx:VBox mx:Script import mx.effects.Fade; function showPopUp() { alert(I need more attention.); var eff:Fade = new Fade(mainBox); eff.alphaFrom = 100; eff.alphaTo = 50; eff.duration = 1000; eff.playEffect(); } /mx:Script /mx:Application Manish
Re: DataGridColumn.headerRenderer / rotating text in header
Manish, Thanks for the example (I am assuming that you are refering to ReorderableHeaderRenderer.as). You are looking up the column based on the listOwner.columns. This works if the setValue is called. For some reason, I do not see setValue being called. My cell renderer is defined in MXML. - ciraf --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: viraf_bankwalla wrote: As a followup question, how can I pass context to the headerRenderer, or how can the headerRenderer know about its DataGridColumn See this example: http://manish.revise.org/archives/2005/01/16/drag-n-drop-reodering- of-datagrid-columns/ I'm getting a reference to the column inside the headerRenderer. Manish
dynamic rsl loading
Has anyone dealt with loading different rsl's depending on the url or some other parameter? What I would like to do is split my application up into small pieces. If a user has accessed my application but not logged in I don't want them to have to download the rsl for everything, just the one for login, registration, etc. Once the user logs in, some things (like navigation) stay the same, but now the user can see more stuff. So I would like to load an additional rsl. All using the same base mxml file. Any ideas? Thanks. -James
Re: [flexcoders] dropShadow masking?
James Ward wrote: Hi all. I have encountered some strange behavior when I added a dropShadow to a VBox which has a WipeDown / WipeUp effect on it. The dropShadow doesn't wipe with the VBox. This can be seen by adding dropShadow=true to the cart VBox on the Samples - Explorer - UI Patterns - Overlay Demo. Am I using this wrong or is this a bug? If it's a bug is there a known workaround? Thanks. You'll have to toggle the visibility and the shadow programmatically. function onEffectEnd(effect) { if (effect[show]) cart.setStyle(dropShadow, true); else cart.visible = false; } function wipeCart(show:Boolean):Void { var effect:Effect = show ? new WipeDown() : new WipeUp(); effect.target = cart; effect.duration = 300; effect[show] = show; effect.listener = this; if (show) cart.visible = true; else cart.setStyle(dropShadow, false); effect.playEffect(); } mx:VBox id=cart ... / mx:Button label=Show/Hide click=wipeCart(!cart.visible) / Manish
Re: [flexcoders] Re: DataGridColumn.headerRenderer / rotating text in header
viraf_bankwalla wrote: For some reason, I do not see setValue being called. My cell renderer is defined in MXML. How are you setting the headerRenderer? Can you post some code, please? Manish
Re: [flexcoders] Interesting Loader/DividedBox behavior
lm7e wrote: I have seen is that a subsystem app I have written contains a DividedBox and when it is loaded, the cursor does not show the proper move indicator (-| |-) that it should when hovering over the divider; the cursor disappears. If I open the subsystem app separately, the behavior is correct. Any ideas??? Workarounds??? You I think it's because it looks for the cursor asset in the main SWF. You could force the cursor to be included by having a HDividedBox in your main app. ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:HDividedBox width=0 height=0 / !-- subapp contains HDividedBox whose resize handle is now showing -- mx:Loader source=subapp.swf / /mx:Application You could also embed the asset directly using the [Embed] directive. Manish
Re: [flexcoders] cursor priority problems
Andrew Spaulding wrote: For example the loaded app has a HDividedBox and when i place the mouse over the resize bar it disappears! I also have this same behaviour in my custom component, even when setting the cursor to the highest priority. Is there a workaround for this? I just posted this to another thread, but here again: ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:HDividedBox width=0 height=0 / !-- subapp contains HDividedBox whose resize handle is now showing -- mx:Loader source=subapp.swf / /mx:Application The asset needs to be in the main SWF. You can also embed it directly: ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script // Pull this in because it's needed by a subapp [Embed(symbol=mx.skins.cursor.HBoxDivider)] var hBoxDividerAsset:String; /mx:Script !-- subapp contains HDividedBox whose resize handle is now showing -- mx:Loader source=subapp.swf / /mx:Application Manish
Changes to unknown property will not be detected.
What does this error message mean? It shows up on the browser when running the application. I have a datagrid with the following code: mx:DataGrid id=dg3 dataProvider={my_list.dataValues} width=100% creationCompleteEffect=Fade This error comes up after using {my_list.dataValues} as the dataProvider. Thanks.
RE: [flexcoders] Changes to unknown property will not be detected .
It means that it doesnt know the type of my_list and therefore cant figure out how to detect changes to the dataValues property. http://livedocs.macromedia.com/flex/15/flex_docs_en/0697.htm Matt From: dhiren9 [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26,2005 2:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Changes to unknown property will not be detected. What does this error message mean? It shows up on the browser when running the application. I have a datagrid with the following code: mx:DataGrid id=dg3 dataProvider={my_list.dataValues} width=100% creationCompleteEffect=Fade This error comes up after using {my_list.dataValues} as the dataProvider. Thanks.
Re: Changes to unknown property will not be detected .
Thanks Matt. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: It means that it doesn't know the type of my_list and therefore can't figure out how to detect changes to the dataValues property. http://livedocs.macromedia.com/flex/15/flex_docs_en/0697.htm http://livedocs.macromedia.com/flex/15/flex_docs_en/0697.htm Matt _ From: dhiren9 [mailto:[EMAIL PROTECTED] Sent: Saturday, February 26, 2005 2:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Changes to unknown property will not be detected. What does this error message mean? It shows up on the browser when running the application. I have a datagrid with the following code: mx:DataGrid id=dg3 dataProvider={my_list.dataValues} width=100% creationCompleteEffect=Fade This error comes up after using {my_list.dataValues} as the dataProvider. Thanks. Yahoo! Groups Sponsor ADVERTISEMENT http://us.ard.yahoo.com/SIG=1291tbk69/M=298184.6018725.7038619.30011 76/D=gr oups/S=1705007207:HM/EXP=1109542065/A=2593423/R=0/SIG=11el9gslf/*http :/www.n etflix.com/Default?mqso=60190075 click here http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2593423/rand=462029492 _ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! http://docs.yahoo.com/info/terms/ Terms of Service.
Re: [flexcoders] MVC Framework for flex
On 26/02/2005, at 1:44 AM, Abdul Qabiz wrote: There is another RIA framework called Ariaware made by Aral. Not sure, if it works with Flex, but it's good for Flash no doubt. Yes, Aral has a sample Flex application written in ARP, and we've used Cairngorm on a Flash project - they mainly differ in the way the views interact with the controller - Aral has strong views against view helpers and embedding any code in mxml files. Robin http://www.rocketboots.com.au Professional Services for Macromedia Development Teams