[flex_india:21712] alternatingItemColors in datagrid?

2009-04-21 Thread Karthik K
hi guys i need to know one thing In datagrid can we apply color from an xml or from an array to alternatingItemColors , we are specifying color in array statically but i need dynamically please help -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~~---~--~~ You r

[flex_india:21713] Re: datagrid control

2009-04-21 Thread vrathore
//Use the following code snippet at itemEditEnd="setColWidth(event)" of Datagrid private function setColWith(event : DataGridEvent):void{ var num : Number = event.columnIndex; var textLen : Number = event.target.itemEditorInstance.length; sGrid.columns[num].width = textLen*10; } Cheers Varun R

[flex_india:21714] tilelist question

2009-04-21 Thread jeroen
How would I limit the amount of items in my tilelist...I want to have next 10 etc etc... Are there any examples out there...thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post

[flex_india:21715] Re: tilelist question

2009-04-21 Thread Ravi Mishra
Hi, Check out the following link which demonstrate the paging in datagrid. Going by same way you can achieve what you require in the tileList also. http://gurufaction.blogspot.com/2007/02/flex-datagrid-paging-example-with.html -Ravi On Apr 21, 12:58 pm, jeroen wrote: > How would I limit the a

[flex_india:21716] Re: alternatingItemColors in datagrid?

2009-04-21 Thread karthik Flex
Hi guys I myself got the sloution On Apr 21, 12:33 pm, Karthik K wrote: > hi guys > > i need to know one thing > In datagrid can we apply color from an xml or from an array to > alternatingItemColors , > we are specifying color in array statically > but i need dynamically > > please help > -- >

[flex_india:21717] Re: alternatingItemColors in datagrid?

2009-04-21 Thread karthik Flex
hi guys i my self found the solution On Apr 21, 12:33 pm, Karthik K wrote: > hi guys > > i need to know one thing > In datagrid can we apply color from an xml or from an array to > alternatingItemColors , > we are specifying color in array statically > but i need dynamically > > please help > -

[flex_india:21718] datagrid event

2009-04-21 Thread sudhi
Dear all, I have a datagrid which has an Array Collection as the dataprovider. I want an event when the data has been filled in the datagrid. Only after the datagrid fields are filled this event should be fired. Can someone please tell me such an event for the Datagrid or atleast some other wa

[flex_india:21719] Re: alternatingItemColors in datagrid?

2009-04-21 Thread Ravi Mishra
Can you pls share the solution? -Ravi On Apr 21, 1:57 pm, karthik Flex wrote: > hi guys > > i my self found the solution > > On Apr 21, 12:33 pm, Karthik K wrote: > > > hi guys > > > i need to know one thing > > In datagrid can we apply color from an xml or from an array to > > alternatingItem

[flex_india:21720] Re: datagrid event

2009-04-21 Thread Ravi Mishra
Hi Sudhi, Try ChangeWatcher class. call the Static watch() method where you are assigning you arrayCollection to you datagrid's dataprovider. The last parameter of watch method is an eventListner method for PropertyChange event. PS: Don't forget to call the unwatch() method of changewatcher in t

[flex_india:21721] Re: alternatingItemColors in datagrid?

2009-04-21 Thread Karthik K
hi Ravi i used an array outside for color [*Bindable*] *private* *var* alternateColor:Array=[*"#c8a49d"*,*"#be938b"*]; and in datagrid give value dynamically alternatingItemColors="{alternateColor}" this is just sample and what my req was to put color in xml and load and from the above you ca

[flex_india:21722] Re: reload swf file in swfloader into it's initial state

2009-04-21 Thread v...@t
Hello re-assign source to SWFLoader ... may help you... i have work with flash swf and it works fine private function onBtnClick(event:MouseEvent):void { SWFLoader.source = null; SWFLoader.source = xyz.swf; } Thanks Virat On Apr 20, 1:27 pm, "ukrit...@googlemail.com" wr

[flex_india:21732] Re: datagrid event

2009-04-21 Thread sudhi
Dear Ravi, This is the way i am providing the data to Datagrid. and i am not sure where to use watch class. Can you explain it bit elaboarately. Thanks and regards Sudhi --~--~-~--~~~---~--~~ You received this mes

[flex_india:21733] Re: flex component

2009-04-21 Thread vrathore
There are basically three ways to achieve the following:- 1. Using Refrence of the Screen eg:- public static var screenRefrence : YourScreen; //and then using screenRefrence.variableName ; 2. You can use a singleTon Class and then use the variables in the application decraled in Singleton class

[flex_india:21734] Re: datagrid control

2009-04-21 Thread Akhil Agrawal
i am creating datagrid through actionscript at run time and data is also provided at run time On Apr 21, 12:56 pm, vrathore wrote: > //Use the following code snippet at itemEditEnd="setColWidth(event)" > of Datagrid > private function setColWith(event : DataGridEvent):void{ > var num : Number =

[flex_india:21724] Re: datagrid control

2009-04-21 Thread Akhil Agrawal
and also what is sGrid?? On Apr 21, 12:56 pm, vrathore wrote: > //Use the following code snippet at itemEditEnd="setColWidth(event)" > of Datagrid > private function setColWith(event : DataGridEvent):void{ > var num : Number = event.columnIndex; > var textLen : Number = event.target.itemEditor

[flex_india:21730] jobs in flex

2009-04-21 Thread Flex Baby
hi, i am working flex past 2 months.wat about jobs in flex? my friends told that very limited jobs in flex.very rare to get job in flex. tell ur suggestions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex Indi

[flex_india:21727] problem with dynamic class

2009-04-21 Thread hosonno
hello everybody i want to instance from dynamic class i used this code var testing:Object; var ClassRef:Class; ClassRef= getDefinitionByName("NetworkProviderDomain") as Class; testing=new ClassRef(); my problem is that when the c

[flex_india:21731] dyanamically add rows in paginated datagrid.

2009-04-21 Thread Flex Baby
hi, i want dyanamically add rows in paginated datagrid.anyone provide samples? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroup

[flex_india:21740] Re: window resize

2009-04-21 Thread Jagadish M
Hi Namitha, I have gone through the functionalities of maximize, minimize & restore by keeping 3 Buttons check it out whether it may help you or not. http://www.adobe.com/2006/mxml"; layout=" vertical"> On Thu, Apr 2, 2009 at 8:10 PM, namita wrote: > > hai all > > c

[flex_india:21728] flex component

2009-04-21 Thread mahi
hi, I have declared a global variable in my application and is there any way to access the value of that variable in component and update the value of that variable in my flex components??? Its very urgent.. Somebody please give a solution Thanks in advance Mahi --~--~-~--~~-

[flex_india:21735] Re: jobs in flex

2009-04-21 Thread mahi
hi, I have declared a global variable in my application and is there any way to access the value of that variable in component and update the value of that variable in my flex components??? Its very urgent..please give a solution Thanks in advance Mahi On Apr 21, 11:43 am, Flex Baby wrote: > hi

[flex_india:21737] XML to FLEX combobox

2009-04-21 Thread Sindhu
Hi, Has anyone tried getting data of countries,states,districts from an xml file and displaying it in flex using combo boxes?? Regards, Sindhu. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" g

[flex_india:21738] Re: reload swf file in swfloader into it's initial state

2009-04-21 Thread ukrit...@googlemail.com
Thanks again Virat , I've tried this solution once if you're looking on your system memory it leaks everytimes when you reload swf , that's why I tried to avoid this solution . but if you have any prevent methodology please help me... Thanks Virat On Apr 21, 4:13 pm, "v...@t" wrote: > Hello > >

[flex_india:21725] Re: get instance name from string

2009-04-21 Thread hosonno
i didn't found how to do it but i dicider to use dictonary to solve this problem --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegro

[flex_india:21723] Re: datagrid control

2009-04-21 Thread Akhil Agrawal
thanks for ur rply but i am not getting what is itemEditEnd ??? how to use it On Apr 21, 12:56 pm, vrathore wrote: > //Use the following code snippet at itemEditEnd="setColWidth(event)" > of Datagrid > private function setColWith(event : DataGridEvent):void{ > var num : Number = event.columnInd

[flex_india:21729] Re: SWFloader error handling please help!

2009-04-21 Thread ukrit...@googlemail.com
Thx for your reply what I've done's trying to do follow your code. In case that my test.swf still shows it's termination error on swfloader What am I doing wrong here's my code. http://www.adobe.com/2006/mxml"; layout="absolute"> On Apr 20, 7:43 pm, vrath

[flex_india:21726] Re: Focus on TextInput with cursor

2009-04-21 Thread Sreenivas...........
I want to set the focus with cursor on TextInput not Browser.Can you tell me how to do that. Can you send me the code for this. Thanks & Regards, Srinivas. On Tue, Apr 21, 2009 at 9:20 AM, Flex Baby wrote: > > the above code not taking textinput id. > the above my code is working in only IE & F

[flex_india:21739] Tree component custom renderer

2009-04-21 Thread Pratik. Velani
Hi palz, I need help creating custom TreeItemRenderer where the inner nodes will have a check box and text box.. please refer to below Sample - Tree [-] Folder 1 - [ (CB) (TEXT INPUT) ] - [ (CB) (TEXT INPUT) ] [+] Sub Folder 1 [+] Folder 2 [+] Folder 3 I tried searching around

[flex_india:21736] Re: flex component

2009-04-21 Thread BB47
Hi Mahi, Please try this. Create a singleton class package model { [Bindable] public class CommonModel { public static var instance:CommonModel; public function CommonModel(enforcer:singletonEnforcer) {

[flex_india:21741] Re: XML to FLEX combobox

2009-04-21 Thread Jagadish M
Hi sindhu, check out this code it may help you.. *1.xml* 1001 J 1 Male 1002 Ja 2 Male 1003 Jag 3 Male 1004 Jaga 6 FeMale 1004

[flex_india:21742] no of rows in datagrid

2009-04-21 Thread Akhil Agrawal
hi all, i am creating datagrid at runtime by providing data. problem is that grid height is fixed but data may be of variable length so how can i decide the no. of rows in a grid at run time ie. how can i find the max row height in the grid thanxs --~--~-~--~~~---~--

[flex_india:21744] Re: no of rows in datagrid

2009-04-21 Thread Jagadish M
Hi Akhil, According to your mail, I mean that you don't want to display any scrollbars, the grid height should be increased as the data increased.. for that you hav to use a small property *rowCount="{ac.length}" * Here the ac is arraycollection for ex: On Tue, Apr 21, 2009 at 6:24 PM, Akhil

[flex_india:21745] Problem in Deep Linking inside IE 7

2009-04-21 Thread Leena
Hi All, I have run through few examples of deep linking. But when I tried to run those applications in the IE 7, But it gives this problem. When application loads, the initial title of the application is Shipping. But when i click anywhere in application, the title changes to #. I don't know thi

[flex_india:21747] Re: doubt in chart horizontal axis labels

2009-04-21 Thread saurabh goel
Hi Gerald, This can be achieved by labelfunction property of axis. As u know that, for each value of dataprovider it call the labelfunction and according to our requirement we can customize the label and return it in label function. Regards Saurabh On Tue, Apr 21, 2009 at 10:11 AM, Gerald Anto w

[flex_india:21746] Re: XML to FLEX combobox

2009-04-21 Thread Sindhu
Hey Thanks Jagan, But i am trying to co-relate two combo boxes. Suppose I have an xml file with details of week days,months,colours... So when i select a particular item in the first combo box(say colour),it should display the names of colours like(red,blue,green...) in the other combo box. I hope

[flex_india:21748] how to increase width of button

2009-04-21 Thread flex
hi all I am setting value of textinput to button' label at run time, here i want that button should increase its width according to label. but not increasing width of button when i'm typing more text. private var btn1:Button = new Button(); private function init():void{ hb.addChild(btn1); }

[flex_india:21749] Re: XML to FLEX combobox

2009-04-21 Thread Jagadish M
Hi Sindhu, that means you are using 2 comboboxes once if i select 1st combobox according to selected item, data in 2nd combobox should be displayed dynamically right.. On Tue, Apr 21, 2009 at 9:44 PM, Sindhu wrote: > > Hey Thanks Jagan, > But i am trying to co-relate two combo boxes. Suppose I

[flex_india:21750] Re: no of rows in datagrid

2009-04-21 Thread Akhil Agrawal
grid height is fixed bt no. of rows may vary according to data if data in a row is large grid may contain less no. of rows else greater ie. rowcount should depend on data displayed in grid at run time how it is possible On Apr 21, 7:48 pm, Jagadish M wrote: > Hi Akhil, > > According to your ma

[flex_india:21751] delivered swf file size

2009-04-21 Thread dhileepen chakravarthy
Dear All, For of my application have one menu bar and 50 pages inside it. How do i proceed the project in a better way. Size must be very small. Presently i go through with view stack method. any way to load the pages while calling only Please help me anyone. Regards, Dhileepen --~--~---

[flex_india:21752] Re: doubt in chart horizontal axis labels

2009-04-21 Thread Gerald Anto Fernando
Hi Saurabh, yes.That can be achieved by label function i tried what you told But for each value of dataprovider it call the labelfunction so every value the function has to return something ok so how my query is achieved. if i have 30 days data, i need only one label. if 60 days data i

[flex_india:21753] Re: no of rows in datagrid

2009-04-21 Thread v...@t
Hello I have done some work as per your problem, may it helps you.. In this you ll get each row height of DataGrid so you can use it. http://www.adobe.com/2006/mxml"; layout="vertical" horizontalAlign="center" verticalAlign="middle" creationComplete="onCreationComplete(event)">