[flex_india:34930] Re: Regarding Datagrid Itemrenderer

2012-03-22 Thread Akki
Hi Preeti, I think you want to say the following: There are 2 comboboxes (cb1 and cb2). The possible set of values (dataprovider) for cb1 are: "One", "Two", "Three". When user selects "One"/"Two" from cb1 then the values for cb2 will be: "000" "111" "222" and when user selects "Three" from cb1 th

[flex_india:34864] Re: Need sample Questions

2012-02-16 Thread Akki
know. Thanks, Akhil Mittal On Feb 15, 9:28 pm, Akki wrote: > For questions on Event and Binding you can also check > out:http://flex4java.blogspot.in/2012/02/flex-events-part-one.html > > Thanks, > Akhil > > On Feb 15, 3:15 pm, Sunil Thota wrote: > > > > > >

[flex_india:34853] Re: Need sample Questions

2012-02-15 Thread Akki
For questions on Event and Binding you can also check out: http://flex4java.blogspot.in/2012/02/flex-events-part-one.html Thanks, Akhil On Feb 15, 3:15 pm, Sunil Thota wrote: > Hi Noorul, > >      Below are the links for flex interview Q&A. > > http://www.totalinterviewquestions.com/adobe-flex-

[flex_india:34837] Re: custom button

2012-02-12 Thread Akki
Label Assignment is simple property so you can directly assign that property. Bindable getter/setter are usefl when you want to perform something more than assignment. Corner radius can be set using setStyle but if you want to have some custom control then you can use updateDisplayList() in skin cl

[flex_india:34837] Re: override clone method

2012-02-12 Thread Akki
Hi Nitin, If you want to catch your custom event somewhere and then again want to dispatch then it will first check clone()method availability. If it is not available it will create a new instance of this custom event and then dispatch else it will clone same event. Check out this blog for all do

[flex_india:34828] Re: Purpose of CurrentTarget and Target

2012-02-10 Thread Akki
Hi, I have recently posted about events at the following URL: http://flex4java.blogspot.com/ that will help you in clarifying most of the doubts. If you have any suggestion/comments please share :) Thanks, Akhil On Feb 7, 9:05 pm, Akki wrote: > Hi Noorul, > > They are two different p

[flex_india:34816] Re: Purpose of CurrentTarget and Target

2012-02-07 Thread Akki
Hi Noorul, They are two different properties associated with an event. Consider the following scenario: If an event is dispatched by the button it will go thru capture, target and bubble phase and traverse as shown: Capture Phase Target Bubble Applicatio

[flex_india:34367] Re: what is serialization in flex?

2011-08-09 Thread Akki
Your welcome!! On Aug 9, 9:52 am, kamal wrote: > Thank you so much Akhil > > On Aug 8, 10:22 am, Akki wrote: > > > > > > > > > Serialization is similar to the same concept in java. An example can > > be found there: > > >http://www.krotsch

[flex_india:34367] Re: question i faced in interview that "is as3 supports private constructor ?" is this really a matter ?

2011-08-09 Thread Akki
A Private constructor if used will force the class instance to be initialized from with in the class. As this is private and class cannot be initialized from outside, we use it for some cases e.g. singleton implementation. In AS we dont have private constructor and use enforcer class to implement

[flex_india:34349] Re: what is serialization in flex?

2011-08-08 Thread Akki
Serialization is similar to the same concept in java. An example can be found there: http://www.krotscheck.net/2008/08/15/serializing-and-deserializing-valueobjects-in-flex-and-air.html If you want more of concept, check this: http://en.wikipedia.org/wiki/Serialization Thanks, Akhil On Aug 6, 2

[flex_india:34349] Re: Date format lost while export to excel

2011-08-08 Thread Akki
This is the one I created long time back in Flex 3. Flex 4 has better ways..I hope that will help. http://cookbooks.adobe.com/post_Import_Export_data_in_out_of_a_Datagrid_in_Flex-17223.html Thanks, Akhil Mittal On Aug 5, 10:38 pm, Amruta Kulkarni wrote: > Hi All, > > I am working on reporting a

[flex_india:34349] Re: is actioncript3 supports function overloading?

2011-08-08 Thread Akki
AS does not support overloading but we can use variable arguments feature in AS like shown below: public function myFunction(...args) { //all my passed arguments will be supplied in array args; } myFunction(10); myFunction(10,20); myFunction(10,20,30); and so on...but all the arguments should

[flex_india:34244] Re: Flex's itemrenderer problem when sorting on datagrid

2011-07-26 Thread Akki
Problem seems to be with get/set data (if used by you) in item renderer. Most probably you have put one condition in set data to set some particular characteristic but have forgot else case to undo that. I hope you know that flex create a pool of itemrenderers and reuse them. If you can post the co

[flex_india:31462] Re: DataGrid row background color : Flex 3

2010-09-20 Thread Akki
Deepak, I hope this will help. http://cookbooks.adobe.com/post_When_user_selects_multiple_rows_then_how_to_set_ba-17095.html If you still have any problem, mail me. Cheers!! Akhil Mittal On Sep 19, 2:58 pm, deepak bh wrote: > Thanks alot ! > > > > On Sun, Sep 19, 2010 at 2:38 AM, Vijay wrote

[flex_india:30481] Re: why using event.parent.parent a bad practise ?

2010-06-24 Thread Akki
Its against the very basic design principle of OOP "Loose coupling and High Cohesion". Similarly the practice of using Application.application. ... is highly discouraged. Akhil Mittal On Jun 24, 8:54 am, ramesh1...@gmail.com wrote: > you may end up adding/removing more parent/child. In that case

[flex_india:29697] Re: check and un check a checkbox in a datagrid

2010-04-28 Thread Akki
Hi I would recommed to use an acton script class for item renderer and then use that. The first problem occurs when you try to add and remove items from a collection concurrently. Second problem of scrolling the datagrid (the one you mentiones) occurs when the function set data is used to do some

[flex_india:29639] Re: Export data in datagrid to Excell

2010-04-08 Thread Akki
Hi, If you mean to export the datagrid's dataprovider to an excel file, you can use as3xls from google. That allows you to export as well as import data from excel sheet. I have already implemented that functionality in one of the project. Cheers, Akhil On Apr 8, 7:46 pm, Akshar Kaul wrote: > c

[flex_india:29468] Re: Combo box Item Editor problem

2010-03-30 Thread Akki
Can you elaborate? What do you mean by "visible at background"? If possible share the code, then it will be more comfortable to help. Cheers, Akhil On Mar 30, 3:32 pm, Balki wrote: > Hi. > > Iam using a combo box as item editor and am rendering it dynamically > using action script. My requiremen

[flex_india:29384] Re: Refresh combobox when array collection refreshes

2010-03-26 Thread Akki
Hi, The problem is with the line: vendors = new ArrayCollection(event.result as Array); As per my understanding you must have defined something like So the data provider is bound to the one particular instance of array collection named vendors. If there is any change to it, that would be reflec

[flex_india:29383] Re: AdvanceDataGrid- Filter Help

2010-03-26 Thread Akki
Hi Gaurav, Check this it might help: http://cookbooks.adobe.com/post_MS_Excel_type_filtering_on_columns_of_datagrid_-17082.html Cheers, Akhil On Mar 26, 9:14 am, Akshar Kaul wrote: > i think you will have to write a component that works on the dataprovider of > the datagrid to give this funtion

[flex_india:29161] Re: Navigation in ViewStack

2010-03-14 Thread Akki
If you mean reloading (refreshing) the application, then by default first child of the navigation container will be selected (until and unless overridden). If you want to retain the state (for example bookmark it so that later on you can open in same state)then use deep linking. Regards, Akhil Mit

[flex_india:29158] Re: set tab focus dynamically

2010-03-14 Thread Akki
TextInputs by defulat implement IFocusManagerComponent. You need to set tabEnabled for radio button and some custom coding. That will solve the issue. For further information check : _http://stackoverflow.com/questions/878999/flex-itemrenderer-prevents- use-of-tabbing-between-text-inputs Regards,

[flex_india:28046] Re: flex with java integration

2010-01-28 Thread Akki
Hi What exactly do you wanna know about Flex-Java integration. Preferably use LCDS. Akhil On Jan 27, 8:18 am, lavakumar munja wrote: > hey we can do that using http service... > > On Wed, Jan 27, 2010 at 1:05 AM, sathish kumar > wrote: > > > hi all > > > i dont abt the  flex with java integrati

[flex_india:27933] Re: ArrayCollection with duplicate elements

2010-01-22 Thread Akki
Hi First create six array collections for six comboboxes which will be data providers for them. I am assuming that there can be change in the collection (sourceCollection) e.g. add/remove etc in mean time and you would like to reflect that too. So first add an event listener on that collecion like

[flex_india:22849] Date comparison function

2009-06-09 Thread Akki
/* This function will compare the two dates date_one and date_two. It will return a Boolean value which is 1 if date_one is bigger than that date_two otherwise it wil be zero. To be more specific the variable will be zero if date_one is equal to date_two or date_one is