[flex_india:20826] Get the Height and Width of the loaded SWF file

2009-03-24 Thread kalpesh mahida
Hi All, Im loading .SWF file using Loader and on the load complete i want to calculate the height and width of the swf file. if i can convert the swf/movie to bitmap/bitmapdata i definatly will get the height and width of the loded swf file. If onyone of you guys know how to do that please reply.

[flex_india:20825] Re: Dynamically create objects and bind to a container

2009-03-24 Thread Ravi Mishra
Hi Veena, It is of course possible. What you need to do is just associate a property which you want to change with your custom component. Make sure this property should be declared as Bindable. Then at the time you will be associating this custom component to your application, you will have

[flex_india:20824] Re: delay in execution

2009-03-24 Thread HISSAM
What kind of halt you are looking for?? I guess you are using the result event? --~--~-~--~~~---~--~~ 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@googlegrou

[flex_india:20823] Re: How to handle Session in Flex

2009-03-24 Thread Gurnam Singh
i want to maintain user session. currently i am maintaining it in java end end return back UserVO and i am using through out the application. is this right way or any other best way to solve this. On Wed, Mar 25, 2009 at 1:37 AM, Saravanan wrote: > > just call a jsp from flex using http and retu

[flex_india:20822] Re: How much actionscript do you need to know in order to develop in Flex 3?

2009-03-24 Thread Ricardo Gobbo
The Lynda's video tutorial series (essential trainning and beyond the basics) shows what u need to know On Tue, Mar 24, 2009 at 5:15 PM, Shaleen Jain wrote: > > Hi Joseph, > > Learning AS3 is a must to develop mission critical applications in > flex. > > All the event handling and business logic

[flex_india:20821] Dynamically create objects and bind to a container

2009-03-24 Thread Veena
Hi All - Is there any way where we can control the child elements of a container. ?? for instance, we can bind dataprovider to a datagrid. Any changes in the dataprovider will be reflected in the datagrid to which it is bound to. Now, i have a case where i need to bind objects within a container

[flex_india:20820] Re: Iterate Form elements...

2009-03-24 Thread Veena Chezhian
Yep, thats true. But the case which i am handling is something like this 1. We need to create the view component on the fly based on the HttpService response. 2. The response from the HttpService will be an XML file and that will have the details of how the view component should be framed. 3. So,

[flex_india:20819] Re: Search for a word in string

2009-03-24 Thread edwin . vgwhiz
Will do. How do I create a new thread? On Tue, Mar 24, 2009 at 1:19 PM, sambhavg...@gmail.com < sambhavg...@gmail.com> wrote: > > Ed, > > Please create new discussion thread for different problems, if you > post your question within an existing thread, it may not get all the > attention that is r

[flex_india:20818] Re: Iterate Form elements...

2009-03-24 Thread Veena Chezhian
Got it.. Here is the way,, var formItems = frm.getChildren(); // loop items and add values for (var i:int = 0; i < formItems.length; i++) { // formItem var formItem = formItems[i].getChildren(); Alert.show(formItem

[flex_india:20817] resizable list item

2009-03-24 Thread Vivian Richard
Hello devs, I am trying to use auto resizable list item in a list component. Here is how it will work : if the number of the components in the list is 1, the list item height will be 100% of the list component, if there are 2 list items then

[flex_india:20815] Re: How much actionscript do you need to know in order to develop in Flex 3?

2009-03-24 Thread Saravanan
But if you more than intermediate in AS3 would be better bcoz we are handling the interactions of the MXML component using as3. MXML is just for designing... so as3 is must.. but its simple to learn... -sara www.designscripting.com On Mar 24, 1:33 pm, ganaraj p r wrote: > If you understand the

[flex_india:20816] Re: How much actionscript do you need to know in order to develop in Flex 3?

2009-03-24 Thread Shaleen Jain
Hi Joseph, Learning AS3 is a must to develop mission critical applications in flex. All the event handling and business logic of front end need to be written in AS3 MXML is just for developing UI but if you do same using AS, you can do a lot with your UI too. AS3 give you complete freedom to e

[flex_india:20814] Re: How to handle Session in Flex

2009-03-24 Thread Saravanan
just call a jsp from flex using http and return some XML as result true or some values... -sara www.designscripting.com On Mar 25, 12:16 am, Shaleen Jain wrote: > to a bit extent, what kind of session you need? >  Is it a timeout on no user interactivity you required? > or you need to maintain

[flex_india:20813] Re: How To Distinguish ItemClick and ItemdoublClik on Tree Event

2009-03-24 Thread Shaleen Jain
write an event handler for click event write another event handle for doubleclick event as simple as that :) Example MXML ActionScript private var tree:Tree = new Tree() tree.doubleClickEnabled = true; tree.addEventListener(MouseEvent.CLICK, handleSingleClick);

[flex_india:20812] Re: Air Application installation issues - critical

2009-03-24 Thread Saravanan
Hi Check wether this bug happens for all the air app or only in this app.. -sara www.designscripting.com On Mar 24, 11:16 pm, riaflexible wrote: > Hi , > > In Mac , I have already Installed a Air Application which has version > 2.0.11 . > > Now I have developed New version which has version 3.0

[flex_india:20811] Re: delay in execution

2009-03-24 Thread Shaleen Jain
Anil, this is practically not possible as flex is a event driven technology where events triggers in asynchronous fashion. So practically it is not possible to halt your entire code and wait for some one particular event to execute. but you can do some turn around to get what you want. Normally

[flex_india:20810] Re: Vertical Scroll Bar

2009-03-24 Thread Shaleen Jain
Do you think there could be some replacement of scroll bars.. I have a fix where I replace scroll bars with button anywhere in your application you want. The scroll will not visible at all and still you would be able to scroll you application sounds amazing :) but it has a flaw, as you would ne

[flex_india:20809] Re: How to handle Session in Flex

2009-03-24 Thread Shaleen Jain
to a bit extent, what kind of session you need? Is it a timeout on no user interactivity you required? or you need to maintain sessions as in financial system like a netbanking system? Thanks, Shaleen Jain http://shaleenjain.blogspot.com On Mar 24, 9:20 am, Gurnam Singh wrote: > Thanks Shale

[flex_india:20808] Air Application installation issues - critical

2009-03-24 Thread riaflexible
Hi , In Mac , I have already Installed a Air Application which has version 2.0.11 . Now I have developed New version which has version 3.0.01 But when i try install the new version , It is not happening it is saying already a applicaton with same name exsists . Please shed some lights on this

[flex_india:20807] Re: Iterate Form elements...

2009-03-24 Thread Vaibhav/Steve
Hi Veena, As per Cairngorm, command should not contain the view's refrence. All you need to do is that fill the event.data with FormVO's object, where FormVO will contain the properties required to fetch from the form and then dispatch the Cairngorm event. : Vaibhav On Mar 24, 7:46 pm, Veena wr

[flex_india:20806] Re: delay in execution

2009-03-24 Thread Vaibhav/Steve
Hi Akhil, Please let me know about the architecture you are following in your application. It is completely dependent on the kind of architecture you are following in your application. In cairngorm, this kind of scenarios are taken care of with the help of events and commands. If you forcefully

[flex_india:20805] Re: Search for a word in string

2009-03-24 Thread sambhavg...@gmail.com
Ed, Please create new discussion thread for different problems, if you post your question within an existing thread, it may not get all the attention that is required! -Sambhav On Mar 24, 6:48 pm, edwin.vgw...@gmail.com wrote: > How do i control Shadow alpha in Flec. > Can someone show me the

[flex_india:20803] Re: How do I get Custom Grouping Using AdvancedDataGrid in Flex

2009-03-24 Thread Anil
HI, I assume that you are able to convert th ecsv file to an ArrayCollection or XMLListCollection(if u are requesting the data from some server) call that as arrData. dpCrit = new ArrayCollection([ {Continet:"Asia", Country:"India", city:"Mumbai",temp:24}

[flex_india:20804] Re: Please Help me on Chat Application..

2009-03-24 Thread Anil
http://www.swfflex.com/blog/index.cfm On Mar 24, 9:16 am, Ravi Mishra wrote: > Got to this link > > http://flexonrails.net/?p=88 > > It may provide an idea. > > -Ravi > > On Mar 24, 5:19 pm, venu S wrote: > > > Hi friends > > I am developing Chat Application which uses back end(Java) Support. >

[flex_india:20799] How To Distinguish ItemClick and ItemdoublClik on Tree Event

2009-03-24 Thread Bhaskar
Hi, How can we Distinguish ItemClcik and ItemDoubleClick on Tree Event. I need to do on ItemClcik DB call and On DoubleClik i need to Expand Node how can I able to do this, please help me in this, if you have example please send me Regards Bhaskar --~--~-~--~~~---

[flex_india:20801] Re: Search for a word in string

2009-03-24 Thread edwin . vgwhiz
How do i control Shadow alpha in Flec. Can someone show me the property? Thanks in advance. Ed On Tue, Mar 24, 2009 at 7:20 AM, Ajo Paul wrote: > > I have a string as "Barrack Obama", i want to write a method which > returns true if a substring is found. it should return true for > barrack or o

[flex_india:20802] Iterate Form elements...

2009-03-24 Thread Veena
Hi Guys - I have been developing a component in Cairngorm Framework and there is case where i have to pass the form (reference) to the event data and access the form elements to retrieve the user entered data. Can anyone help me doing this.. //event.data has the reference to the View Form. This

[flex_india:20800] Problem with textSnapshot.charCount

2009-03-24 Thread Atul K
Hi all, I am trying to get the charCount using "textSnapshot.charCount" and i am getting result as 0. I used pdf2swf with -f option to create swf file. if i run swfstrings swffile.swf command it gives me content of swf file in text format. I am expecting textSnapshot.charCount should return me t

[flex_india:20798] Re: Search for a word in string

2009-03-24 Thread kalpesh mahida
not a big deal in converting it to lowercase, we can make use of toLowerCase() method to do so. Regards, Kalpesh Mahida On Tue, Mar 24, 2009 at 6:45 PM, GAGAN anand wrote: > Hi ganaraj > > The example u gave is case sensitive as it will look for Barrack and not > for barrack. > > I think before

[flex_india:20797] Re: Please Help me on Chat Application..

2009-03-24 Thread Ravi Mishra
Got to this link http://flexonrails.net/?p=88 It may provide an idea. -Ravi On Mar 24, 5:19 pm, venu S wrote: > Hi friends > I am developing Chat Application which uses back end(Java) Support. > Can anyone give me ideas or links of sample applications. > I am trying to develop the web applica

[flex_india:20796] Re: Search for a word in string

2009-03-24 Thread GAGAN anand
Hi ganaraj The example u gave is case sensitive as it will look for Barrack and not for barrack. I think before searching you have to first convert it into lowercase and then search for it. Regards Gagan Deep 2009/3/24 ganaraj p r > You can split the string on ur delimiter.. and then search in

[flex_india:20795] Re: Embedding telugu font

2009-03-24 Thread Ajay
Hi, Have a look at this , http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0787.html Regards, Ajay On Mar 24, 2:09 pm, Neelima Kakarla wrote: > Hai, > >   Can we telugu font in flex. >   If so please send the complete information regar

[flex_india:20794] Re: Component event problem

2009-03-24 Thread Ravi Mishra
1. Use getter and setter to populate that property. 2. Declare getter as Bindable 3. Dispatch event in setter when you set the value. Something like this private var _val:String; [Bindable(event="somethingChanged")] public function get val():String{ return _val; } public function set val(value

[flex_india:20793] delay in execution

2009-03-24 Thread Akhil Agrawal
Hi, I am calling a java function using remote object for executing a query on server and get result it take some time to execute and return result.So i want to insert delay in my action script file so that until i got the result from remoteobject in resultHandler further part of code does not exec

[flex_india:20792] Re: Component event problem

2009-03-24 Thread Gurnam Singh
yes u are right sir, but my problem is this my application get result from database when its load, and then want to fill some fields with value but its shows Null at that time. On Tue, Mar 24, 2009 at 5:14 PM, Ravi Mishra wrote: > > Only a simple change in your code > > declare variable val as B

[flex_india:20790] Please Help me on Chat Application..

2009-03-24 Thread venu S
Hi friends I am developing Chat Application which uses back end(Java) Support. Can anyone give me ideas or links of sample applications. I am trying to develop the web application like GTalk. Thanks & Regards, Venu.S --~--~-~--~~~---~--~~ You received this me

[flex_india:20791] Re: Search for a word in string

2009-03-24 Thread ganaraj p r
You can split the string on ur delimiter.. and then search in the array to check whether that particular word exists.. var arr:Array = str.split(" "); if(arr.indexOf("Barrack") > -1 || arr.indexOf("Obama") > -1 ) { return true; } On Tue, Mar 24, 2009 at 5:18 PM, Ravi Mishra wrote: >

[flex_india:20789] flex application inside flash and remoteobject and tooltip problem

2009-03-24 Thread Carvalhar
Hi, I have a flex application working fine, but i need to load it into a flash swf and it is giving me a lot of trouble. I get a really strange behavior: my mouse doesn't shows anymore (although i'm not changing cursors), remote object's calls doesn't load anymore and tooltips don't show. I thi

[flex_india:20788] Re: Compiling Flex Application with Ant Tasks

2009-03-24 Thread Ravi Mishra
Can you please tell what error are you getting while compiling this application through ant? -Ravi On Mar 24, 1:58 pm, Code wrote: > Hi, > > When I tried compiling my flex application using Ant Task, I was > succesful. But when I tried to compile another flex application in > which I used some

[flex_india:20787] Re: Search for a word in string

2009-03-24 Thread Ravi Mishra
There is a search method associated with the variables of type String. private var str:String = "Is Barrack Obama the president of US"; str.search("Barrack Obama") will return true in this case. HTH, -Ravi On Mar 24, 4:42 pm, kalpesh mahida wrote: > Hi, > > It is possible and you can use the

[flex_india:20786] Re: Component event problem

2009-03-24 Thread Ravi Mishra
Only a simple change in your code declare variable val as Bindable like i did it as follows: [Bindable] private var val : String; HTH, -Ravi On Mar 24, 4:11 pm, guru wrote: > Hi Frds, > > This is one sample application in which i am trying to show value in > label when VBox create. > then fi

[flex_india:20785] Re: Search for a word in string

2009-03-24 Thread kalpesh mahida
Hi, It is possible and you can use the *indexOf( )* *or lastIndexOf( )* to determine whether a string contains a specified sub string Regards, Kalpesh Mahida On Tue, Mar 24, 2009 at 4:50 PM, Ajo Paul wrote: > > I have a string as "Barrack Obama", i want to write a method which > returns true

[flex_india:20783] Component event problem

2009-03-24 Thread guru
Hi Frds, This is one sample application in which i am trying to show value in label when VBox create. then fill lablw with value. i want to know just one thing that is there any way to fill inner component when outer component creation complete. bez hole page render in one go. http://

[flex_india:20784] Search for a word in string

2009-03-24 Thread Ajo Paul
I have a string as "Barrack Obama", i want to write a method which returns true if a substring is found. it should return true for barrack or obama, but not for bar or oba etc. Let me know if its possible in AS --~--~-~--~~~---~--~~ You received this message becau

[flex_india:20781] Embedding telugu font

2009-03-24 Thread Neelima Kakarla
Hai, Can we telugu font in flex. If so please send the complete information regarding that. Regards Neelima --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, se

[flex_india:20780] Compiling Flex Application with Ant Tasks

2009-03-24 Thread Code
Hi, When I tried compiling my flex application using Ant Task, I was succesful. But when I tried to compile another flex application in which I used some flash SWF files and the symbols in that SWF files. Now, I'm unable to compile the application using Ant Tasks as I need to add the SWF file to

[flex_india:20782] Re: How much actionscript do you need to know in order to develop in Flex 3?

2009-03-24 Thread ganaraj p r
If you understand the basics.. its pretty much the same.. On Mon, Mar 23, 2009 at 11:56 PM, Joseph Castindy wrote: > Flex is a mix of mxml and actionscript 3. Now my questions is simple. How > much AS3 do you need to know in order to develop seriously using Flex 3 > technology? Thanks. > > > > >

[flex_india:20779] Re: how to paste data in excel

2009-03-24 Thread kundan singh
thanks Hissam exception was Internet explorere cant download it and "UnSpecified error ". when directly calling the java script function from flex as :- navigateToURL(new URLRequest("javascript:openExcel();")); But when opening like :- navigateToURL(new URLRequest("ex.html")); and ex.html cont

[flex_india:20778] Re: Rotating Menu

2009-03-24 Thread ganaraj p r
Hi, You should try out papervision.. It makes your life easier to use a 3D engine .. But as far as I know there is no ready made component that can be used. http://dougmccune.com/blog/2007/11/03/coverflow-flex-component/ You can try this.. if it suits your need. On Tue, Mar 24, 2009 at 12:17 PM,

[flex_india:20772] Re: Flex Builder 3 Student Version

2009-03-24 Thread Anil
http://www.translate.google.com/translate?prev=hp&hl=en&u=http://ricardogobbo.wordpress.com/2009/03/20/serial-da-versao-estudantil-do-adobe-flex-builder-3/%0D%0A%0D%0A&sl=auto&tl=en On Mar 20, 3:27 pm, Ricardo Gobbo wrote: > how to get Flex Builder 3 student version > see > here:http://ricardo

[flex_india:20768] Re: how to call .air in java

2009-03-24 Thread Neelima Kakarla
hai If they don't have installed AIR runtime at their systems will it works. Could you please provide me the sample application as zip on which u worked before. regards Neelima On Fri, Mar 20, 2009 at 2:32 PM, prasad wrote: > > Hi Folks, > > I already tried one sample , its

[flex_india:20775] Re: change stage size dynamically.

2009-03-24 Thread Kunal Pagariya
Hi, I tried your solution, but its not working. I want something like that , when user click small button, the stage size should be 320*240,when user click Medium button, the stage size should be 480*360 and for large 640*480. Here is my code http://www.adobe.com/2006/mxml"; layout="absolute

[flex_india:20777] Set As Default Application

2009-03-24 Thread VijayRama
Hi, I am using Adobe AIR. I want to set my AIR Application as a default application to open a particular file overriding the existing file association for that file. When I searched I got this line NativeApplication.nativeApplication.setAsDefaultApplication("mp3"); Can you please tell me wher

[flex_india:20769] How do I get Custom Grouping Using AdvancedDataGrid in Flex

2009-03-24 Thread Advanced Data Grid ( Custom Grouping )
I am new to flex. I have to display some data in a hierarchy using a combination of actionscript and flex. I would really appreciate if some one can show me the code for it. I have a csv file with the temperature data for some regions. First row is the header row. The data in the csv file changes

[flex_india:20765] Re: help virus

2009-03-24 Thread Flex Baby
i got it & cleaned.iframe is in index.html On Mar 23, 3:52 pm, FreeMind wrote: > hi flex baby... >  please check your html page. may be there will be an iframe added at > the lost of your html page. please open it in and check. coz i too had > the same problem but with an diffrent virus. --~--~

[flex_india:20776] Problem with ExternalInterface.addCallback

2009-03-24 Thread Gugle
Hi all, I'm facing a weird problem. I'm using ExternalInterface.addCallback for interaction between Javascript and my flex application. When I compile this '.as' file in my Eclipse environment, everything works fine and when I deploy it also, things work fine and I can call my actionscript methods

[flex_india:20771] How much actionscript do you need to know in order to develop in Flex 3?

2009-03-24 Thread Joseph Castindy
Flex is a mix of mxml and actionscript 3. Now my questions is simple. How much AS3 do you need to know in order to develop seriously using Flex 3 technology? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[flex_india:20766] Re: Vertical Scroll Bar

2009-03-24 Thread Anil
if u give fixed numbers..depending on the resolution of the screen u might still see teh scroll bar.. its better to give height and width in % . that is much better On Mar 21, 12:33 am, kalpesh mahida wrote: > Also u can give fixed height and width to your outer container with scroll > policy ha

[flex_india:20770] Stage size in actionscript

2009-03-24 Thread kunal
Hi I want to assign Stage Width and Height in actionscript and depending upon condition i want to change the stage size. Please help me Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Co

[flex_india:20774] Re: How to handle Session in Flex

2009-03-24 Thread Gurnam Singh
Thanks Shaleen for your quick response I am using Flex Java application using Tomcat, i am able to mention flex session at java End. exp: headerVO=(LoginVO) flexSession.getAttribute("user"); headerVO.setUserList(getUserList()); System.out.println(" Session User Val

[flex_india:20767] Db path in SQLite database system for air appliaction

2009-03-24 Thread kundan singh
hi friends, I have using SQLConnection in Adobe AIr for creating dataBase and table. but I am unable to find the database for taking backup. please help me to find the path of this db. thanks in advance Kundan --~--~-~--~~~---~--~~ You received this message beca

[flex_india:20773] Problem with ExternalInterface.addCallback

2009-03-24 Thread Gugle
private String paramStr = ""; private String paramNamesStr = ""; public FlexParam(String paramStr, String paramNamesStr) { this.paramStr = paramStr; this.paramNamesStr = paramNamesStr; } public String getParamStr() {

[flex_india:20764] Re: how to paste data in excel

2009-03-24 Thread HISSAM
Hey Kundan, whats the Exception?? Anyways, if you are running this on FirefoX then you wont get the ActiveXObject. I hope you are running IE. On Mar 23, 1:40 pm, kundan singh wrote: > hi friends > > I have copied tha data through the System.setClipboard(str); > > but I am unable to paste it int