[flex_india:25997] Re: problem in debugging
Hi, Even I faced the same problem when my flash player got updated to ver 10 from ver 9. To fix this there is a simple solution. No need to reinstall the flex builder. All you have to do is: If u have installed flex builder in C:\Program Files\Adobe\Flex Builder 3, go to C:\Program Files\Adobe\Flex Builder 3\Player\win. there you will find activex and player required for debug. just install those. problem will be solved:) Regards, Sushanth On Oct 16, 10:01 am, Gerald Anto Fernando wrote: > Heloo Friends, > Now problem is solved .i have re installed(flashplayer_9_ax_debug.exe ) so > now its working well. > > Thanks&Regrads, > Gerald A > > On Thu, Oct 15, 2009 at 8:21 PM, Abhinav Mehta wrote: > > > > > Hi > > > I dont know whether it solves your problem or not, but I also faced the > > same problem few weeks back. At that time, what I did is- I made a new > > blank-project and tried to copy-paste all the contents using using > > copy-paste mechanism to the new one project. And than I ran the new-mirror > > project...and woah...that workswhile at the same point of time, if > > again I shifted and tried to my former project...that till presists with the > > same errors of Flash-Player Errors. > > > I am not sure, but I think that this happens beacuse when we run the app. > > it may internally reconfig some of Metadata-Manifest assemblies, and while > > running that error version of our code it sets(config) those values to our > > project-assemblies but doesnt re-set those to earlier state if unsuccessful. > > This is just my own opinion ! > > > Regards > > Abhinav Mehta > > MSRIT- Bangalore > > > - Original Message - > > *From:* Sampath Kumar > > *To:* flex_india@googlegroups.com > > *Sent:* Wednesday, October 14, 2009 8:30 PM > > *Subject:* [flex_india:25912] Re: problem in debugging > > > Hi, > > Guess you have updated your flash player to version 10 and your current > > flash player debugger version is 9. > > > What you need to do is download the flash player debugger 10 to fix the > > issue. You can d/l the Flash player Debugger from the below link. > > > For IE > > >http://download.macromedia.com/pub/flashplayer/updaters/10/flashplaye... > > > For Mozilla > > >http://download.macromedia.com/pub/flashplayer/updaters/10/flashplaye... > > > Regards > > Sampath > > > On Wed, Oct 14, 2009 at 7:26 PM, Gerald Anto > > wrote: > > >> Hello Friends, > >> previously i have done debugging well but now > >> when i debug it shows error that > > >> C:\WINDOWS\system32\Macromed\Flash\Flash10c.ocx > > >> Flex Builder cannot locate the required debugger version of Flash > >> Player. > >> You might need to install the debugger version of Flash Player 9 or > >> reinstall Flex Builder. > > >> Do you want to try to debug with the current version? > > >> i dont know what went wrong > >> so please tell me how to solve this problem. > >> how to get this version and where to put > >> please give me solution > > >> Thanks&Regards, > >> Gerald A > > -- > Thanks & Regards, > A Gerald --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26006] Re: accessing Object variables
Hi, as u told, u are using ArrayCollection to hold the array of abjects. Say if u have ArrayCollection as AC, to access first object's username, use AC[0].username. similarly if u want to access password u can use AC[0].password. Hope this helps u. Regards, Sushanth On Oct 22, 1:22 am, explorer wrote: > Hello, > > I need solution for accessing some values of variables that are stored > in array collection. I send Value Object from FLEX using Remote Object > (amfphp). Service I write in php send query to database and return > back object (this is array again). Using remoting I get data back to > Flex data from database (when I use debuger i see this variables) but > I don t know how to reference on certain values. I realy need help > with this one. Examples that I find on web is sending this array to > datagrid, where data grid is data source. I need to to read some > values from that result array. > > This are additional information: > > Flex --> user registration form. > on click --> send to php service username i password > service --> send query to database requesting all information about > that user. > php service --> validate user and create object (instance of class > that is the same on flex and php side) > flex recive this object in form of array of objects > > this is what I have but now is problem how to access values of > attributs, like Object User ( username, password, address, hometown, > userstatus, userID ) now I want to take information like user > status and userID from result object. > > Any suggestions are more then welcome. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26016] Re: Application Font Size variation
Hi, As I experienced, it is not possible to dynamically check the resolution and adjust the font size of text. On Oct 22, 1:05 pm, surendra wrote: > Hi, > > How can i adjust the font size dynamically depend on the screen > resolution or window size. > is it Possible? > > Thanks in Advance, > Surendra. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26044] Re: Application corner radius
Hey just replace ur code with below code and retry if it works fine for you. http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:controls="com.controls.*" height="37%" width="37%" backgroundColor="#ff" cornerRadius="60" borderStyle="solid" borderThickness="5" backgroundGradientAlphas="0"> On Oct 22, 4:44 pm, hari wrote: > > http://www.adobe.com/2006/mxml"; > layout="absolute" > xmlns:controls="com.controls.*" height="37%" width="37%" > backgroundColor="#dfdcda" > cornerRadius="15" borderStyle="solid" borderThickness="0"> > > > > Hi frnds, > when i am using above code i am not getting corner radius of complete > application, > i.e. I want curve corners for complete application. > How can i change the code... > Thanks in advance... --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26214] Re: Function Execution Time
Hi, Use Flex profiling. In Profiling u can view method statistics and method execution time. On Oct 30, 11:28 am, kanu kukreja wrote: > How can I find/get execution time of particular function data? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26202] Re: Building custom components Library
Hi, U can place all the reusable components as .swc in some folder and whenever u want that component in any flex project u can add the swc. On Oct 29, 8:37 pm, veeru rahul wrote: > Hi Folks, > > I have developed few reusable components and I want to create a Library for > those components and my future components. > Any help in creating the library will be appreciated. > > Thanks, > Veeru --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26227] Re: Create object from string of class name problem
Hi, try the below code to create object based on class name. public var cls:Class = getDefinitionByName("MyClass") as Class; In this example MyClas is the name of the class. Hope this helps u. On Oct 30, 12:35 am, "Brolesi, Fogliarini" wrote: > Hi people. > I'm trying to create an object at runtime, just passing the classname > as a parameter I already tried that with a standard Flex Component and > it worked very well. BUT, when I try to do this with one of my > components, an error occurs: ReferenceError: Error #1065: Variable > [myComponentClassName] is not defined. Thanks. > -- > > Fabio Fogliarini Brolesihttp://fabio.freesandbox.net/ > > "Se eu tenho uma maçã e você tem uma maçã, e nós as trocarmos, cada um > continua com uma maçã. Se eu tenho uma idéia e você tem uma idéia, e > nós as trocarmos, cada um fica com duas idéias." > George Bernard Shaw - Dramatrugo Irlandês --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26229] Re: binding between two compoents?
Hi, hope the below solution works for u. **main.mxml* http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:ns1="*"> *component1.mxml http://www.adobe.com/2006/mxml"; width="400" height="300" creationComplete="init();"> component.mxml* http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:ns1="*" width="400" height="300" creationComplete="init()"> On Oct 30, 12:38 pm, prajnith K wrote: > hi friends > i'm not able bind between two components... > > im sending my code please help me... > > how to approach using metadata or waht? > got stuck here > > * main application* > > http://www.adobe.com/2006/mxml"; > layout="absolute" xmlns:ns1="*"> > > > > > * component 1* > > http://www.adobe.com/2006/mxml"; > width="400" height="300" > creationComplete="init();"> > > > > > component > 2*** > > http://www.adobe.com/2006/mxml"; layout="absolute" > width="400" height="300" > creationComplete="init()"> > > > > > > Prajnith --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26526] Re: learning actionscript......
Hi, Designing is mainly concerned with the look and feel of the flex application like layout, view, etc. Actionscript is the core scripting language and will be used to handle events, write business logic in .as files. So u should concentrate on both actionscript and mxml but as far my knwoledge learning mxml is easy and learning actionscript is bit difficult as it almost follows java syntax. so concentrate more on actionscript. On Nov 9, 8:30 pm, abhilashm86 wrote: > i want difference between flex designers and flex developers?? when i > started learning flex from month back, mxml and front end of flex is > easy:) i like it.. > > when it comes to design/ sctionscript, i find it hard to learn, > especially some actionscript like flipping page, mp3 players, etc > suff..it requires lot of mathmetics n all stuff(i'm > slighty poor:( ) > > i'm currently started to learn actionscript, so should i concentrate > on both like design or how?? > also send me good links and book references for actionscript. > thanks:) --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26560] Re: How to Download particulatr Text filed data to word document
hi, try sending htmltext of TextInput to word document. On Nov 10, 5:21 pm, surendra wrote: > Hi, > > I have a text as follows in text field. > > Dear XX, > > Welcome to the company. > > yours, > YY. > > i want to download this to word document as in this format with > spaces. > Can u guys guide me regarding this. > > Thanks in advance, > surendra. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26558] Re: Renaming index.template.html to jsp file
Hi, dont clean the project. if u do so u will loose debug version of the template. On Nov 11, 12:52 pm, roshni wrote: > Hello all, > > By > referringhttp://www.morearty.com/blog/2006/12/11/changing-the-filenames-in-fle... > tml-templates/ > > I renamed index.template.html of my flex project to ${application}$ > {build_suffix}.template.jsp. > > On building project, I could find myAppMainFile.jsp in folder bin- > debug. > > But when I run project in debug mode from flex builder IDE, I am > getting an error > > File not found: C:\Documents and Settings\myDomain\My Documents\Flex > Builder 3\myProject\bin-debug\ myAppMainFile.html > > I tried by changing URL or path to change fields of Run/Debug settings > of Project properties. Now the application launch takes a couple of > minutes and times out with message > > Failed to connect; session timed out.Ensure that: > 1. You compiled your Flash application with debugging on. > 2. You are running the debugger version of Flash Player. > > Somebody please help > > Thanks. > > roshni --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26562] Re: Single Quotes in Flex3
Hi, As u have not mentioned what type of validation u want to do for TextArea, it is difficult to interpret. I guess u want to restrict single quotes in TextArea. if that is the case, use restrict="^\'" for TextArea tag in mxml. On Nov 11, 1:25 pm, Ramya Arumugam wrote: > Hi, > > I have a textarea to enter data with special characters. > > It takes more time to save the entered data into database as i'm doing the > single quotes validation in backend i.e java code section. > > So, I would like to know how to do the single quotes in mxml section. > > Kindly share your knowledge. > > Thanks, > Ramya --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:26622] Re: function overloading in flex?
Hi, Plz refer below link http://nsdevaraj.wordpress.com/2008/06/24/as3-function-overloading/ On Nov 12, 4:16 pm, mahesh bab wrote: > Hi > Is it possible to function overloading in flex? > Any send me example. > > -- > Regards > D.Mahesh Babu -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.
[flex_india:26719] Re: Design mode view is not the same when running the actual Application StyleSheet
Hi, yes it is true. css styles are not captured by flex builder for some cases. u need to run the application and c the exact style. On Nov 16, 7:10 am, jalopy wrote: > Hello Everybody, > > When applying CSS to certain page, and looking at the design mode in > Flex Builder is fine, > but when I run the actual Application, I cannot see exactly the same > result with the same design mode. > > Any idea? > > jalopy -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.
[flex_india:26740] Re: Doubt in Defining the class.
Hi, you cannot have more than one public class in a single .as file. Due to this it will not work. On Nov 18, 10:44 am, Gerald Anto wrote: > Hello Friends, > > Actually i need a class that extends a super class. > > Shall i have two classes in a single .as file? if i do like i cant get > a result > > but if i have a separate class in a package it works fine > > my previous code > > package com > { > > public class Example > { > public var status:String = "undefined"; > public function Example() > { > status = "it has value now"; > trace('status in super : '+status); > } > > } > > public class ExampleEx extends Example > { > public function ExampleEx() > { > //super(); > trace('status in subclass : '+super.status); > > } > > } > > } > > my application code > > > http://www.adobe.com/2006/mxml"; > layout="absolute"> > > > > > > > > -- it is not working ? > Is it possible > > now my code > > package com > { > public class Example > { > public var status:String = "undefined"; > public function Example() > { > status = "it has value now"; > trace('status in super : '+status); > } > > } > > } > > package com > { > public class ExampleEx extends Example > { > public function ExampleEx() > { > //super(); > trace('status in subclass : '+super.status); > > } > > } > > } > > my application code > > > http://www.adobe.com/2006/mxml"; > layout="absolute"> > > > > > > > > -- It is working fine. > > Thanks&Regards, > Gerald A -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.
[flex_india:26796] Re: AS3: obtaining value of private/protected variable through reflection
Hi, refer the link http://www.as3commons.org/as3-commons-reflect/index.html I used the above link and implemented reflection. In this link they have given the API which contains classes like Type, Metadata etc. On Nov 21, 2:01 am, jakemiles wrote: > Hi all. I'm using a black-box api object, and ObjectUtil.toString() > shows me that it contains a piece of information I need, but doesn't > provide a public accessor for it. So I want to know how > ObjectUtil.toString() obtains the value, because I'd like to do the > same thing. > > How do you use reflection in Actionscript 3 to obtain the value of an > instance variable that isn't public and doesn't have a public > accessor? > > I know some will object to this practice, as it violates > encapsulation. We can debate that once I meet my deadline, but right > now I just need to know how it's accomplished in Actionscript 3. > > - Jake -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.
[flex_india:26799] Re: Datagrid Rowspan
Hi, Plz provide more information about your problem. If u use item renderers inside datagrid it is possible to show different colours for rows. On Nov 20, 8:11 pm, Jagdish wrote: > Hi All, > > Please some body help me with this issue. I have a requirement where > i will be getting data from backend in to datagrid. For suppose i have > 10 records first 3 records show same name , city but the other data > is diffferent. > Then i have to show the name and city once but the other data should > be shown in 3 rows in diff columns. > Can somebody help me with some code Pls--- -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.
[flex_india:26801] Re: Convert CSS to SWF
Hi, use mxmlc to compile css into swf On Nov 23, 12:03 am, prashant waykar wrote: > Hey friends... > I am not able to convert my css file to swf in flex builder by right > clicking on it. > Can anyone please help me out??? > > Thanks in advance... -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.
[flex_india:27533] Re: Reflection in Flex
Hi Veeru, Please refer http://www.as3commons.org/as3-commons-reflect/index.html This could be useful for u.. Please reply back:) On Dec 26, 8:48 pm, veeru rahul wrote: > Hi Guys, > > Is there any equivalent for Reflection (Java) in AS 3.0 ? > > If so please provide some pointers. > > Thanks, > Veeru -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:27564] Re: Best way for defining Static Messages
Hi, U can store text messages in XML file and can be used in multiple places. when u need to change the text, u simply modify XML file. this will eliminate recompilation... On Dec 30, 12:49 am, Kiran Kumar Vasireddy wrote: > Dear All, > > In My project I am using static text messages in multiple places . If I want > to change the text I have to go through all the pages and have to modify it > . Can I know the best way to handle this? ( For example Alert header) > > 1) I am using Static AS class and defining them in one place and accessing > them . But if I use the same for Label text or Button text I get not > bindable warning . Of course nothing is going to harm but bit irritating. > > 2) I can also use resource bundle . > > But want to get your suggestions what is industry standard way of defining > these. > > Regards > Kiran -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:27708] Re: Iframe problem
Hii, Please use "http://code.google.com/p/flex-iframe";. download the flex-iframe zip file with latest version and u could be able to work with it. please make a note of setting wmode opaque. I am using it and it is working perfectly for me.. On Jan 8, 8:19 pm, Bagish Mishra wrote: > In my application we have a iframe where our swf file is loaded. From > there if we try to show some html content using iframe it is not > visible. We tried different approached changing z-index etc. > > If you have faced similar problem or you can suggest something will be > great. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:27926] Re: Application does not come up.
Hey dont use internal browser of flex builder. try using external browser. u can even re-install flex builder and check... On Jan 22, 8:37 pm, Akshar wrote: > this happens only sometimes with a build that is working fine just > moments ago and mostly works fine after one or two tries. Can you > explain why this happens (blue screen instead of the GUI). > > On Jan 22, 2:39 pm, Jitendra Jain > wrote: > > > Clean and Rebuild. > > > On Fri, Jan 22, 2010 at 2:30 PM, Akshar wrote: > > > I have a flex application which uses java as backend. sometimes when i > > > try to access my application the GUI does not comeup. instead there is > > > a blue page on the browser.this is a random scenario. > > > any pointer to what the problem might be will be helpful > > > Thanks in advance. > > > > -- > > > 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_in...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > flex_india+unsubscr...@googlegroups.com > > ps.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28018] Re: Need help in checkbox rendering
Hi, Please mention are u using DataGrid or AdvancedDatagrid... On Jan 27, 1:43 am, Soumya Here wrote: > Hi All, > > In my case, I got an ArrayCollecion from RemoteObject call and populate a > Datagrid for display in front end. > > There I want to add a checkbox for select a specific row of data from that > Datagrid and at the end when I click on the save button I want to catch only > the selected rows so that I can send to backend java for update the DB. > > I create and render a checkbox for that purpose and I also able to show that > rendered checkbox to that Datagrid, but not able to proceed > further..Need some code. > > Please help me out. > > Thanks in advance. > > Thanks, > > Soumya -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28019] Re: Arraycollection problem
Hi, Try arrcoll.getItemAt(1).name="sample4"; Hope it helps u and plz do reply back :) On Jan 26, 2:15 pm, sankar swaroop wrote: > Hi friends, > > I given an arraycollection as a dataprovider to a datagrid which was with > some itemrenderers. > while retrieving the saved data from the grid i am copying some columns like > arraycoll[3]['name'] = 'saome name'; > when i am assigning some value to a particular row item in the dataprovider > arraycollection, > all the rows are updating with the same name. > for example: if an arraycollection has 3 items like > arrcoll:ArrayCollection = new Arraycollection([ > {name:'sample1' id:1}, > {name:'sample2' id:1}, > {name:'sample3' id:1} > ]); > when i want to update the second name i.e.sample2 with sample4 and i > assigned that value like > arrcoll[1]['name']='sample4'; > all the items are effecting like > > {name:'sample4' id:1}, > {name:'sample4' id:1}, > {name:'sample4' id:1} > > So how can i update a single item in an arraycollection. > please provide me the solution > > Thanks, > shankar swaroop -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28020] Re: error: & symbol within the string
Hi, use displayName=''Simultaed demand with uppper & lower limits'' do reply back if its working for u:) On Jan 26, 10:52 am, pgmkumaran wrote: > itemRenderer="mx.charts.renderers.BoxItemRenderer" > displayName=''Simultaed demand with uppper & lower limits'' > xField="optcmx" yField="optcmsimulatey" fill="{sc1}" stroke="{s2}" > > -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28065] Re: Rendering Problem
hey u can check the solution in my blog http://flexphpworld.wordpress.com/2010/01/28/using-checkbox-as-item-renderer-in-datagrid On Jan 28, 9:41 pm, Soumya Here wrote: > Hi, > > I have a problem while selecting a checkbox in a datagrid.when I select > the checkbox it shows as selectedbut when I deselect itagain it > shows as selected. > I want to track the checkbox selection is checked or not on a particular > data.please help. > > Code as below, > > xmlns:mx="http://www.adobe.com/2006/mxml"; > xmlns:control="com.portal.control.*" > xmlns:business="com.portal.business.*" > xmlns:view="com.portal.view.*" > layout="absolute"> > > > > > > > /Please assume for testing="{modelLocator.user}" as a ArrayCollection > > > > > > > > > > > > > > > > > > > > Thanks, > Soumya -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28067] Re: Help in ViewStack
hey u can refer solution in my blog at http://flexphpworld.wordpress.com/2010/01/28/viewstack-example On Jan 28, 9:10 pm, Fausto Vaz wrote: > Hi everyone, > > i need some help with viewstacks. > Im implementing an application where i have a viewstack and i'd like to > refresh or reload the information of my viewstack's child everytime this > child is shown. > > My ViewStack: > > bottom="10" width="100%" height="100%" change="onViewChange(event)"> > > > > > > < /mx:Box> > > > > > > > > I tried implementing a function that check for the selected item from > viewstack but unsuccessfuly. > > Any ideias? -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28071] Re: Need help in checkbox rendering
hey u can check out http://flexphpworld.wordpress.com/2010/01/28/using-checkbox-as-item-renderer-in-datagrid On Jan 27, 1:43 am, Soumya Here wrote: > Hi All, > > In my case, I got an ArrayCollecion from RemoteObject call and populate a > Datagrid for display in front end. > > There I want to add a checkbox for select a specific row of data from that > Datagrid and at the end when I click on the save button I want to catch only > the selected rows so that I can send to backend java for update the DB. > > I create and render a checkbox for that purpose and I also able to show that > rendered checkbox to that Datagrid, but not able to proceed > further..Need some code. > > Please help me out. > > Thanks in advance. > > Thanks, > > Soumya -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28101] Re: Tree - Set color of selectedItem to a different color.
Hey, You can check out the solution in my blog at http://flexphpworld.wordpress.com/2010/01/29/flex-tree-selection-color-example On Jan 29, 5:23 pm, JD wrote: > Hi, > > I would like to know how to achieve this. Any help is welcome. > > Say, i have a tree control. Now, i wish to change the colour of > selected item of the tree to something else (different from the normal > items) so that user know which branch or leaf is selected. Also, when > i click on some other item, the previously selecteditem returns to > normal colour. > > Not sure if this is achievable in Flex. > > thanking you > - JD -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28303] Re: this.attribute not working?
Hey There is an easy solution for your problem which you can find in my blog http://flexphpworld.wordpress.com/2010/02/07/using-objectcollector-class-for-accessing-objects-created-dynamically/ On Feb 4, 1:14 pm, NightAvatar wrote: > I am new to Flex but somewhat experienced to javascript. I am used to > adding simple scripts to elements using "this" to define the element. > Apparantly that doesn't work with Flex - which really sucks for me. :( > > How can I create a script that is assigned to 20+ elements > (mx:textInput's) and is triggered when a user clicks it (focusIn, > really). I wanted something like: > if (this.text=='Placeholder text...') { > this.text=''; > this.setStyle("color", 0x00); > } > > Any idea how I can do this? It kind of makes me mad that I can't use > such a simple script. I am guessing the Flex version will be 5 times > longer! :( > > Thanks for any help! :) -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28304] Re: i need reload data in viewStack
Hey, u can refer my blog for the solution http://flexphpworld.wordpress.com/2010/02/07/viewstack-example-with-calling-child-components-methods/ On Feb 5, 11:47 am, shorty wrote: > Hi guys, im new in this group, im from chile, then i speak spanish > native, my english is not good. > > Well, my question: i have a viewStack and with two contents, one for > add items and other for show items in a datagrid, then when i add a > item and i change contents for see new items, my datagrid it's same > don't refresh or reload data, then i read that i can make a function > for each time that i change of container, this function reload data. > but doesn't work. > > Below i let u my code from my viewstack: > > change="stackHandle(event)" x="21.5" y="10" id="viewstack1" > width="716.5" height="518"> > height="518" width="714"/> > > label="Agregar" > height="518" width="714"/> > > > > and here my function that assume it will reload my data. > > private function stackHandle(event:IndexChangedEvent):void{ > > var obj:Object = viewstack1.getChildAt(event.newIndex); > obj.reload(); > } > > I need u help, other function or any other idea. i saw a theme similar > in this group, but i can't understand. > > Sorry for my english > > greetings > > i will be waiting -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28305] Re: containers adding color problem
Hi, Use ArrayCollection to contain 5 color values from database. For each container u can give different color by accessing ArrayCollection elements. Regards, http://flexphpworld.wordpress.com On Feb 5, 8:36 am, Alekhya Krishna wrote: > Hi, > > In Database there are 5 colors in a column, In my flex applications > different containers, > How to give different colors in different containers. when i am adding a > container its simply add the color. > If any one know please reply me. > > Regards > K.V.Ramakrishna -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28306] Re: Adobe Certified Expert (ACE) Training program in Flex/AIR development
Hi, Really nice information for the aspirants. Keep it up.. On Feb 5, 12:51 am, aliasgharmy wrote: > Hi there!! > > Esberi Technologies is delighted to announce the launch of Adobe > Certified Expert (ACE) Training Program. > > Currently, Esberi is offering ACE training programs in: > • Adobe Flex (and LiveCycle Data Services) development > • Adobe AIR (Adobe Integrated Runtime) development > > Some highlights of the ACE program: > - Industry and project-driven training > - 45 days of intensive training with special focus on practical > implementation > - 24x7 lab facility > - Placement assistance - either with Esberi or with its industry > partners > - Online access to training material and other resources through our > Learning portal > > The details of the training programs and their respective schedules > are available on the website > athttp://www.esberi.com/what-we-do/training/ace-training-program > . > > You could download the ACE training brochure > here:http://www.esberi.com/web/wp-content/uploads/2010/02/Esberi_ACE_TP.pdf > > Interested individuals can register online using the registration form > available on the website or contact an Esberi career guide at > train...@esberi.com or call us at +91 9600 000 211. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28308] Re: Rotating chart axis labels
hey the solution for your problem can be found in my blog at http://flexphpworld.wordpress.com/2010/02/08/column-chart-with-rotated-axis-labels/ Note: To use this example we need to copy Arial.ttf file from Control Panel- >Fonts and put it in a folder ‘assets’ inside ’src’ folder of flex project On Feb 4, 4:43 pm, Akshar wrote: > I want to rotate the chart axis label. i have used the sample code > provided by adobe > @http://livedocs.adobe.com/flex/3/html/help.html?content=charts_types_... > but i am not able to achieve the rotation. > I have removed following lines in the sample code because i do not > have the font ttf:- > > > > �...@font-face{ > src: url("../assets/MyriadWebPro.ttf"); > fontFamily: myMyriad; > } > > ColumnChart { > fontFamily: myMyriad; > fontSize: 20; > } > > > > > any help in this direction will be helpful. > > my file is :- > > > > http://www.adobe.com/2006/mxml";> > > > > showDataTips="true"> > > dataProvider="{expenses}" > categoryField="Month" > title="FY 2006" > id="a1" > /> > > > > > > > > > > > xField="Month" > yField="Profit" > displayName="Profit" > /> > xField="Month" > yField="Expenses" > displayName="Expenses" > /> > > > > > -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28309] Re: Datagrid with image itemrenderer problem
hi pradeep, Please give your source file(.mxml) so that i can fix for you. Regards, http://flexphpworld.wordpress.com/ On Feb 4, 11:06 pm, pradeepflex wrote: > Hello Friends, > > This is the problem which ifaced from last 3 days.the problem is > > I have a datagrid and i am displaying an images based on some > condition in the grid. > > Intially it displays fine when i scroll the grid vertically the images > were not displayed properly. > > So please anyone let me know how can i control the scroll in the grid > and if possible,please give me some example related that > > Regards, > Pradeep -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28314] Re: How to generate flex charts dynamically from database into a jsp file.
hi, if you want to load the flex chart from the data stored in database, you have to return the values from jsp in JSON format which you can convert in flex side to ArrayCollection and load any type of chart. regards, http://flexphpworld.wordpress.com/ On Feb 3, 9:50 am, ramesh wrote: > In our application we need to generate flex charts in a jsp page, With > various data and filters from database. > How to input the data to the flex charts from database and get a > dynamic flex chart. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28340] Re: Datagrid with image itemrenderer problem
Hi, you can refer my blog at http://flexphpworld.wordpress.com/2010/02/08/flex-datagrid-with-image-as-itemrenderer/ Hope the above example helps you in solving your problem.. On Feb 8, 8:04 pm, pradeep gorijavolu wrote: > Hi Varun, > > This is the application code. > version="1.0" encoding="utf-8"?> > http://www.adobe.com/2006/mxml"; layout="absolute" > backgroundColor="white" initialize="initGrid()"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > verticalGridLines="false" horizontalGridLines="true" > horizontalGridLineColor="#cc" verticalScrollPolicy="on" > draggableColumns="true" creationComplete="initScroll()"> > > > > > > > > > > > > > And custom renderer code. > > package script > { > import flash.events.Event; > import flash.events.MouseEvent; > > import mx.containers.HBox; > import mx.controls.Image; > import mx.controls.Label; > import mx.controls.RadioButton; > import mx.controls.dataGridClasses.*; > import mx.core.IFactory; > > public class Position extends HBox implements IFactory > { > private var imageReference:Image = null; > public var radio:RadioButton = new RadioButton(); > private var img:Image = new Image(); > private var lbl:Label = new Label(); > > public function newInstance():* > { > return new PositionImageRenderer(); > } > > override public function set data(value:Object):void > { > radio.selected = false; > if(radio.selected==false){ > radio.addEventListener(MouseEvent.CLICK,function > radiotest(event:Event):void{ > > parentDocument.testMain1(value); > }); > } > addChild(radio); > if(value != null && imageReference == null) > { > if(value.count > 0) { > img.source = "images/srch_plus.gif"; > addChild(img); > lbl.text = value.label ; > > img.toolTip = value.label; > imageReference = img; > > img.addEventListener(MouseEvent.CLICK,function > test(event:Event):void{ > //Alert.show(value.COLLEAGUE_NAME); > > parentDocument.testMain(value.label); > > }); > > addChild(lbl); > > } > else if(value.count == 0){ > lbl.text = " " + value.label + " "; > addChild(lbl); > img.toolTip = value.label; > > } > setStyle("verticalAlign", "middle"); > setStyle("paddingLeft","5"); > > } > > } > > } > > } > > The problem is when i scroll the grid the collection in the grid and the > images are not displayed properly... > > please let me know the solution asap. > > Thanks&Regards, > Pradeep > > On Mon, Feb 8, 2010 at 10:10 AM, FlexiSush wrote: > > hi pradeep, > > Please give your source file(.mxml) so that i can fix > > for you. > > Regards, > >http://flexphpworld.wordpress.com/ > > > On Feb 4, 11:06 pm, pradeepflex wrote: > > > Hello Friends, > > > > This is the problem which ifaced from last 3 days.the problem is > > > > I have a datagrid and i am displaying an images based on some > > > condition in the grid. > > > > Intially it displays fine when i scroll the grid vertically the images > > > were not displayed properly. > > > > So please anyone let me know how can i control the scroll in the grid > > > and if possible,please give me some example related that > > > > Regards, > > > Pradeep > > > -- > > 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_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28353] Re: sliding TitleWindow
Hey, the solution for your problem can be found in my blog at http://flexphpworld.wordpress.com/2010/02/09/titlewindow-effects/ Hope this will be of use to u:) http://flexphpworld.wordpress.com On Feb 8, 9:19 pm, Thomas D wrote: > Hello FlexUsers, > > I am new in Flex and need your help. > I need a sliding TitleWindow. It should appear and then it should e.g. > "fly" from the right side to a position on the left.When I close the > TitleWindow it should fly from the left to the right, out of my > application and then disappears. > I tried to implement it with a "for loop", like > > for(var i:int = 0; i TitleWindow.x = i; > > } > > but it´s too fast. So a kind of wait or sleep method would be nice. > Do you have any ideas? > regards -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28355] Re: Datagrid with image itemrenderer problem
Hey Fehmina, it is possible to use checkbox as item renderer in datagrid. The array collection which is used as dataprovider must have field to hold the value of checkbox selected value. The example can be found in my blog at: http://flexphpworld.wordpress.com/2010/02/09/datagrid-with-checkbox-as-itemrenderer/ regards, http://flexphpworld.wordpress.com On Feb 9, 5:44 pm, Fehmina Kanuga wrote: > HI , > is there any way to check the checkbox inside datagrid?? > i am using spring framwork and blazeDs..and fromt end as flex 3 > i want to render checkbox in datagrid in flex based on values yes or no from > db.. > any pointers will be of great help > thanks in advance > > On Tue, Feb 9, 2010 at 1:58 PM, Varun Bajaj wrote: > > pradeep you had put condition to display the image but not put condition > > for not to display the image this is the only bug in your code. > > > thanks and regards, > > > Varun Bajaj > > > On Mon, Feb 8, 2010 at 11:40 PM, FlexiSush wrote: > > >> Hi, > >> you can refer my blog at > > >>http://flexphpworld.wordpress.com/2010/02/08/flex-datagrid-with-image... > > >> Hope the above example helps you in solving your problem.. > > >> On Feb 8, 8:04 pm, pradeep gorijavolu > > >> wrote: > >> > Hi Varun, > > >> > This is the application code. > > >> > >> > version="1.0" encoding="utf-8"?> > >> > http://www.adobe.com/2006/mxml"; > >> layout="absolute" > >> > backgroundColor="white" initialize="initGrid()"> > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > > >> > > > >> > > > >> > > >> > > >> > > > >> > >> > verticalGridLines="false" horizontalGridLines="true" > >> > horizontalGridLineColor="#cc" verticalScrollPolicy="on" > >> > draggableColumns="true" creationComplete="initScroll()"> > >> > > >> > >> width="150"> > > >> > > >> > > >> > > >> > > >> > > >> > > > >> > > > >> > And custom renderer code. > > >> > package script > >> > { > >> > import flash.events.Event; > >> > import flash.events.MouseEvent; > > >> > import mx.containers.HBox; > >> > import mx.controls.Image; > >> > import mx.controls.Label; > >> > import mx.controls.RadioButton; > >> > import mx.controls.dataGridClasses.*; > >> > import mx.core.IFactory; > > >> > public class Position extends HBox implements IFactory > >> > { > >> > private var imageReference:Image = null; > >> > public var radio:RadioButton = new RadioButton(); > >> > private var img:Image = new Image(); > >> > private var lbl:Label = new Label(); > > >> > public function newInstance():* > >> > { > >> > return new PositionImageRenderer(); > >> > } > > >> > override public function set data(value:Object):void > >> > { > >> > radio.selected = false; > >> > if(radio.selected==false){ > >> > radio.addEventListener(MouseEvent.CLICK,function > >> > radiotest(event:Event):void{ > > >> > parentDocument.testMain1(value); > >> > }); > >> > } > >> > addChild(radio); > >> > if(value != null &
[flex_india:28356] Re: Rotating chart axis labels
Hi akshar, the problem in your application is gap between x- axis and y-axis; This gap is because, you have lengthy label for the axis. There are 2 ways to fix this. 1. By shortening the date format using any date format(in your case date is represented very long; use short format like 01/02/2010) 2. By changing the labelRotation value of horizontal axis renderer to -45 I have posted the changed code in my blog at: http://flexphpworld.wordpress.com/2010/02/09/linechart-example/ Hope this will be of use to you regards, http://flexphpworld.wordpress.com On Feb 9, 1:19 pm, Akshar wrote: > i am facing a new issue now. > there is a gap between the x axis and the y axis. > > code is as follows: > > > > http://www.adobe.com/2006/mxml";> > > caps="none"/> > > @font-face > { > src: url("/ARIAL.ttf"); > fontFamily: myArial; > } > > LineChart > { > fontFamily: myArial; > fontSize: 8; > } > > ColumnChart > { > fontFamily: myArial; > fontSize: 8; > } > > > horizontalAlign="left" verticalAlign="middle" borderStyle="solid" > backgroundAlpha="0"> > > showDataTips="true" > width="100%" height="100%" > > > > > > > horizontalShowOrigin="false" > verticalShowOrigin="false" /> > > > > dataProvider="{expenses}" > categoryField="Month" > id="timeAxis"/> > > > labelRotation="45"> > > {axisStroke} > > > > > baseAtZero="true" interval="2"/ > > > > axis="{diskSpaceAxis}" > canDropLabels="true" > > verticalAxisTitleAlignment="vertical"> > {axisStroke} > > > > > xField="Month" sortOnXField="true" > form="segment" interpolateValues="false"> > > alpha="1"/> > > > > > > > > > > On Feb 8, 7:26 pm, Akshar wrote: > > > @FlexiSush > > thanks a lot. it is now working. > > @Varun Bajaj > > we can use any font. i am now using arial. > > > On Feb 8, 9:23 am, Varun Bajaj wrote: > > > > Hi akshar > > > > I don;t think that you can use the arial or any font (ANY) for rotating > > > chart axis labels. I am attaching the ttf file which is perfectly working > > > for me. > > > > Thanks > > > > Varun Bajaj > > > > On Sun, Feb 7, 2010 at 11:39 PM, Akshar wrote: > > > > i understood that i need some special fonts to rotate the label. can > > > > you specify some place from where i can get these fonts. can i use the > > > > basic arial font type for it. > > > > any link which clarifies more on this topic will be appreciated. > > > > > On Feb 5, 9:21 am, Varun Bajaj wrote: > > > > > dear akshar > > > > > > Your answer is within your Q itself. Label rotation is done with > > > > > specific > > > > > font type only same as print. Hope you are understanding what i am > > > > > trying > > > > to > > > > > say :) > > > &
[flex_india:28425] Re: Tree issues
Hey can u please elaborate on what exactly u r looking for so that it can be answered easily..wheer is the image?? regards, http://flexphpworld.wordpress.com On Feb 11, 5:20 pm, kalai selvi wrote: > Hi > > please help me out i have section and under some pages will come so how to > do in using Tree using flex 3. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28424] Re: Flex Beginner
hey, to use flex with netbeans IDE, u need to have plug-in called "Flexbean". But u can use Flexbean with netbeans 6.5 or later.. earlier versions of netbeans IDE dont support flexbean On Feb 11, 4:30 pm, Abhi wrote: > Could anyone tell me how to use flex in netbeans6 > which plugins are required -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28431] Re: Tree issues
Hey the solution for ur tree problem can be found in my blog at: http://flexphpworld.wordpress.com/2010/02/11/tree-with-many-nodes/ regards, http://flexphpworld.wordpress.com On Feb 11, 11:02 pm, kalai selvi wrote: > On Thu, Feb 11, 2010 at 11:30 PM, kalai selvi wrote: > > > Hi, > > > i am having data : > > > Section Name - Folder > > SubSection-Folder > PageName - Labels > > these type of fotmat i need. > > so this view i want put into Tree.so can u help me... > > > > > On Thu, Feb 11, 2010 at 10:27 PM, FlexiSush wrote: > > >> Hey can u please elaborate on what exactly u r looking for so that it > >> can be answered easily..wheer is the image?? > > >> regards, > >>http://flexphpworld.wordpress.com > > >> On Feb 11, 5:20 pm, kalai selvi wrote: > >> > Hi > > >> > please help me out i have section and under some pages will come so how > >> to > >> > do in using Tree using flex 3. > > >> -- > >> 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_in...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> flex_india+unsubscr...@googlegroups.com > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28572] Re: radio Button renderer problem in datagrid
hey just refer the solution in my blog at http://flexphpworld.wordpress.com/2010/02/09/datagrid-with-checkbox-as-itemrenderer/ u need to replace checkbox with radiobutton to suit to ur problem regards, http://flexphpworld.wordpress.com On Feb 16, 9:48 am, pradeepflex wrote: > Hi All, > > I got a problem with rendering a radio button in the datagrid. > The problem is intially the radiobuttons are renderered but when i > select one radiobuton > and scroll the grid the selection row(radiobutton) got changed . > > Thanks for any information > > Regards, > Pradeep -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28650] Re: parentdocument in popups
Hey, Yes. it is possible to access parentDocument from TitleWindow. The example can be found in my blog at http://flexphpworld.wordpress.com/category/titlewindow/ In this example i am calling the parentDocument's fnClose() method from TitleWindow. Regards, http://flexphpworld.wordpress.com On Feb 18, 7:21 pm, dme wrote: > Can parentDocument be accessed from a popup(TitleWindow file)? Let me > know any examples or links? > > I am having an application.mxml which has tab navigator as the base > component. In application i am loading the data from server and based > on the data loaded i am trying to update some of the values in display > in a tab(for eg. summing up a column and displaying it). If that > column is updated in a popup i need refresh the tab display. how to > achieve this? > > Thanks > dme -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28651] Re: error
Hi, it would be better if u provide more details about your code and which service you are calling. And also make sure that ABCTest.swf and the file to which it makes request must be in same domain. Regards, http://flexphpworld.wordpress.com On Feb 18, 12:28 pm, abhishek saxena wrote: > i m getting this error..pl help me... > > [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" > faultDetail="Channel.Security.Error error > > Error #2048: Security sandbox > violation:http://111.000.000.000/ABCTest/Flex/bin-debug/ABCTest.swfcannot > load data -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28669] Re: Flex Security
Hi, u can use SharedObjects. When u access the first application using uname and pwd, u need to set uname and pwd for the shared object. And the 2nd application should be opened only when the values are set for shared object. On signout make sure to clear the values contained in the shared object. Regards, http://flexphpworld.wordpress.com On Feb 18, 1:01 pm, vidhya lakshmi wrote: > Hi, > > LocalConnection suceeds only when both the application are open at the same > time. > when we send the data from main application the sub application should also > be opened to use local connection. > but this is not my case, i use link button to navigate to the sub > application. > > yes i will use the same browser window only. > > On Thu, Feb 18, 2010 at 12:32 PM, sri space hero > wrote: > > > Hello Vidhya, > > > I didnt understand that by your comment that localconnection work only when > > both the urls are open. > > > So, let me know that are you going to the second application with in the > > same browser window ??? > > > On Thu, Feb 18, 2010 at 11:19 AM, vidhya lakshmi > > wrote: > > >> Hi, > > >> 1) passing through URL does not provides good security ,it will be easy to > >> hacker. > >> 2)using session, will it work between different domains? > >> 3)Local connection works only both the URL is open and will the session > >> work in different application and diff domain? > > >> Can any one reply with a nice working example immediately?I am waiting for > >> the reply > > >> Thanks in Advance > >> Vidhu.C > > >> On Tue, Feb 16, 2010 at 7:11 PM, sri space hero > >> wrote: > > >>> Ya, make sure the other sub.html file doesnt run with out some argument, > >>> and send that argument like assume some ticket, and let that sub.html work > >>> from there on. If at all user types in the whole url of the sub.html file > >>> it > >>> doesnt work as there is no parameter passed. > > >>> Check out that. :) > > >>> On Tue, Feb 16, 2010 at 11:08 AM, vidhya lakshmi < > >>> vidhyashak...@gmail.com> wrote: > > i m directly calling the sub.html file which is in the different domain. > may be the user have noticed when another person has worked > > On Tue, Feb 16, 2010 at 10:49 AM, nithya flex > wrote: > > > do the condion checking, from main swf u r calling sub swf, in this u > > need to common data, if it matches u can do this. > > > more ever if main application is not open, how can user gets the link > > open sub applicaton > > > On Tue, Feb 16, 2010 at 10:10 AM, vidhu wrote: > > >> Hi friends, > > >> I am working with two flex application in different domain server. I > >> will login in the "main" flex application and navigate > >> to the "sub" flex application through link. so only the login user can > >> able to access the "sub" flex application otherwise it should redirect > >> to the main application. how to implement it? how can we provide > >> security to the "sub" flex application so that anyone cannot access > >> directly using the url. > > >> Thanks in Advance > >> Vidhu > > >> -- > >> 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_in...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> flex_india+unsubscr...@googlegroups.com > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/flex_india?hl=en. > > > -- > > 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_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. > > -- > 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_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > >>> -- > >>> Regards, > > >>> Sri Tej > >>> Golive Gaming Solutions PVT LTD > >>> ph - 9703224405 > >>> -- > >>> 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_in...@googlegroups.com. > >>> To unsubscribe from this group, send email to > >>> flex_india+unsubscr...@googlegroups.com > >>> . > >>> For more options, visit this group at > >>>http://groups.google.com/group/flex_india?hl=en. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Flex India Community" group. >
[flex_india:28929] Count Up and Count Down timer in flex
Hi all, if any one needs Count Up / Count Down Timer he can refer in my blog at: http://flexphpworld.wordpress.com/2010/02/26/countup-timercounter/ http://flexphpworld.wordpress.com/2010/02/26/countdown-timercounter/ Regards, FlexiSush -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:28985] Re: Numeric field validaton
hey no need to use any validator. just use restrict property of TextInput and set it as restrict="0-9" Hope it works Regards, http://flexphpworld.wordpress.com/ On Mar 8, 3:26 pm, Fehmina Kanuga wrote: > HI, > i have a scenario. > > i have one field say user id , This field is not mandatory. > However if at all user enters it.. it should be only numeric fields.. > > how do i perform that validaton..? > i tried using > > > > import mx.controls.Alert; > > > > integerError="Enter Integer value" domain="int" required="false" /> > > y="56" fontSize="11"/> > > > > but its not working... > > if i m not entering any values then its thworing exception -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29005] Re: How to install Add-ons
Hii u can refer http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html#Datavisualization it explains data visualization support related to flex sdk 3.5 Regards, http://flexphpworld.wordpress.com On Mar 5, 6:16 pm, Ashishkumar Borkar wrote: > I have added SDK 3.4 to my IDE (working fine) but to activate visualization > component I have to install 3.4 add-on. > > But how to install add-on that information I am not getting from Adobe > website or any other blog. > > I have tried installing add-on by unzipping it to SDK folder, Root folder > but it is of no use. > > Can anybody help me? -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29039] Re: Numeric field validaton
Hi, can u plz elaborate what kind of exception u r getting?? Regards, http://flexphpworld.wordpress.com/ On Mar 9, 2:34 pm, Fehmina Kanuga wrote: > hi all, > when i m not entering any data and hittting the remote object on flex > side i m getting exception... > however if i m entering digits its working fine... > > On Tue, Mar 9, 2010 at 2:24 PM, Fehmina Kanuga > > wrote: > > HI all, > > thank you very much.. > > that worked for me.. > > > But one more query...cant we have any alert...to guide user that we need > > only integer values... > > > On Mon, Mar 8, 2010 at 5:54 PM, FlexiSush wrote: > > >> hey no need to use any validator. just use restrict property of > >> TextInput and set it as restrict="0-9" Hope it works > > >> Regards, > >>http://flexphpworld.wordpress.com/ > > >> On Mar 8, 3:26 pm, Fehmina Kanuga > >> wrote: > >> > HI, > >> > i have a scenario. > > >> > i have one field say user id , This field is not mandatory. > >> > However if at all user enters it.. it should be only numeric fields.. > > >> > how do i perform that validaton..? > >> > i tried using > > >> > > > >> > import mx.controls.Alert; > > >> > > > >> > >> > integerError="Enter Integer value" domain="int" required="false" /> > > >> > >> > y="56" fontSize="11"/> > > >> > > > >> > but its not working... > > >> > if i m not entering any values then its thworing exception > > >> -- > >> 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_in...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> flex_india+unsubscr...@googlegroups.com > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29040] Re: Need help to install Flex 3.0
Hi, R u trying to install flex builder?? If so then download trial version of it from Adobe website or if u have professional version of it then double click on setup which will take u to user friendly installation screen. Choose proper drive for installation. Once done enter serial key. If u find any problem in installtion let me know.. Regards, http://flexphpworld.wordpress.com/ On Mar 9, 4:56 pm, Iyer Anuradha wrote: > Hi All, > > Dear friends can you please guide me how to install Adobe Flex 3.0. > > and all configurations related to it. > > its very urgent. > > Thanks > Anuradha -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29041] Re: reset all the components in the viewstack
hi, Your code is: if(event.newIndex==1) { var obj:test1 = VS1.getChildByName(“test1″) as test1; obj.reload(); } Comment: This code will give the compile time error told by u bcoz the class ‘test1′ doesn’t have reload() method defined. Make sure that u have reload() method defined in class ‘test1′. obj acts as a reference to ‘test1′ bcoz u r passing “test1″ in getChildByName method. Regards, http://flexphpworld.wordpress.com/ On Mar 9, 9:48 am, pradeepflex wrote: > Hi All, > > I have seen the forum "i need reload data in viewStack" ,In that > > I have seen shorty findout the solution reload the viewstack > component data... > > Same way i m using the code like this... > > if(event.newIndex==1){ > /* var test1Obj:test1 = new test1(); > getDocumentChildrens(test1Obj, > "test1"); > > Alert.show("execute"); */ > > var obj:test1 = VS1.getChildByName("test1") as > test1; > obj.reload(); > } > for me i got build error like.. > 1061: Call to a possibly undefined method reload through a reference > with static type test1. > > Please let me know what i did wrong in that > Thanks for any urgent help... > > Regards, > Pradeep -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29042] Re: reset all the components in the viewstack
Hi, reload() is not the default method. It is a user defined method. It will not refresh all the components of ViewStack. U need to call the components manually.. Regards, http://flexphpworld.wordpress.com/ On Mar 9, 7:29 pm, pradeep gorijavolu wrote: > i have not defined in test1,but i thought reload is the some default method > which will refresh the components, > If not I define that i need to call all my components manually or any other > alternative for reloading the view stack components? > > Regards, > Pradeep > > On Tue, Mar 9, 2010 at 10:25 AM, krishna chaitanya kambhampati < > > kkc.kambhamp...@gmail.com> wrote: > > Hi Pradeep, > > > did u defined reload(); method in *test1. * > > **didu set the name property as test1 to that object. > > > On Tue, Mar 9, 2010 at 10:18 AM, pradeepflex > > wrote: > > >> Hi All, > > >> I have seen the forum "i need reload data in viewStack" ,In that > > >> I have seen shorty findout the solution reload the viewstack > >> component data... > > >> Same way i m using the code like this... > > >> if(event.newIndex==1){ > >> /* var test1Obj:test1 = new test1(); > >> getDocumentChildrens(test1Obj, > >> "test1"); > > >> Alert.show("execute"); */ > > >> var obj:test1 = VS1.getChildByName("test1") as > >> test1; > >> obj.reload(); > >> } > >> for me i got build error like.. > >> 1061: Call to a possibly undefined method reload through a reference > >> with static type test1. > > >> Please let me know what i did wrong in that > >> Thanks for any urgent help... > > >> Regards, > >> Pradeep > > >> -- > >> 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_in...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> flex_india+unsubscr...@googlegroups.com > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/flex_india?hl=en. > > > -- > > Thanks & Regards, > > K. Krishna Chaitanya > > ARIJASOFT - HYD > >www.arijasoft.com > > > -- > > 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_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29075] Re: How do build flex3 in Eclipse
Hi, u need to download proper version of flex builder plugin for ur eclipse version. since the differences exist between different versions of eclipse, u need to make sure that u download the appropriate flex builder pluign. Once downloaded it can be installed easily.. Regards, http://flexphpworld.wordpress.com/ On Mar 10, 9:06 pm, Jeyaraman R wrote: > i want work with flex in eclipse platform.. so help me how do plugin in > eclipse.. > > Thanks, > Jeyaraman > > On Wed, Mar 10, 2010 at 8:40 AM, Fehmina Kanuga < > > whitepearl.fehm...@gmail.com> wrote: > > HI > > your doubt is not clear to me.. > > But FB3 is built on eclipse only... > > if u want to use it java side... u can do it thorugh blazeds with tomcat or > > weblogic server > > > On Wed, Mar 10, 2010 at 3:24 AM, Jeyaraman R wrote: > > >> Hi buddy, > > >> i have installed flexbuilder3 in my system. right now i want build a FB3 > >> in eclipse. how do build that in eclipse otherwise give the flex plugin to > >> build in eclipse. anyone can help me to do tat. > > >> Thanks, > >> Jeyaraman > > >> -- > >> 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_in...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> flex_india+unsubscr...@googlegroups.com > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/flex_india?hl=en. > > > -- > > 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_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29076] Re: Adobe Flex 3 free licence for students
Hey, Nice information. It will be very useful for many more flex aspirants.. In this way flex can reach to many people.. Regards, http://flexphpworld.wordpress.com/ On Mar 10, 8:04 pm, krishna chaitanya kambhampati wrote: > Hi All, > > Those who are new comers / learners get > > Adobe Flex 3 free licence for studentshttps://freeriatools.adobe.com/flex/ > > -- > Thanks & Regards, > K. Krishna Chaitanya > ARIJASOFT - HYDwww.arijasoft.com -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29077] Re: unvisible word "Flex Data Visualization Trial"
Hi, use professional version of flex builder.. Regards, http://flexphpworld.wordpress.com/ On Mar 10, 3:35 pm, cholid ridwan wrote: > HI all > how to unvisible word "Flex Data Visualization Trial" > in chart at Tour de Flex? > thanks regards -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29078] Re: Count Up and Count Down timer in flex
Hey thanks for the comments:):) Regards, http://flexphpworld.wordpress.com/ On Mar 10, 8:14 am, Fehmina Kanuga wrote: > HI, > THank you very much for your blog.. > its really very help ful... > > thanks once again > kkeep posting... > > On Thu, Mar 4, 2010 at 6:54 PM, FlexiSush wrote: > > Hi all, > > if any one needs Count Up / Count Down Timer he can refer in > > my blog at: > > >http://flexphpworld.wordpress.com/2010/02/26/countup-timercounter/ > > >http://flexphpworld.wordpress.com/2010/02/26/countdown-timercounter/ > > > Regards, > > FlexiSush > > > -- > > 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_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29080] Help needed in formatting Date
Hi friends, I have date in a string say var str:String="25- Mar-2010"; Now the question is how can i convert it into a Date object? I tried using DateField.stringToDate() method but couldn't find the answer. Please give me the solution. Thanks in advance:) Regards, http://flexphpworld.wordpress.com/ -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29081] Re: RegExp help with syntax.
Hi, First upon I would like to tell u that there is no match() method for RegExp. There are some changes needs to be done in ur code. use var metarDecoded:Array= new Array(); for (var i:int = 0; i< arrayLeght; i++) { var token:String = arrayMetar[i]; trace (token); if (regMetar.test(token)){ metarDecoded.push("This is a METAR"); trace (metarDecoded + metarDecoded.length); } /*trace ("Metar Array is "+ arrayMetar[i]);*/ } I tried to execute ur code. It gives compile time error at if (token = regMetar.test()) This is because test() method will give Boolean value which u r comparing with 'token' which is a String value. One more thing dont use = operator for comparison. instead use ==. Regards, http://flexphpworld.wordpress.com/ On Mar 10, 9:36 pm, Jose Morales wrote: > Hello All, > > I was sent over to the experts after asking in several places. I am in the > process of writing a small app that will use RegExp to translate a METAR > (jargon weather information) > Now, I have the Reg Expresions tested in a JS and also in a tckl scrip, but I > doing this while I enjoy he IDE and lear AS on FLEX. > > So, all I am doing is a sample string to test my algorithm. I can see that I > am in the right track except when I attempt to validate the RegExp. > > Here is my code so that you can have a better understanding: > > package > { > import flash.display.MovieClip; > > public class MetarAS extends MovieClip > { > public var metarString:String = "METAR LBBG 041600UTC"; > public var arrayMetar:Array = metarString.split(/\s+/); > public var arrayLeght:Number = arrayMetar.length; > //public var metar:String = "METAR"; > //public var zulu:String = "[0-9]{4}Z"; > > public function MetarAS() > { > var regMetar:RegExp = new RegExp("METAR"); > var regZulu:RegExp = new RegExp("[0-9]{4}Z"); > var metarDecoded:Array; > for (var i:int = 0; i< arrayLeght; i++) > { > var token:String = arrayMetar[i]; > trace (token); > if (token = regMetar.test()){ > metarDecoded.push("This is a METAR"); > trace (metarDecoded + > metarDecoded.length); > } > /*trace ("Metar Array is "+ arrayMetar[i]);*/ > } > > } > } > > } > > my error is in in this > if (token = regMetar.test()){ > metarDecoded.push("This is a METAR"); > trace (metarDecoded + metarDecoded.length);} > > > I have looked at the documentation on the web, and I have see test() or > match() but neither of these seem to work for me. > All ´am doing in this example is building a new metarDecoded:Array if the > toke matches "METAR" as per the RegExp("METAR") for var regMetar. > > I greatly appreciate your help and fact that there is such a community like > this. > > Regards, > Jose Morales > jem...@gmail.com -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29123] Re: Help needed in formatting Date
Hi friends, Thanks alot for the inputs given by u. It is working fine for me now.. I could convert "25-Mar-2010" to Date object. I didnt use parseFunction. I didnt split the string either. I used a combination of DateFormatter and DateField to achieve this. Thanks once again for your kind help. My solution can be found in my blog at http://flexphpworld.wordpress.com/2010/03/11/formatting-date-converting-date-string-in-dd-mmm--format-to-date-object/ Regards, http://flexphpworld.wordpress.com On Mar 11, 10:36 am, Fehmina Kanuga wrote: > HI , > try this > > townHallVO.meetingDate = DateField.stringToDate(meetingDateId.text,* > "-DD-MM"*); > this VO has meetingDate as one of the value , and meetingDate is Id of my > texbox. > > and use datefiled: > > formatString="-DD-MM" /> > hope this helps > > On Wed, Mar 10, 2010 at 11:47 PM, FlexiSush wrote: > > Hi friends, > > I have date in a string say var str:String="25- > > Mar-2010"; Now the question is how can i convert it into a Date > > object? I tried using DateField.stringToDate() method but couldn't > > find the answer. Please give me the solution. Thanks in advance:) > > > Regards, > >http://flexphpworld.wordpress.com/ > > > -- > > 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_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29124] Re: Flex Certification Price Info
hi Anuradha, u can refer http://www.adobe.com/devnet/flex/articles/flex_certification.html regards, http://flexphpworld.wordpress.com/ On Mar 11, 11:05 am, Iyer Anuradha wrote: > Hi Friends, > > can you please provide me guidance for the preparation of Adobe Flex 3.0 > > Thanks > Anuradha > > On Thu, Mar 11, 2010 at 11:25 AM, riaflexible wrote: > > Hi Friends , > > > I am planning to take the Flex 3 with Air certification , I was > > checking the price , it is confusing when checked in the Adobe site it > > says $135 and When i checked in the PearsonVue it says $50 , There is > > a huge difference in the price , Please some on who have recently > > taken up the exams can tell the exact price , I am not sure if the > > location matters , Anyways I will be talking the exam bangalore . > > > Thanks, > > Satish > > > -- > > 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_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29141] Re: Using Numeric validator urgent
Hi, As u told u need it urgently i thought of putting some light into it. First thing is dont use NumberValidator in ur case. Instead use StringValidator; Ur code can be re-written as follows. This will surely work. Additionally in ur TextInput use maxChars="6" e.g: By doing this u r preventing user from entering more than 6 characters. depending upon ur requirement u choose which one u want to use. hope this will be of little use to u:) regards, http://flexphpworld.wordpress.com/ On Mar 12, 4:01 pm, Fehmina Kanuga wrote: > HI all, > I have userId field... that filed should contain only number and its should > be neither less than 6 and not more than 6 only 6 number digit should be > there.. > how do i achive it > > > required="true" source="{employeeid}" > > property="text" maxValue="6" exceedsMaxError="Your id is more than 6 numbers" > minValue="6" lowerThanMinError="Your Id values should not exceed or trucate > 6"/> > > at present i m using it... but its not working -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:29765] Re: i need timer examples
Hi, what type of timer u need? plz let the group knw.. Regards, http://flexphpworld.wordpress.com/ On Apr 14, 9:58 am, welcome wrote: > hi to all, > any body help me,i need timer examples -- 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_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.
[flex_india:13325] Re: Handling Browser Close
Hi Prashanth, its pretty easy to handle the LOGOUT on closing the browser using JavaScript. i hope u have written code for logout in flex application. If yes, just follow the following steps 1. In flex application code write import flash.external.*; import flash.external.ExternalInterface; 2. Inside the main application function(which will be called in show or creationComplete) write ExternalInterface.addCallback("myFlexFunction",fnSignOut); where fnSignOut contains the code for application signout 3. go to index.template.html which will be in html-template folder 4. just after var requiredRevision = 0; write window.onbeforeunload = clean_up; function clean_up() { var flex = document.${application} || window.${application}; flex.myFlexFunction(); } compile and run... your task is done --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:15994] Re: How to set DateField as todays date as default
Hi, use displayedYear property of DateField and set it to current year; to mark today's date in date navigator use todayColor property and set it to desired colour; On Nov 10, 12:51 pm, "dhileepen chakravarthy" <[EMAIL PROTECTED]> wrote: > Hi everyone > How to set DateField date as todays date as default. > > Regards, > Dhileepen --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---
[flex_india:17803] Re: Auto scrolling text
hi, set verticalScrollPolicy="auto" and horizontalScrollPolicy="auto" for the text area which will automatically scroll the contents; --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~--~~~~--~~--~--~---