[flexcoders] http service and data service questions
Hi All, can anyone share the Information regarding the questions 1. Is it possible to make httpService Requests synchronous? 2. I need to load an image from flickr into my application. Do I need a crossdomain.xml file on flickr? 3. What is the difference between httpService and Data Service? Thanks, Tomt.
[flexcoders] using tooltip for MenuItems
Hi All, In my application am using a menuItem, am able to display the data in the menu, but I need to use the Tooltip for the menuitem in the list. I have used the following code for displaying the tooltip. But by this code tooltip is not displaying. private var menuDataList:XMLList = menuitem label=File data=file menuitem label=New data=new tip=Create a new File/ menuitem label=Open data=open tip=Open a Existing File/ menuitem label=Save data=save tip=Save the list of contents/ menuitem label=Save As data=saveas / menuitem label=Exit data=exit/ /menuitem / mx:HBox width=100% mx:MenuBar id=menulist labelField=@label dataProvider={menulistCollection} change=changeHandler(event); x=0 y=0 toolTip={data.tip} / can anyone suggest me how to use the tooltip for menuitems. Thanks in Advance.. Regards, Tomt
[flexcoders] Interview questions
Hi All, I am attending for Interviews on Adobe Flex 2.0 and AS 3.0 can anyone send me Interview questions or url of faq's for preparing the Interview. Thanks, Tomt.
[flexcoders] tomcat server
Hi All, Presently am using fds-tomcat for developing the Flex applications and excuting. can we use tomcat for deploying the flex applications that to run flex applications on tomcat4.x or 5.x etc.. can anyone give me some few suggestions about that. Thanks, Tomt.
[flexcoders] flex war project
Hi All, I am working with Flex 2.0 with fds-tomcat. I need to create the project as a war file like flex.war. can anyone suggest me how to create war files for flex project and deploying this war file in any other tomcat. give me some suggestion on this.. Thanks in Advance --Tomt
[flexcoders] using files
Hi, In my application am using the text file like .txt, .pdf files. when I click on the button I need to a open that pdf file. can anyone help me how to using the files with in Flex .. Thanks in advance, tomt
Re: [flexcoders] using files
Hi Tom, Thanks for the reply.. navigateToUrl() will be used for calling the another file in mxml, But, by using the same navigateToUrl() *shall we call the text files and pdf files. *Thanks, Tomt. On Tue, May 13, 2008 at 5:59 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 13 May 2008, Tom Preet wrote: when I click on the button I need to a open that pdf file. navigateToUrl() -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
[flexcoders] String Replace
Hi, In my application am using remote object method for retrieving data from Java class. in the ResultEvent am storing the values in String. But the data from the java was displa,ying as ,aa,bb,cc,dd ,AA,BB,CC,DD ,ab,bc,bd . But, comma(,) Symbol is displaying before the starting of each and every line. For this I have used the String replacement where as comma(,) is replacing by blankspace. But, here each and every time comma(,) is replacing by space. I need to replace the first position instead of all the commas(,) in the string. can anyone help me how to achieve this. Thanks, Tomt.
[flexcoders] customizing navigateToURL
Hi All, In my application am using the navigateToUrl method, Here for navigateToUrl am using a pdf file for displaying. it was also working fine. am using as follows: *var* u:URLRequest = *new* URLRequest(*docs/Chapter_1.pdf*); navigateToURL(u, *_blank*); when displaying this file it was opening in whole browser, I need to display it within a small browser. Here I need to customize the window by decresing the width and height. can anyone help me how to achieve this. Thanks in advance.. --Tomt
[flexcoders] progress bar with remote objects
Hi, I am using RemoteObject method within my Flex application. Here for retriving data it was getting some few seconds. for that I need to use Progress bar instead of using showbusy cursor. can anyone give me some suggestions of using progress bar with remote object method. Thanks, Tomt.
[flexcoders] datagrid with checkbox implementation
Hi All, Hi in my application am using datagrid in that am using dataprovider for displaying the data the data has been retrieving using remote object. am using the check box within itemrenderer. mx:DataGridColumn id=column4 textAlign=center headerText=Multi width=100 dataField=multi mx:itemRenderer mx:Component mx:CheckBox selected={data.multi}/ /mx:Component /mx:itemRenderer /mx:DataGridColumn by using the above code all the checkboxes are selected. But when getting the data from remote object I have some true and false values these values are reflected on comboBox. When it is true then checkbox is checked otherwise not selected. How to use the functionality for that. can anyone help me how to achieve this. --tomt.
Re: [flexcoders] datagrid with checkbox implementation
Hi, Thanks for the reply. Checkbox was displaying in the page. but it was not selected from remote object some values are true and some values are false. for true it was selected but here just check box was displaying by using the above code. can I have to declare function for that if true then selected like that. give me some suggestions. Thanks, Tomt On 3/4/08, Alex Harui [EMAIL PROTECTED] wrote: Try: mx:DataGridColumn id=column4 textAlign=center headerText=Multi width=100 dataField=multi mx:itemRenderer mx:Component mx:CheckBox / /mx:Component /mx:itemRenderer /mx:DataGridColumn -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Tom Preet *Sent:* Tuesday, March 04, 2008 1:03 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] datagrid with checkbox implementation Hi All, Hi in my application am using datagrid in that am using dataprovider for displaying the data the data has been retrieving using remote object. am using the check box within itemrenderer. mx:DataGridColumn id=column4 textAlign=center headerText=Multi width=100 dataField=multi mx:itemRenderer mx:Component mx:CheckBox selected={data.multi}/ /mx:Component /mx:itemRenderer /mx:DataGridColumn by using the above code all the checkboxes are selected. But when getting the data from remote object I have some true and false values these values are reflected on comboBox. When it is true then checkbox is checked otherwise not selected. How to use the functionality for that. can anyone help me how to achieve this. --tomt.
[flexcoders] Select and Click Events generation
Hi All, In my application am using one List , Combo box and other two List boxes(named as ABox, BBox). In the List box and combo box it contains some attributes. when am selecting a object from comboBox, using related object am retriving some more objects using remote object and displayed within the Listboxes ABox and BBox it was working good. Here, I have List contains with different object(not related to combobox objects) for this, under List I have used a button. Now my requirement is when I select the object from List andthen click on Add(button) thenonly the object is displayed in List box(ABox and BBox). (i.e; select and click event both are raised at a time). then all the object are displayed(append) from combox objects, and list objects all are displayed in List(ABox, BBox) can any one give me some suggestions how to achieve this. Thanks in advance, --tomt
[flexcoders] datagrid provider doubt
Hi, Sujit Thanks for ur reply. Here In RPC we are returning ArrayCollection containing objects and each object has got properties prop1, prop2 and prop3. I have stored the ArrayCollection values into a variable named listEmp but, how to assign the properties names for each of the varible prop1, pro2, prop3. can you advice me how to achieve this. Thanks in Advance.. --tomt On 2/26/08, Sujit Reddy [EMAIL PROTECTED] wrote: Lets say your RPC is returning ArrayCollection containing objects and each object has got properties prop1, prop2 and prop3 your code should be similar to the below one dataGrid.dataProvider = arrayCollection; dataColumn1.dataField = prop1; dataColumn2.dataField = prop2; On Tue, Feb 26, 2008 at 3:30 PM, Sujit Reddy [EMAIL PROTECTED] wrote: value of the dataField should be the name of the property from which the value has to be retrieved. for example, RPC is returning object with three properties named prop1, prop2 and prop3. then the dataField should be set to the name of the property like dataField = prop1; Hoe this helps. Regards, Sujit Reddy G On Tue, Feb 26, 2008 at 1:38 PM, Tom Preet [EMAIL PROTECTED] wrote: Hi All, In my app am using datagrid with three columns. to fill the data in to datagrid, am getting the data using remote object and stored data into a Arraycollection in mxml. when am displaying the data into a grid it was displaying(repeating same data) in all the three columns. how to display the data within the respective fields. I have used column1.dataField={lis.getItemIndex(1).toString()} like this to display the content of field in first column but it was not displaying anything. can anyone help me how to achieve this. --tomt -- Regards, Sujit Reddy. G -- Regards, Sujit Reddy. G
[flexcoders] data provider doubt
Hi All, In my app am using datagrid with three columns. to fill the data in to datagrid, am getting the data using remote object and stored data into a Arraycollection in mxml. when am displaying the data into a grid it was displaying(repeating same data) in all the three columns. how to display the data within the respective fields. I have used column1.dataField={lis.getItemIndex(1).toString()} like this to display the content of field in first column but it was not displaying anything. can anyone help me how to achieve this. --tomt
Re: [flexcoders] Re: Tree nodes expansion
Hi, Thanks for ur reply.. I am having some doubt where can I have to call Try TreeForm.updateList(); whethere click function for Tree node or some where else.. can you lnform me .. Thanks, Tomt On 2/18/08, Rafael Faria [EMAIL PROTECTED] wrote: Try TreeForm.updateList(); Raf --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tom Preet [EMAIL PROTECTED] wrote: Hi All, In my application am using Tree with nodes when I click on the node it was displaying the alert, but when I selected the first node the related page was displaying, next time when I click on another node it was not displaying the second page. Now I need to use it as when I click on particular node the related page was displayed. how to refresh the nodes when selecting the each node simultaniously. *My Application:*?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=1094 height=640 verticalScrollPolicy=off horizontalScrollPolicy=off mx:Script ![CDATA[ import mx.controls.Alert; private function changeEvt(event:Event):void { var selectedNode:String = if ([EMAIL PROTECTED] ) { selectedNode = [EMAIL PROTECTED]; //Alert.show(the data +selectedNode); if(selectedNode==abc Node) { var abc:abcForm = new abcForm(); rightPane.addChild(abc); } else if(selectedNode==ddd Node) { Alert.show(Access); var ddd:ddForm = new ddForm(); rightPane.addChild(ddd); } else if(selectedNode==zzz Node) { Alert.show(Error); var zzz:zzForm = new zzForm(); rightPane.addChild (zzz); } } } ]] /mx:Script mx:HBox width=1089 id=rightPane height=630 x=5 y=10 verticalScrollPolicy=off horizontalScrollPolicy=off mx:VBox width=230 height=627 verticalGap=10 mx:Panel width=229 height=628 title=Tree verticalScrollPolicy=off horizontalScrollPolicy=off backgroundColor=white mx:Tree id=TreeForm change=changeEvt(event) labelField=@label showRoot=true width=210 height=595 mx:XMLListCollection id=nodes mx:XMLList node label=abc Node / node label=Main Forms isBranch=true node label=ddd Form / node label=zzz Form/ /node /node /mx:XMLList /mx:XMLListCollection /mx:Tree /mx:Panel /mx:VBox /mx:HBox /mx:Canvas can you suggest me how to achieve this. Thanks, Tomt.
Re: [flexcoders] Tree nodes expansion
Hi All, In my application am using Tree with nodes when I click on the node it was displaying the alert, but when I selected the first node the related page was displaying, next time when I click on another node it was not displaying the second page. Now I need to use it as when I click on particular node the related page was displayed. how to refresh the nodes when selecting the each node simultaniously. *My Application:*?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=1094 height=640 verticalScrollPolicy=off horizontalScrollPolicy=off mx:Script ![CDATA[ import mx.controls.Alert; private function changeEvt(event:Event):void { var selectedNode:String = if ([EMAIL PROTECTED] ) { selectedNode = [EMAIL PROTECTED]; //Alert.show(the data +selectedNode); if(selectedNode==abc Node) { var abc:abcForm = new abcForm(); rightPane.addChild(abc); } else if(selectedNode==ddd Node) { Alert.show(Access); var ddd:ddForm = new ddForm(); rightPane.addChild(ddd); } else if(selectedNode==zzz Node) { Alert.show(Error); var zzz:zzForm = new zzForm(); rightPane.addChild (zzz); } } } ]] /mx:Script mx:HBox width=1089 id=rightPane height=630 x=5 y=10 verticalScrollPolicy=off horizontalScrollPolicy=off mx:VBox width=230 height=627 verticalGap=10 mx:Panel width=229 height=628 title=Tree verticalScrollPolicy=off horizontalScrollPolicy=off backgroundColor=white mx:Tree id=TreeForm change=changeEvt(event) labelField=@label showRoot=true width=210 height=595 mx:XMLListCollection id=nodes mx:XMLList node label=abc Node / node label=Main Forms isBranch=true node label=ddd Form / node label=zzz Form/ /node /node /mx:XMLList /mx:XMLListCollection /mx:Tree /mx:Panel /mx:VBox /mx:HBox /mx:Canvas can you suggest me how to achieve this. Thanks, Tomt.
[flexcoders] Tree nodes expansion
Hi All, Am using Tree in my application with three nodes. using XMLListCollection and displaying the data within respected panel. when I click on node it was displaying in on only one page. when clicking on remaining nodes there was no effect. i would like to use the Refresh when I click on each time . In nodes to displaying data am using Remote object for getting the data from java application. can anyone suggest me how to use the Refresh for nodes within tree. --Tomt
[flexcoders] Using Remote Object
Hi All, In my application am using a List box witha list of items. when selected a node I need to send that node to same object to two remote objects. am having a doubt how to using this. after getting the data into the ResultEvent I need to display the two different Results on two panels. can anyone give me some suggestions of how to achieve this. Thanks, Tomt.
[flexcoders] Tree Nodes with new Application
Hi All, In my application am using Tree with nodes when I click on the node it was displaying the alert, but when I selected the first node the related page was displaying, next time when I click on another node it was not displaying the second page. Now I need to use it as when I click on particular node the related page was displayed. how to refresh the nodes when selecting the each node simultaniously. *My Application:*?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=1094 height=640 verticalScrollPolicy=off horizontalScrollPolicy=off mx:Script ![CDATA[ import mx.controls.Alert; private function changeEvt(event:Event):void { var selectedNode:String = if ([EMAIL PROTECTED] ) { selectedNode = [EMAIL PROTECTED]; //Alert.show(the data +selectedNode); if(selectedNode==abc Node) { var abc:abcForm = new abcForm(); rightPane.addChild(abc); } else if(selectedNode==ddd Node) { Alert.show(Access); var ddd:ddForm = new ddForm(); rightPane.addChild(ddd); } else if(selectedNode==zzz Node) { Alert.show(Error); var zzz:zzForm = new zzForm(); rightPane.addChild(zzz); } } } ]] /mx:Script mx:HBox width=1089 id=rightPane height=630 x=5 y=10 verticalScrollPolicy=off horizontalScrollPolicy=off mx:VBox width=230 height=627 verticalGap=10 mx:Panel width=229 height=628 title=Tree verticalScrollPolicy=off horizontalScrollPolicy=off backgroundColor=white mx:Tree id=TreeForm change=changeEvt(event) labelField=@label showRoot=true width=210 height=595 mx:XMLListCollection id=nodes mx:XMLList node label=abc Node / node label=Main Forms isBranch=true node label=ddd Form / node label=zzz Form/ /node /node /mx:XMLList /mx:XMLListCollection /mx:Tree /mx:Panel /mx:VBox /mx:HBox /mx:Canvas can anyone help me how to achieve this.. Thanks in Advance.. --tomt **
[flexcoders] tree nodes using refresh
Hi, In my application am using a tree structure. I am using two nodes and textarea for displaying data. here am using remote-object method to read the content from a file. when I click on the nodes it was displaying the related data with in textarea, it was working fine. when I click on other node I need to clear the textarea and data should be displayed. Here I would like to use the refresh() and textarea should be clear. can anyone help me how to achieve this. Thanks in Advance.. Regards, Tomt
[flexcoders] Using Popup menu
Hi All, Iam working using login page in my app am using username, password to give username and password, when I click on submit button it will validate the user name and password upto here working fine. I am using another button for change password when I click on change password button a new popup menu or window is tobe displayed. can anyone suggest mw how to use popups for such buttons. Thanks in Advance.. --Tomt
[flexcoders] Show and Hide using delay
Hi All, In my am using two buttons when I clicked on button one it will display the some text on another, it will display only for 3 seconds. same will repeat when I clicked on another button. but this was happening for only one time again I need to refresh the page. I need to display the label names by clicking on continuously with out refreshing the page. here am pasting my piece of code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical verticalAlign=middle mx:Script ![CDATA[ import mx.controls.Alert; private var alert:Alert; private function showAndHide(delay;Number):void { lbl.text=Clickedon Button ONE; setTimeout(hideAlert, delay); } private function hideAlert():void { lbl.setVisible(false); } private function showAndHideC(delay:Number):void { lbl.text= Clicked Button TWO + (delay / 1000) ; setTimeout(hideAlert, delay); } ]] /mx:Script mx:VBox width=402 height=208 mx:Button label=Launch alert width=178 click=showAndHide(3000); / mx:Button label=Stop Server width=177 click=showAndHideC(3000); / mx:Label id=lbl width=174 / /mx:VBox /mx:Application == can anyone heplp me how to achieve this. Thanks in Advance, Tomt.
[flexcoders] Remote Object with fieds Data
Hi All, I am developing an Flex App.. in my App, I used 3 text boxes and 2 labels to display the text in the labels and textboxes I need to use Remote Object method. in remoting-config.xml described the description for java class. In mxml function for ResultHandler is used like this var myString:String= new String(); myString=event.result.toString(); Alert.show(Data: +myString); the whole data is displaying at a time in Alert. But I need to display the fields in particular specified textboxes and Labels in mxml page. Can help me how to achieve this. --tomt
[flexcoders] TabNavigator with Local tag ..
Hi All, In my app am using the TabNavigator control for displaying Tabs. When I click on click on each tab I've to open an mxml page with in a tab. for this am using like mx:TabNavigator id=tn borderStyle=solid height=400 width=600 x=11 paddingTop=0 mx:VBox label=TabOne width=600 height=520 paddingLeft=0 paddingTop=0 local:Example id=exp paddingLeft=0 paddingTop=0 / /mx:VBox here Example is the mxml page calling using local tag. Since am using Local tag, am getting a error like Display Child Object Error Instead of using local tag is there any other alternative for this to achive it. Thanks, Preet.
Re: [flexcoders] Hyperlink in flex.
Hi Venkat, use the URL Navigator control for ex: var u:URLRequest = new URLRequest(x.mxml); navigateToURL(u, _self); for the Image Click event ok. Bye.. Preet. On 10/19/07, Venkat Perpati [EMAIL PROTECTED] wrote: Hi, Can anyone please tell me about how to add a hyperlink combined with a small image in flex refering to mxml file in the same folder or refer to a page in the same application. regards, Venkat Perpati -- Save all your chat conversations. Find them online.http://in.rd.yahoo.com/tagline_webmessenger_3/*http://in.messenger.yahoo.com/webmessengerpromo.php
[flexcoders] How to use Refresh()
In my application am using a button for Refresh. Upto Now: I have retrived the list of files from Directory in to the combo box usingthe Remote Object method. when I select a particular file from combo the content of the file is displaying on the text area. upto here working fine. along with that I placed a button for Refresh, Now when I click on the button(Refresh) I need to refresh and display the particular File. can I have any Suggestions regarding this how to achieve it. Thanks, Tomt
[flexcoders] Doubt using Refresh
Hi, In my application am using a button for Refresh. Upto Now: I have retrived the list of files from Directory in to the combo box using the Remote Object method. when I select a particular file from combo the content of the file is displaying on the text area. upto here working fine. along with that I placed a button for Refresh, Now when I click on the button(Refresh) I need to refresh and display the particular File. can I have any Suggestions regarding this how to achieve it. Thanks, Preet.
[flexcoders] SuperTabNavigator
Hi All, In my application am using the SuperTabNavigator, can tell me how to use the supertabnavigator that displays the tabs in the panel with closable option. can anyone give me some examples regarding this. Thanks, Tomt.
Re: [flexcoders] Doubt with Refresh()
Hi, Thanks for u r reply. In my app I used remote object procedure to get data from the server. The data is displaying in the text area when I click on the button. Here I placed one button for refresh. when I click on the button the text area has to be refreshed. But, here am not getting how to use the function for refresh. Can u give some suggetions. Thanks, Preet.
[flexcoders] Doubt with Refresh()
Hi All, In my App am using the one text area and one button for refresh . when I click on the button the text area has to be refreshed. Can any one help how achieve this. Thanks, Preet.
[flexcoders] Doubt with Combo box
Hi All, In my application I used the combo Box to display a list of files(file Names). These files are retrived from a file using Remote object. Now, when I click on the fileName the contents in the file has to be displayed on the text area. But when i clicked on the file name the filename is displaying on the text area. Can anyone help me how to achieve this. If anyone could give me a suggestion, I'd appreciate it. Thanks, Preet.
[flexcoders] Combo box with Remote Object
Hi Guys, am having a doubt on using the combo box control in Flex Application. The values in the combo box has to be read from a file and display within a combo box, for this I used Remote object method. am not getting how to write a function for store the data in a Array Collection and display it and display the content when i clicked on it. Does anybody know any ways of overcoming this problem? Thanks, Tomt.
[flexcoders] problem Super Tab Navigator
Hi, In my App am i would like to use the SuperTab Navigator but when i use the flexlib:SuperTabNavigator am not getting thatone. can i have to import any jars for that. can tell me how to achieve this. Thanks, Tomt.
[flexcoders] Closable Tabs
Hi, In my App I used the Tab Navigator control and placed some tabs in my App. When I run the app the tabs are overlaping. am having doubt when I click for second tab the first tab has to be closed, when I click on third tab the before tabs are to be closed... can suggest me how to implement this in my App. Thanks, Tom.