[Flashcoders] looking for combobox w/ autocomplete
Can anyone point me in the direction of a combobox with autocomplete like that offered as a Dreamweaver extension MX Widgets by interaktonline.com? I'm not looking for the interface so much as an example of how to create a combobox that would select a matching item from a list (based on the first few letters) as you typed until you began to type a unique word at which point you'd be entering a new item. Thanks for any help. Nick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] DataGrid scroll problem and Archive Access
Thanks Bob for the quick reply. The first of the two fixes worked for me publishing to flash player 7 from the IDE and running in Firefox with player 8. Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Chyko Sent: Thursday, December 22, 2005 12:16 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] DataGrid scroll problem and Archive Access Ran into this in the past... Here are 2 workarounds we received from our Macromedia (at the time) support rep. These workarounds fixed the issue in Flash Player 7, but I think they may have been broken by Player 8 - since I've received bug reports about this again since Player 8 has come out - just havent had time to test it properly with Player 8 yet. Please let me know what you find: Subject: Macromedia Product Support Ticket [8286652] Enhanced DataGrid Render issue I have a few cleaner solutions for you to try with the datagrid. The sizing logic for the data grid is inaccurate with dimensions of the datagrid when the datagrid is added to the stage dynamically resulting in duplicate rows. To work around this issue use one of the following lines: .setSize(500, (.rowHeight * .rowCount)+.rowCount); //or .rowCount = (.height - .headerHeight)/.rowHeight; Let me know if that works out for you. -Ken Kenneth J. Toley Flash Support Team Lead Flash ActionScript/Application Architecture Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Appelmans Sent: Thursday, December 22, 2005 3:09 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] DataGrid scroll problem and Archive Access Hi List: I tried searching archives but link from webpage is broken. I have a datagrid that is bound to a dataset where both properties of the binding are property = "dataprovider" when the datagrid displays the resource returned from a MySQL query via amfphp it displays the rows properly until I use the scroll bar of the datagrid. When scrolling, almost all of the rows are replaced with a copy of one of the rows. This happens in Firefox and IE and the Flash IDE when testing the movie. I am using Flash MX 2004 Pro ver 7.2 which I understand had fixed a datagrid dataset issue (Bug # 81829). Thanks in advance of any leads or suggestions. Also, how can I search the archives of Flashcoders? Nick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] DataGrid scroll problem and Archive Access
Hi List: I tried searching archives but link from webpage is broken. I have a datagrid that is bound to a dataset where both properties of the binding are property = "dataprovider" when the datagrid displays the resource returned from a MySQL query via amfphp it displays the rows properly until I use the scroll bar of the datagrid. When scrolling, almost all of the rows are replaced with a copy of one of the rows. This happens in Firefox and IE and the Flash IDE when testing the movie. I am using Flash MX 2004 Pro ver 7.2 which I understand had fixed a datagrid dataset issue (Bug # 81829). Thanks in advance of any leads or suggestions. Also, how can I search the archives of Flashcoders? Nick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] re : dynamic accordion header text
Thanks Rob! labelPath works like a charm with invalidate. This workaround should do for now, I hope it doesn't dredge up any problems in the future. Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Costello, Rob R Sent: Saturday, November 26, 2005 12:49 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] re : dynamic accordion header text I also had trouble dynamically setting accordion headers .. ended up changing a few lines in the accordion class to do it... I didn't recall even finding the labelPath property .. if that works to change the label, but the width is the issue when adding more characters, maybe calling an invalidate method on the accordion or its children would force a redraw and correct the layout? worked to solve a similar issue i had with the scrollpane needing to be invalidated before it added the scroll bars for dynamically added content if not, i could dig up the code if changed .. i do have accordions with dynamic headers ... had to make a couple of minor changes to return types and scope in the accordion class to expose the header mc ... [i remember finding a property which would show the current header text, and could be changed, but the displayed header wouldn't change (... maybe invalidate would have fixed that also? i don't know) anyway, i have a hack that does it, if the invalidate method doesn't fix your width issue cheers Rob Message: 12 Date: Thu, 24 Nov 2005 12:26:19 -0800 From: "Nick Appelmans" <[EMAIL PROTECTED]> Subject: [Flashcoders] dynamic accordion header text To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" How do I allow a user to dynamically change the label in the header of an accordion component? I've used the labelPath.text property but this does not allow me to adjust for text width so the number of characters in the new label has to be <= to the old label or it will get truncated in the header display. I cannot set the width with labelPath.width either. Is this the best way to change a label through user input? myAccordion.header0.labelPath.text = "myNewLabel"; Thanks for any help. Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education & Training. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] dynamic accordion header text
How do I allow a user to dynamically change the label in the header of an accordion component? I've used the labelPath.text property but this does not allow me to adjust for text width so the number of characters in the new label has to be <= to the old label or it will get truncated in the header display. I cannot set the width with labelPath.width either. Is this the best way to change a label through user input? myAccordion.header0.labelPath.text = "myNewLabel"; Thanks for any help. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders