[flexcoders] Re: Loading animation between LCDS page fetched
I think i found the answer, need to look at the ItemPendingError -Aasim --- In flexcoders@yahoogroups.com, Aasim aasimmo...@... wrote: Hi, I need to show a loading animation while scrolling in a LCDS paging enabled datagrid. Is there a way to know when a new page is requested in flex while scrolling? and when data is returned back? Regards, Aasim
[flexcoders] Loading animation between LCDS page fetched
Hi, I need to show a loading animation while scrolling in a LCDS paging enabled datagrid. Is there a way to know when a new page is requested in flex while scrolling? and when data is returned back? Regards, Aasim
[flexcoders] Re: ComboBox dropdown position
Hi Alex, I have filed an enhancement request in JIRA. However, upon looking into the function displayDropdown(), I found that the condition has been handled if the dropdown is exceeding the height of the screen but they have missed out handling if the dropdown width exceeds the screen width. I have got a workaround temporarily by changing the position of the dropdown.x on the open event, had to sacrifice on the open and close transition though. -Aasim --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: There is no official API to do that. Feel free to file an enhancement request. You could probably use some undocumented APIs and override onTweenUpdate and position the dropdown there. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aasim Sent: Tuesday, March 04, 2008 8:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox dropdown position Hi Group, how could i change the combobox dropdown x position such that it opens aligned to the right edge rather than the left edge of the combobox control? The reason i would want such a functionality is since my combobox is placed to the right edge of the application and the dropdown is getting truncated since it has a larger width specified than the combobox control. regards, Aasim
[flexcoders] ComboBox dropdown position
Hi Group, how could i change the combobox dropdown x position such that it opens aligned to the right edge rather than the left edge of the combobox control? The reason i would want such a functionality is since my combobox is placed to the right edge of the application and the dropdown is getting truncated since it has a larger width specified than the combobox control. regards, Aasim
[flexcoders] Re: Datagrid headers without separators
Thanks Peeyush and Tom. It works now. -Aasim --- In flexcoders@yahoogroups.com, Peeyush Tuli [EMAIL PROTECTED] wrote: The way you are doing it will do it only once, then the view is refreshed to original. You need to override the protected method updateDisplayList and then call clearSeparators. updateDisplayList is the method invoked by flex itself to update the view of a component. override protected function updateDisplayList (unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); clearSeparators(); } ~Peeyush On Feb 20, 2008 9:19 AM, Aasim [EMAIL PROTECTED] wrote: I am still unable to do it...Here is my code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=init() xmlns:classes=classes.* mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var arr:ArrayCollection; private function init():void{ arr=new ArrayCollection([ {name:name1,age:21}, {name:name2,age:22}, {name:name3,age:23}, {name:name4,age:24} ]) } private function onComplete():void{ dg1.clearSep(); } ]] /mx:Script classes:CustomDG id=dg1 dataProvider={arr} creationComplete=onComplete() verticalGridLines=false / /mx:Application and here is my custom extended datagrid package classes { import mx.controls.DataGrid; import mx.controls.Alert; public class CustomDG extends DataGrid { public function CustomDG() { super(); } public function clearSep():void { clearSeparators(); } } } Could you tell me where I am going wrong? -Aasim --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tom Chiverton tom.chiverton@ wrote: On Tuesday 19 Feb 2008, Aasim wrote: I need to create a Datagrid without the separators in the datagrid headers. I have seen that there is a protected function clearSeparators() Can this be used? If it's protected, you can only call it from a subclass. So create a sub class with a public method doClearSperators() and have that call clearSperatators(). -- Tom Chiverton Helping to competently consolidate intuitive CEOs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Horizontal Menu??
Hi, Have you come across a horizontal menu? The menu should have items stacked horizontally next to each other rather than being stacked vertically. -Aasim
[flexcoders] Horizontal Menu?
Hi, Has anyone made a horizontal menu componnet which has the items arranged horizontally rather than stacked vertically? -Aasim
[flexcoders] Datagrid headers without separators
Hi, I need to create a Datagrid without the separators in the datagrid headers. I have seen that there is a protected function clearSeparators() Can this be used? I am a novice at extending components How should i be using this function? Regards, Aasim
[flexcoders] Re: Datagrid headers without separators
I am still unable to do it...Here is my code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=init() xmlns:classes=classes.* mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var arr:ArrayCollection; private function init():void{ arr=new ArrayCollection([ {name:name1,age:21}, {name:name2,age:22}, {name:name3,age:23}, {name:name4,age:24} ]) } private function onComplete():void{ dg1.clearSep(); } ]] /mx:Script classes:CustomDG id=dg1 dataProvider={arr} creationComplete=onComplete() verticalGridLines=false / /mx:Application and here is my custom extended datagrid package classes { import mx.controls.DataGrid; import mx.controls.Alert; public class CustomDG extends DataGrid { public function CustomDG() { super(); } public function clearSep():void { clearSeparators(); } } } Could you tell me where I am going wrong? -Aasim --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 19 Feb 2008, Aasim wrote: I need to create a Datagrid without the separators in the datagrid headers. I have seen that there is a protected function clearSeparators() Can this be used? If it's protected, you can only call it from a subclass. So create a sub class with a public method doClearSperators() and have that call clearSperatators(). -- Tom Chiverton Helping to competently consolidate intuitive CEOs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Duplicating controls dynamically
Hi, I am new to Flex. I would like develop an application which has a number of radio buttons. How could i possibly duplicate them dynamically? Is there anyhing like duplicateMovieClip (as in Flash IDE). Please suggest. Regards, Aasim Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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/
RE: [flexcoders] Duplicating controls dynamically
I achieved that but how do I assign unique IDs to each of them. Could you demonstrate this via a small snippet of code. Regards, Aasim From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Lu Sent: Tuesday, June 13, 2006 5:47 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Duplicating controls dynamically no duplicateMovie() anymore, try this whenever you need a new radio button. var r:RadioButton = new RadioButton(); this.addChild( r ); On 6/13/06, Aasim [EMAIL PROTECTED] wrote: Hi, I am new to Flex. I would like develop an application which has a number of radio buttons. How could i possibly duplicate them dynamically? Is there anyhing like duplicateMovieClip (as in Flash IDE). Please suggest. Regards, Aasim __._,_.___ -- 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. __,_._,___