[flexcoders] Re: Combobox like on http://www.bombaysapphire.com
--- In flexcoders@yahoogroups.com, yonghan79 yongha...@... wrote: Hi all,i wonder does anyone ever before create combobox like the one here bombaysapphire.com born detail combobox http://www.bombaysapphire.com .What did the creator used?Thanks a lot.. Probably this helps you: http://www.strawberrypixel.com/blog/flexwheel-component-page/
[flexcoders] How to know which DisplayObjects are underneath another?
Let's say you have a Canvas in which you create multiple instances of a Circle randomly positioned. Then you want to know which Circles are underneath the top most Circle (talking in z-order terms) in order to hide them all. Could you share an example of this? I would really appreciate any guidance
[flexcoders] Re: How to know which DisplayObjects are underneath another?
Thanks for you fast response. Your suggestion works but it is not what I'm looking for. I'm sorry I guess I didn't explain well. So here I come again: Taking into account my previous example (the one with a Canvas and multiple Circles positioned randomly)...I need to hide all those Circles that are totally overlapped by other Circles. Could someone help me with this? --- In flexcoders@yahoogroups.com, Lushen Wu l...@... wrote: huhgawz, I think most UIComponents subclass DisplayObjectContainer, which has a method getChildIndex #getChildIndex%28%29(child:DisplayObject ../../flash/display/DisplayObject.html):int ../../int.html so call this to find the child index (basically z-order) of the lowest-ordered circle you want to have visible, then iterate all the Children underneath that index using the property numChildren and method getChildAt #getChildAt%28%29(index:int ../../int.html):DisplayObject ../../flash/display/DisplayObject.html and set them visible=false ref: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html Hope that helps.. Lushen On 12/24/2008 12:50 PM, huhgawz wrote: Let's say you have a /Canvas/ in which you create multiple instances of a /Circle/ randomly positioned. Then you want to know which /Circles/ are underneath the top most /Circle/ (talking in /z-order/ terms) in order to hide them all. Could you share an example of this? I would really appreciate any guidance
[flexcoders] Re: Integrating MapServer with Flex
Did you share your code? Can I have a copy as well? Thanks Huhgawz --- In flexcoders@yahoogroups.com, Juan Carlos M. [EMAIL PROTECTED] wrote: We have also managed to use modestmaps with a WMS map server, and all we hat to do was to write a new map provider for the WMS map server. Was not to hard. ;-) Regards Markus Hi Markus... can you share the source code of your WMS map provider? Thanks for your help. Regards JC --- In flexcoders@yahoogroups.com, kramus0 kramus0@ wrote: Hi, just a short clarification. :-) Yes, modestmaps supports actionscript 3, but you have to check out the new AS3 source from trunk. You can find it at: http://modestmaps.mapstraction.com/trac/browser/trunk --- In flexcoders@yahoogroups.com, paulh paul.hastings@ wrote: kramus0 wrote: integrated several map providers in a map component using actionscript 3. modestMap supports flex? i thought it was just AS2? back to the original question, we've experimented w/mapserver via coldfusion/mapscript using flex (but this was a very old version of java mapscript that worked w/an open-source mapscript CFC). see: http://mapserver.gis.umn.edu/docs/howto/coldfusion for info. if you don't want a serverside app like cf talking to mapserver, i think you might be able to get at it via OGC Web Services (WMS). maybe a good place to start: http://mapserver.gis.umn.edu/docs/howto/wms_server/ other how-to's: http://mapserver.gis.umn.edu/docs/howto we've built production systems using flex against esri's arcIMS (again using coldfusion CFC to talk to arcIMS's java connector). it was fairly easy.
[flexcoders] Popped Up Menu
How to know when a menu is popped up? Which property indicates it? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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] Container background with blur filter
Hi flexcoders Is there a way to apply a blur filter to a container's background? For example a HBox with blured background (just the background). I wish to simulate the same effect that have the windows in Windows Vista operating system. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * 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 set the icon of an Alert via ActionScript? (Flex 2 beta 1)
Hi flexcoders Does anyone knows how to set the icon of an Alert via ActionScript? -- 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] [Flex2] How to use the Loader control to load a Flex application?
I've testing since Flex 2 Alpha 1 without success Please post an example of how to use the Loader control to load a Flex application Thanx -- 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] Barcode 128 Flex Component
Hi Flex Coders I want to share with you this flex component to generate barcodes. At the moment it just generate type 128 barcodes. Maybe the next version generate another barcode types... Enjoy it :) = Barcode.as == /** * Class to generate barcodes * At this version, just type 128 barcodes could be generated * * @author Antonio I. Aguilar J. * @version 2006.01.25 */ class Barcode extends mx.containers.Canvas { // Variables public var codeType:String=128; public var showCode:Boolean=true; // Methods public function generate(code:String):Void { if(code.length==0) throw new Error(Invalid code: +code); this.destroyAllChildren(); switch(this.codeType.toLowerCase()) { case 128: var C128:Array=new Array(); C128[0]=11011001100; C128[1]=11001101100; C128[2]=11001100110; C128[3]=10010011000; C128[4]=10010001100; C128[5]=10001001100; C128[6]=10011001000; C128[7]=10011000100; C128[8]=10001100100; C128[9]=11001001000; C128[10]=11001000100; C128[11]=11000100100; C128[12]=10110011100; C128[13]=10011011100; C128[14]=10011001110; C128[15]=10111001100; C128[16]=10011101100; C128[17]=10011100110; C128[18]=11001110010; C128[19]=11001011100; C128[20]=11001001110; C128[21]=11011100100; C128[22]=11001110100; C128[23]=11101101110; C128[24]=11101001100; C128[25]=11100101100; C128[26]=11100100110; C128[27]=11101100100; C128[28]=11100110100; C128[29]=11100110010; C128[30]=11011011000; C128[31]=11011000110; C128[32]=11000110110; C128[33]=10100011000; C128[34]=10001011000; C128[35]=10001000110; C128[36]=10110001000; C128[37]=10001101000; C128[38]=10001100010; C128[39]=11010001000; C128[40]=11000101000; C128[41]=11000100010; C128[42]=10110111000; C128[43]=10110001110; C128[44]=10001101110; C128[45]=10111011000; C128[46]=10111000110; C128[47]=10001110110; C128[48]=11101110110; C128[49]=11010001110; C128[50]=11000101110; C128[51]=11011101000; C128[52]=11011100010; C128[53]=11011101110; C128[54]=11101011000; C128[55]=11101000110; C128[56]=11100010110; C128[57]=11101101000; C128[58]=11101100010; C128[59]=11100011010; C128[60]=1110010; C128[61]=1100110; C128[62]=0001010; C128[63]=1010011; C128[64]=1011100; C128[65]=1001011; C128[66]=1001110; C128[67]=1101100; C128[68]=1100110; C128[69]=1011001; C128[70]=1011100; C128[71]=1001101; C128[72]=1001110; C128[73]=1110100;
[flexcoders] Re: How to deselect a RadioButtonGroup?
Exactly!!! I need to reset a form... And the trick works!!! Thank you :) --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Though in looking at the name of your radio button I'm guessing you're resetting a form, in which case the selectedRadio trick is the thing to try. From: Matt Chotin Sent: Thursday, December 08, 2005 10:19 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] How to deselect a RadioButtonGroup? The only way to do this is undocumented and therefore probably won't work in Flex 2.0. Set rgpSex.selectedRadio = undefined; Normally I don't think a UI lets you de-select a radio group though, instead you should have an option for none Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of huhgawz Sent: Wednesday, December 07, 2005 6:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to deselect a RadioButtonGroup? How to deselect a RadioButtonGroup? I try it using the next code but fails. After the application is loaded, I click the getValue button and the label displays Value: undefined (this behaviour is ok). Then I click the Female RadioButton and click the getValue button and the label displays Value: F (this behaviour is ok too). Finally, I click the setUndefined button to make the RadioButtonGroup selection undefined. In fact, the RadioButtonGroup has nothing selected visually but when I click the getValue button the label displays Value: F. I wish the label displays again Value: undefined ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function btnGetValue_Click():Void { lblValue.text=Value: +rgpSex.selectedData.toString(); } // btnGetValue_Click function btnSetUndefined_Click():Void { rgpSex.selection.selected=false; rgpSex.selection=undefined; } // btnSetUndefined_Click ]] /mx:Script mx:RadioButtonGroup id=rgpSex / mx:RadioButton id=optM label=Male groupName=rgpSex data=M / mx:RadioButton id=optF label=Female groupName=rgpSex data=F / mx:Button label=getValue click=btnGetValue_Click() / mx:Button label=setUndefined click=btnSetUndefined_Click() / mx:Label id=lblValue / /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 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+des ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We b+site+design+developmentw2=Computer+software+developmentw3=Software+d esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= Web+site+design+developmentw2=Computer+software+developmentw3=Software +design+and+developmentw4=Macromedia+flexw5=Software+development+best+ practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ developmentw2=Computer+software+developmentw3=Software+design+and+deve lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practice; w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw are+design+and+developmentw4=Macromedia+flexw5=Software+development+be st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw YAHOO! GROUPS LINKS * Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send
[flexcoders] How to deselect a RadioButtonGroup?
How to deselect a RadioButtonGroup? I try it using the next code but fails. After the application is loaded, I click the getValue button and the label displays Value: undefined (this behaviour is ok). Then I click the Female RadioButton and click the getValue button and the label displays Value: F (this behaviour is ok too). Finally, I click the setUndefined button to make the RadioButtonGroup selection undefined. In fact, the RadioButtonGroup has nothing selected visually but when I click the getValue button the label displays Value: F. I wish the label displays again Value: undefined ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function btnGetValue_Click():Void { lblValue.text=Value: +rgpSex.selectedData.toString(); } // btnGetValue_Click function btnSetUndefined_Click():Void { rgpSex.selection.selected=false; rgpSex.selection=undefined; } // btnSetUndefined_Click ]] /mx:Script mx:RadioButtonGroup id=rgpSex / mx:RadioButton id=optM label=Male groupName=rgpSex data=M / mx:RadioButton id=optF label=Female groupName=rgpSex data=F / mx:Button label=getValue click=btnGetValue_Click() / mx:Button label=setUndefined click=btnSetUndefined_Click() / mx:Label id=lblValue / /mx:Application Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Can you put an Adobe Acrobat file on a flex page
I do it using an IFrame. This article helps you: http://coenraets.com/viewarticle.jsp?articleId=95 --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Do you do it the same way you do a picture Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Irregular Tables and TreeTables
Ok guys...here is my first approach. I wish to share it with all of you but please contribute to enhance it.Maybe it could be more dynamic. Actually it has some minor visual bugs but it could be a good start...main.mxml-?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:hz="*" mx:Script ![CDATA[ import mx.controls.Alert; import ProductDetailRenderer;function chkAll_Click():Void { switch(chkAll.selected) {case true: lstProducts.checkAll(); break;case false: lstProducts.uncheckAll(); break; } // switch lblChecked.text=lstProducts.selectedCount+""; } // chkAll_Clickfunction lstProducts_checkClick(event):Void { Alert.show(event.index+" : "+event.selected); lblChecked.text=lstProducts.selectedCount+""; } // lstProducts_checkClick() ]] /mx:Script mx:Model id="xmlProducts" product nameFanta/name price10/price descriptionOrange Soda/description /product product nameCoca Cola/name price20/price descriptionBlack Soda/description /product product nameTequila/name price30/price descriptionMexican drink/description /product product nameVodka/name price40/price descriptionRussian drink/description /product product namePulque/name price60/price descriptionAnother mexican drink/description /product /mx:Model mx:CheckBox id="chkAll" label="Check All" click="chkAll_Click()" / mx:Button click="lstProducts.toggleAll()" label="Toggle All" / mx:Button click="lstProducts.checkByIndex(1)" label="checkByIndex(1)" / mx:Button click="lstProducts.enableCheckboxByIndex(1)" label="enableCheckboxByIndex(1)" / mx:Button click="lstProducts.disableCheckboxByIndex(1)" label="disableCheckboxByIndex(1)" / mx:Button click="lstProducts.uncheckByIndex(0)" label="uncheckByIndex(0)" / hz:ExpandableCheckboxCellList id="lstProducts" width="400" height="150" labelWidth="100" linkHeaderText="Name" labelHeaderText="Price" linkField="name" labelField="price" dataProvider="{xmlProducts.product}" checkClick="lstProducts_checkClick(event)" showHeaderCheckbox="true" / mx:Label id="lblChecked" text="" //mx:ApplicationExpandableCheckboxCellList.mxml-?xml version="1.0" encoding="utf-8"?mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:hz="*" borderStyle="solid" backgroundColor="#FF" tabEnabled="true" width="100%" height="100%" minWidth="150" minHeight="150" marginTop="0" marginBottom="0" marginLeft="0" marginRight="0" verticalGap="0" horizontalGap="0" hScrollPolicy="off" vScrollPolicy="off" mx:Metadata [Event("checkClick")] /mx:Metadata mx:Script ![CDATA[ public var alternateColors:Boolean=true; public var dataProviderbject; public var detailRendererbject; public var headerCheckboxTooltip:String="Check / uncheck all"; public var image:String; public var labelField:String; public var labelHeaderText:String; public var labelWidth:Number=100; public var linkField:String; public var linkHeaderText:String; public var selectedCount:Number=0; public var selectedIndices:Array=new Array(); public var showHeaders:Boolean=true; public var showHeaderCheckbox:Boolean=true; public var showLabel:Boolean=true;// // Events // private function chkAll_Click(event):Void { switch(chkAll.selected) {case true: checkAll(); break;case false: uncheckAll(); break; } // switch } // chkAll_Clickprivate function chkCell_CheckClick(event):Void { selectedCount=0; selectedIndices.length=0; for(var i:Number=0;ichkCell.length;i++) {if(chkCell[i].isChecked()) { selectedCount++; selectedIndices.push(i);} // if } // for chkAll.selected=(selectedCount==chkCell.length); dispatchEvent({type:'checkClick',index:event.index,selected:event.selected}) } // chkCell_CheckClickprivate function header_CreationComplete():Void { var gradientHeight:Number=header.height; var gradientWidth:Number=1080; var colors:Array=[0xE6,0xff]; var alphas:Array=[100,100]; var ratios:Array=[0,255]; var matrixbject={matrixType:"box",x:0,y:0,w:gradientWidth,h:gradientHeight,r:degreesToRadians(90)}; header.createEmptyMovieClip("gradientBackground",0); header["gradientBackground"].beginGradientFill("linear",colors,alphas,ratios,matrix); header["gradientBackground"].lineTo(gradientWidth,0); header["gradientBackground"].lineTo(gradientWidth,gradientHeight); header["gradientBackground"].lineTo(0,gradientHeight); header["gradientBackground"].lineTo(0,0); header["gradientBackground"].endFill(); } // header_CreationComplete // // Functions //
[flexcoders] Re: WebServices via ActionScript
It works excelent!!! But how can i set the webservice params programatically? I mean, if for example getCurrentSong(p1,p2) need a pair of parameters or moreHow can i set them via ActionScript? --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Starting a new thread since we hijacked the other one. I tested this and it works in Flex 1.5 and Flash 8. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; initialize=getFunky() mx:Script ![CDATA[ import mx.services.WebService; import mx.services.PendingCall; var myWebServiceObject:WebService; var MyPendingCallObject:PendingCall; public var debug_str:String = ; function getFunky() { d(WebService: + WebService); var theURL = http://radio.tapper.net/artist.cfc?wsdl;; myWebServiceObject = new WebService(theURL); MyPendingCallObject = myWebServiceObject.getCurrentSong(); d(Made call...); MyPendingCallObject.onResult = function(result) { mx.core.Application.application.d(result: + result); for(var p in result) { mx.core.Application.application.d(p + : + result[p]); } } MyPendingCallObject.onFault = function(fault) { mx.core.Application.application.d(fault: + fault); for(var p in fault) { mx.core.Application.application.d(p + : + fault[p]); } } } function d(o) { debug_str += o + \n; } ]] /mx:Script mx:TextArea text={debug_str} width=400 height=300 / /mx:Application Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: TextInput/List matching
Maybe this help you: http://www.richinternetapps.com/archives/79.html --- In flexcoders@yahoogroups.com, Matt Boles [EMAIL PROTECTED] wrote: Anyone have code to share to accomplish the following: 1.A blank TextInput and populated List controls are used 2.As the user types into the TextInput, the List control dynamically displays only words than match what the user has entered thus far into the TextInput 3.When the Backspace key is pressed the List also updates Hoping someone has already fought this battle. Thanks- Matt Matthew S. Boles Principal Instructor Macromedia [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Redraw or Refresh DataGrid
Hi all, The idea is to change the height of certain row. The next code does it well but after change the height of that row the grid need to be redraw. So I add the next line inside resizeFirstRow function but nothing is happen: grdProducts.redraw(); Someone help me pleaseThanks in advance... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Model id=ModelProducts product nameCoca Cola/name price10/price /product product namePepsi/name price12/price /product /mx:Model mx:Script ![CDATA[ function resizeFirstRow() { var row:mx.controls.gridclasses.DataGridRow=grdProducts.rows[0]; row.height=40; } // resizeFirstRow ]] /mx:Script mx:Button label=ResizeFirstRow click=resizeFirstRow() / mx:DataGrid id=grdProducts width=90% height=150 dataProvider={ModelProducts.product} variableRowHeight=true mx:columns mx:Array mx:DataGridColumn columnName=name headerText=Name / mx:DataGridColumn columnName=price headerText=Price / /mx:Array /mx:columns /mx:DataGrid /mx:Application Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/