[flexcoders] HorizontalList and itemRenderer
I'm struggling to get items in a HorizontalList to be full height (as in height=100%, which is not honored by the HorizontalList container). I'm using an external itemRenderer based on VBox, but can't get the items to be the fill the height of the HorizontalList. If the HorizontalList is set to height=100%, how do I get the items in the list to also be 100% height? Here's my simple code, with borders: SampleHList.mxml: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:HorizontalList columnCount=3 itemRenderer=components.SampleView height=100% width=100% borderStyle=solid mx:ArrayCollection mx:Object category=Topic 1/ mx:Object category=Topic 2/ mx:Object category=Topic 3/ mx:Object category=Topic 4/ /mx:ArrayCollection /mx:HorizontalList /mx:Application And the contents of components/SampleView.mxml: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; borderStyle=solid borderColor=red height=100% mx:Label text={data.category}/ mx:Spacer height=100%/ mx:Label text=end of topic/ /mx:VBox
Re: [flexcoders] HorizontalList and itemRenderer
You will need to compute and assign rowHeight. Don’t forget to factor in viewMetrics.top and bottom. % are not honored in ItemRenderers. They are supposed to size to their data, and not external inputs. You could get the renderer to report a measuredHeight by overriding measure() but you’d have to factor in the app’s padding and gaps and other stuff, so I think computing rowHeight is better. On 3/12/10 12:49 PM, Rodney Smith rodney...@gmail.com wrote: I'm struggling to get items in a HorizontalList to be full height (as in height=100%, which is not honored by the HorizontalList container). I'm using an external itemRenderer based on VBox, but can't get the items to be the fill the height of the HorizontalList. If the HorizontalList is set to height=100%, how do I get the items in the list to also be 100% height? Here's my simple code, with borders: SampleHList.mxml: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:HorizontalList columnCount=3 itemRenderer=components.SampleView height=100% width=100% borderStyle=solid mx:ArrayCollection mx:Object category=Topic 1/ mx:Object category=Topic 2/ mx:Object category=Topic 3/ mx:Object category=Topic 4/ /mx:ArrayCollection /mx:HorizontalList /mx:Application And the contents of components/SampleView.mxml: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; borderStyle=solid borderColor=red height=100% mx:Label text={data.category}/ mx:Spacer height=100%/ mx:Label text=end of topic/ /mx:VBox -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] HorizontalList itemRenderer size does not resize on refresh
I am using a horizontallist as an answer bar in an e-learning app. The designer wants the answer boxes to stretch according to content (all should have the same size, and there is a minimum). This works fine when the dataProvider is set. BUT there is another requirement: after a wrong answer is clicked, there is feedback and the answers are scrambled. protected function tryAgain(event:Event):void { answers=CollectionUtils.noRepeatRandomizeXMLList(answers); answerListRef.dataProvider=answers; } After the scrambling, the text values are represented in their new places, and the itemRenderers are resized--but all at the minimum size, so any over the min size need scrollbars. The resize code is called it seems before the data is set. I should mention that I have a similar vertical list, with variableRowHeight set to true as well, and there the same code works fine. How do I force the HorizontalList to resize the renderers en masse after the new text values are set?
Re: [flexcoders] horizontallist scrolltoindex question
Thanks Alex, that did it. On Fri, Aug 28, 2009 at 2:47 AM, Alex Harui aha...@adobe.com wrote: increment horizontalScrollPosition? Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *fotis.chatzinikos *Sent:* Thursday, August 27, 2009 4:18 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] horizontallist scrolltoindex question Any ideas how to simulate scroll bar arrow clicks? I.E. moving a lists element one - by - one and not by 'page' as scrolltoindex does. By page i mean the following: list contains 5 elements scroll to index 0-5 does nothing visually, while scroll to index 6 brings 6 as the first element and you can see 7,8,9 and 10 The strange thing is that moving backwords works perfectly ok... So, anyway to make this : 1 2 3 4 5 -- into -- 2 3 4 5 6 ? Thanks, Fotis -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation fotis.chatzini...@gmail.com,
[flexcoders] horizontallist scrolltoindex question
Any ideas how to simulate scroll bar arrow clicks? I.E. moving a lists element one - by - one and not by 'page' as scrolltoindex does. By page i mean the following: list contains 5 elements scroll to index 0-5 does nothing visually, while scroll to index 6 brings 6 as the first element and you can see 7,8,9 and 10 The strange thing is that moving backwords works perfectly ok... So, anyway to make this : 1 2 3 4 5 -- into -- 2 3 4 5 6 ? Thanks, Fotis
RE: [flexcoders] horizontallist scrolltoindex question
increment horizontalScrollPosition? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fotis.chatzinikos Sent: Thursday, August 27, 2009 4:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] horizontallist scrolltoindex question Any ideas how to simulate scroll bar arrow clicks? I.E. moving a lists element one - by - one and not by 'page' as scrolltoindex does. By page i mean the following: list contains 5 elements scroll to index 0-5 does nothing visually, while scroll to index 6 brings 6 as the first element and you can see 7,8,9 and 10 The strange thing is that moving backwords works perfectly ok... So, anyway to make this : 1 2 3 4 5 -- into -- 2 3 4 5 6 ? Thanks, Fotis
[flexcoders] HorizontalList ItemRnderers Mysterious Horizontal Gap
I'm trying to develop a UI piece that consists of a HorizontalList using an Image control as an ItemRenderer. Here is the code: http://pastie.org/408846 For the life of me I cannot figure out how to get rid of a single pixel gap that gets put around each Image control. I've debugged a bit, and found out that even though the source image is 126px, and I've set the columnWidth to 126px, Flex is shrinking the Image control to 124px. I understand that if there was no gap, you would not be able to see the roll over tile, but that's my point. I want a continuous strip of images. Anyone got any idea what is going on here?
RE: [flexcoders] HorizontalList ItemRnderers Mysterious Horizontal Gap
Try: paddingLeft/Right/Top/Bottom = 0 Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of adamduro Sent: Thursday, March 05, 2009 3:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HorizontalList ItemRnderers Mysterious Horizontal Gap I'm trying to develop a UI piece that consists of a HorizontalList using an Image control as an ItemRenderer. Here is the code: http://pastie.org/408846 For the life of me I cannot figure out how to get rid of a single pixel gap that gets put around each Image control. I've debugged a bit, and found out that even though the source image is 126px, and I've set the columnWidth to 126px, Flex is shrinking the Image control to 124px. I understand that if there was no gap, you would not be able to see the roll over tile, but that's my point. I want a continuous strip of images. Anyone got any idea what is going on here?
[flexcoders] HorizontalList and variable column width
I have HorizontalList with an item renderer. Is it possible to make the row width as wide as the renderer, as the renderer can have different widths. Something like variableRowHeight but for columns width instead. Thanks.
RE: [flexcoders] HorizontalList and variable column width
Nope sorry. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rameensabiti Sent: Wednesday, July 23, 2008 12:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HorizontalList and variable column width I have HorizontalList with an item renderer. Is it possible to make the row width as wide as the renderer, as the renderer can have different widths. Something like variableRowHeight but for columns width instead. Thanks.
[flexcoders] HorizontalList questions
Hi, I've a couple of question about the HorizontalList component: 1. is there any event which is dispatched when component adds horizontal scrollbar to the display? (horizontalScrollPolicy=auto) 2. How to tell horizontalList to display only full items in the list? I've got custom item renderers and it displays as much of them as possible, clipping the last visible item. Thanks! Cheers, Dmitri.
[flexcoders] HorizontalList image linking problem
Hi Everyone, I am new to Flex and yahoo flexcoders group. Someone pls help me out from my problem. I am using HorizontalList and in that 3 images are there, If I press an each image I need to redirect to some mxml file. I could not able to write any events in inside array object and I have tried with item renders, I can not able to sole this issue. Please help me guys / ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.controls.Alert; [Bindable] [Embed(source=assets/mmrs.png)] public var lan_img1:Class; [Bindable] [Embed(source=assets/mmrs.png)] public var lan_img2:Class; ]] /mx:Script mx:Panel x=10 y=10 width=1004 height=578 layout=absolute title=Welcome mx:Text x=418.5 y=21 text=Hello World! fontFamily=Arial fontSize=24 color=#103841 fontWeight=bold/ mx:HorizontalList id=CameraSelection height=425 columnCount=2 width=958 y=76 toolTip=Select the image to view x=13 mx:dataProvider mx:Array mx:Object label=ABC icon={lan_img1}/ mx:Object label=XYZ icon={lan_img2}/ mx:Object label=DEF icon={lan_img2}/ /mx:Array /mx:dataProvider /mx:HorizontalList /mx:Panel /mx:Application
[flexcoders] HorizontalList drop indicator weirdness
Hello! I have a HorizontalList with drag drop enabled, so you can re-arrange stuff in it. For some reason in HorizontalList, the drop indicator line appears on top of an item instead of on the side of the item like in TileList. I was wondering if there's a way to change this. I was trying to reason why this is happening and my guess is HorizontalList is probably a TileList with direction=vertical and max row set to 1. Thus, it is working as if it is a tall 1-column list and that's why the drop indicator is on top of the item. I appreciate the advice!
[flexcoders] HorizontalList
Good Afternoon, I have a ItemRenderer inside a HorizontalList. The HorizontalList is loaded in a Module. I would like the HorizontalList to be centered under an ApplicationControlBar which will be set to 100% of page width. Could someone tell me the best way to center the HorizontaList under the ApplicationControlBar? In general terms? Thanks.
[flexcoders] HorizontalList shows image place holder instead of image
The code below shows that there are two image tags and one horizontal list. The image tags show the images but the the horizontalList does not. Can anyone see what I am doing wrong. Just an FYI. I am using an example from the flex documenatation. Prior to this the HorizontalList was using the same ArrayCollection that the images are using for a source. I was getting the same result. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() mx:Script ![CDATA[ import mx.controls.Image; import mx.collections.ArrayCollection; import mx.collections.ListCollectionView; [Bindable] [Embed(source=C:/Documents and Settings/nathan/My Documents/Flex Builder 2/nmx/com/golfclubadmin/assets/encoder.png)] public var encoderClass:Class; [Bindable] [Embed(source=C:/Documents and Settings/nathan/My Documents/Flex Builder 2/nmx/com/golfClubadmin/assets/audio.png)] public var audioClass:Class; [Bindable] private var graphicList:ArrayCollection; public static var cat:Array; public function init():void { cat = [new audioClass(), new encoderClass()]; graphicList = new ArrayCollection(cat); /* hl.dataProvider = graphicList; */ } ]] /mx:Script mx:Panel title=HorizontalList Control Example height=75% width=75% paddingTop=10 paddingBottom=10 paddingLeft=10 paddingRight=10 mx:HorizontalList columnWidth=100 rowHeight=100 id=hl x=10 y=30 mx:dataProvider mx:Array mx:Object label=audio Source icon={audioClass}/ mx:Object label=Encoder icon={encoderClass}/ /mx:Array /mx:dataProvider mx:itemRenderer mx:Component mx:Image width=50 height=50/ /mx:Component /mx:itemRenderer /mx:HorizontalList mx:Image id=aud x=0 y=100 width=50 height=50 source={graphicList.getItemAt(0)}/ mx:Image id=enc x=0 y=160 source={graphicList.getItemAt(1)}/ /mx:Panel /mx:Application
RE: [flexcoders] HorizontalList shows image place holder instead of image
It looks like you made a custom renderer that just has an Image. Image doesn't know how to look for an icon property in the dataprovider. You might try customizing the .data setter. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Arizona Sent: Monday, June 04, 2007 11:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HorizontalList shows image place holder instead of image The code below shows that there are two image tags and one horizontal list. The image tags show the images but the the horizontalList does not. Can anyone see what I am doing wrong. Just an FYI. I am using an example from the flex documenatation. Prior to this the HorizontalList was using the same ArrayCollection that the images are using for a source. I was getting the same result. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute creationComplete=init() mx:Script ![CDATA[ import mx.controls.Image; import mx.collections.ArrayCollection; import mx.collections.ListCollectionView; [Bindable] [Embed(source=C:/Documents and Settings/nathan/My Documents/Flex Builder 2/nmx/com/golfclubadmin/assets/encoder.png)] public var encoderClass:Class; [Bindable] [Embed(source=C:/Documents and Settings/nathan/My Documents/Flex Builder 2/nmx/com/golfClubadmin/assets/audio.png)] public var audioClass:Class; [Bindable] private var graphicList:ArrayCollection; public static var cat:Array; public function init():void { cat = [new audioClass(), new encoderClass()]; graphicList = new ArrayCollection(cat); /* hl.dataProvider = graphicList; */ } ]] /mx:Script mx:Panel title=HorizontalList Control Example height=75% width=75% paddingTop=10 paddingBottom=10 paddingLeft=10 paddingRight=10 mx:HorizontalList columnWidth=100 rowHeight=100 id=hl x=10 y=30 mx:dataProvider mx:Array mx:Object label=audio Source icon={audioClass}/ mx:Object label=Encoder icon={encoderClass}/ /mx:Array /mx:dataProvider mx:itemRenderer mx:Component mx:Image width=50 height=50/ /mx:Component /mx:itemRenderer /mx:HorizontalList mx:Image id=aud x=0 y=100 width=50 height=50 source={graphicList.getItemAt(0)}/ mx:Image id=enc x=0 y=160 source={graphicList.getItemAt(1)}/ /mx:Panel /mx:Application
Re: [flexcoders] HorizontalList shows image place holder instead of image
did you try setting source to graphicList.getItemAt(1).source ? best way however will be to override the set data() in your itemRenderer. On 6/5/07, Alex Harui [EMAIL PROTECTED] wrote: It looks like you made a custom renderer that just has an Image. Image doesn't know how to look for an icon property in the dataprovider. You might try customizing the .data setter. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Nathan Arizona *Sent:* Monday, June 04, 2007 11:28 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] HorizontalList shows image place holder instead of image The code below shows that there are two image tags and one horizontal list. The image tags show the images but the the horizontalList does not. Can anyone see what I am doing wrong. Just an FYI. I am using an example from the flex documenatation. Prior to this the HorizontalList was using the same ArrayCollection that the images are using for a source. I was getting the same result. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() mx:Script ![CDATA[ import mx.controls.Image; import mx.collections.ArrayCollection; import mx.collections.ListCollectionView; [Bindable] [Embed(source=C:/Documents and Settings/nathan/My Documents/Flex Builder 2/nmx/com/golfclubadmin/assets/encoder.png)] public var encoderClass:Class; [Bindable] [Embed(source=C:/Documents and Settings/nathan/My Documents/Flex Builder 2/nmx/com/golfClubadmin/assets/audio.png)] public var audioClass:Class; [Bindable] private var graphicList:ArrayCollection; public static var cat:Array; public function init():void { cat = [new audioClass(), new encoderClass()]; graphicList = new ArrayCollection(cat); /* hl.dataProvider = graphicList; */ } ]] /mx:Script mx:Panel title=HorizontalList Control Example height=75% width=75% paddingTop=10 paddingBottom=10 paddingLeft=10 paddingRight=10 mx:HorizontalList columnWidth=100 rowHeight=100 id=hl x=10 y=30 mx:dataProvider mx:Array mx:Object label=audio Source icon={audioClass}/ mx:Object label=Encoder icon={encoderClass}/ /mx:Array /mx:dataProvider mx:itemRenderer mx:Component mx:Image width=50 height=50/ /mx:Component /mx:itemRenderer /mx:HorizontalList mx:Image id=aud x=0 y=100 width=50 height=50 source={graphicList.getItemAt(0)}/ mx:Image id=enc x=0 y=160 source={graphicList.getItemAt(1)}/ /mx:Panel /mx:Application
[flexcoders] HorizontalList ItemRenderer DragDrop
Hello friends, I am having one problem with HorizontalList(HList) drag-drop. 1) Can the items in a horizontal list can have a drag-drop property.I mean like we have in the Super Tab-Navigator where you can change the indexing property or we can change the sequence of the items in the list.. 2)How can i track the components on the HorizontalList if its dragEnabled property is true. Can i keep a track on the dragDrop event of the HorizontalList component. I mean how will come to know that the component which is dropped is either from TileList or from ListBox.How can i distinguish between them.
[flexcoders] HorizontalList over item?
How the heck to I figure out the specific item in a HorizontalList that is being rolled over? What event do I have to listen for? I am trying to pull an index number of the itemRenderer in the list that is rolled over, but I can only seem to get the one that is selected. Please help.
[flexcoders] horizontallist editable=true
Hello, I was expecing to find a editable=true on the HorizontalList just like on a vertical list. Are there any work-arounds to being able to edit the text of list members in a HorizontalList? Thanks, Gray -- 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * 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] horizontallist editable=true
Here is a small example for editable TileList using itemRenderers, its a little unpolished, nevertheless will be a good starting point. This could be easly implemented for horizontal list alsoMain.mxml--- ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=setData() mx:Script ![CDATA[ import mx.collections.ArrayCollection; public var arr:ArrayCollection public function setData():void { arr =new ArrayCollection() for(var i:int=0;i7;i++) { arr.addItem({man:image,id:i}) }tl.dataProvider=arr; } public function saveChange(ix:Number,val:String):void { arr.getItemAt(ix).label=val; } ]]/mx:Script mx:TileList x=172 y=144 width=427 id=tl itemRenderer=MyText/mx:TileList /mx:ApplicationMyText.mxml (itemRenderer)?xml version=1.0 encoding=utf-8?mx:Canvas xmlns:mx= http://www.adobe.com/2006/mxml width=108 height=104mx:Script ![CDATA[ [Bindable] public var _txt:String; [Bindable] public var _ix:Number override public function set data(data:Object):void { _txt=data.man _ix=data.id } private function showEditor():void { lbl.visible=false ti.visible=true; } private function saveIt():void { lbl.text=ti.text; ti.visible=false lbl.visible=true parentApplication.saveChange(_ix,ti.text) } ]]/mx:Script mx:Label x=10 y=36 width=89 id=lbl click=showEditor() text={_txt}/ mx:TextInput x=10 y=32 width=88 id=ti visible=false enter=saveIt() text={_txt} focusOut=saveIt() mouseDownOutside=saveIt()/ /mx:CanvasClick on the text to pop a textinput to edit, on enter the value is committed. the focus handling is not completely done.Hope this helpsHarish On 9/18/06, graysonpierce [EMAIL PROTECTED] wrote: Hello, I was expecing to find a editable=true on the HorizontalList just like on a vertical list. Are there any work-arounds to being able to edit the text of list members in a HorizontalList? Thanks, Gray __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] HorizontalList scroll question
I have a horizontal list that is scrolling, is there a way to programmatically select an item and have it scroll to that selected item? I tried doing something like this. myHorizontalList.hPosition = mySelectedItemsIndex; That doesnt seem to do anything and if I just set the selectedItem its selected just not scrolled to. 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] HorizontalList scroll question
Is this Flex 2? It may be that the selectedItem and selectedIndex arent in sync if you had just set it. You may need to call validateNow() after setting the selectedItem in order for selectedIndex to be correct for the hPosition. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Graham, Jason Sent: Monday, February 27, 2006 12:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HorizontalList scroll question I have a horizontal list that is scrolling, is there a way to programmatically select an item and have it scroll to that selected item? I tried doing something like this. myHorizontalList.hPosition = mySelectedItemsIndex; That doesnt seem to do anything and if I just set the selectedItem its selected just not scrolled to. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] horizontalList
I have an horizontalList that has a cellRenderer made of a VBox containing other components. Is it possible to 'talk' to the hList selected component? I tried with hList.getChildAt(index) but it doesn'treturn anything. I have tried many other things but I am totaly stuck :(( Any idea? Philippe Maegerman -- 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 Computer software testing Macromedia flex Development Software developer 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. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
Re: [flexcoders] horizontalList
I am not sure but what about selectedChild Philippe Maegerman To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: [flexcoders] horizontalList flexcoders@yahoogroups.com 08/17/2005 10:57 AM Please respond to flexcoders I have an horizontalList that has a cellRenderer made of a VBox containing other components. Is it possible to 'talk' to the hList selected component? I tried with hList.getChildAt(index) but it doesn't return anything. I have tried many other things but I am totaly stuck :(( Any idea? Philippe Maegerman -- 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 Computer software Macromedia flex Development testing Software developer 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. -- **STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. -- --- 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. --- Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hvlhls9/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124300806/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] horizontalList
nope, no 'child' function seem to work :(( I managed to do what I wanted throughthe cellRenderer, via the third param passed to 'setValue(str:String, item:Object, sel:Boolean)'. About this parameter, it is supposed to return a boolean, but in fact it is returning a string 'normal', 'selected' or 'highlighted' .. weird Cheers, Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: mercredi 17 août 2005 17:37To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] horizontalList I am not sure but what about selectedChild "Philippe Maegerman" To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: [flexcoders] horizontalList flexcoders@yahoogroups.com 08/17/2005 10:57 AM Please respond to flexcoders I have an horizontalList that has a cellRenderer made of a VBox containingother components.Is it possible to 'talk' to the hList selected component?I tried with hList.getChildAt(index) but it doesn't return anything.I have tried many other things but I am totaly stuck :((Any idea?Philippe Maegerman--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software Macromedia flex Development testing Software developer 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.--**STATEMENT OF CONFIDENTIALITY**This e-mail and any attached files are confidential and intended solely forthe use of the individual to whom it is addressed. If you have receivedthis email in error please send it back to the person that sent it to you.Any views or opinions presented are solely those of author and do notnecessarily represent those the Emakina Company. Unauthorized publication,use, dissemination, forwarding, printing or copying of this email and itsassociated attachments is strictly prohibited.We also inform you that we have checked that this message does not containany virus but we decline any responsability in case of any damage caused byan a non detected virus.-This e-mail message (including attachments, if any) is intended for the useof the individual or entity to which it is addressed and may containinformation that is privileged, proprietary , confidential and exempt fromdisclosure. If you are not the intended recipient, you are notified thatany dissemination, distribution or copying of this communication isstrictly 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 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. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--