flex4.5

flex mobile TabbedViewNavigatorApplication back button part2

谁说胖子不能爱 提交于 2020-02-06 06:34:06
问题 Refer back to : flex mobile TabbedViewNavigatorApplication back button I have 2 Tabs. Tab1 has 2 sub Views: Tab1 Tab1subViewA Tab1subViewB Tab2 subview... In Tab1 (Tab1SubViewA is the first View), -> I navigate to Tab1SubViewB (still under Tab1). How can I go back to previous view (Tab1SubViewA)? Note: it's not moving from Tab to Tab but moving from View to View all in the same Tab. code for Tab1SubViewA: <?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

flex mobile TabbedViewNavigatorApplication back button part2

ぃ、小莉子 提交于 2020-02-06 06:33:53
问题 Refer back to : flex mobile TabbedViewNavigatorApplication back button I have 2 Tabs. Tab1 has 2 sub Views: Tab1 Tab1subViewA Tab1subViewB Tab2 subview... In Tab1 (Tab1SubViewA is the first View), -> I navigate to Tab1SubViewB (still under Tab1). How can I go back to previous view (Tab1SubViewA)? Note: it's not moving from Tab to Tab but moving from View to View all in the same Tab. code for Tab1SubViewA: <?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

Flex 4.5 How do you check for JSON child node key existence (using hasOwnProperty or other methods)

筅森魡賤 提交于 2020-01-06 19:50:28
问题 How do you check for JSON child node key existence using hasOwnProperty (or other methods) in Flex 4.5? The hasOwnProperty method can check for JSON key existence but this seems to only work with top level nodes in a JSON, and not the child nodes. For example, if you have JSON structure like this (in a readable form, sans the JSON syntax), you can check for the existence of callresponder.lastResponse.hasOwnKey("Location") , but there seems no way to check for Location.VenueName for example or

separating data in an array for display in Flex

不问归期 提交于 2020-01-06 08:48:09
问题 I'm new to flex/flash builder, i need to read in data from a text document, then slice it into pieces i set out in my custom class. all of this so far worked var theCustomer:Customer=new Customer(name,address,phoneNo,comment,custNo); custArray.addItem(theCustomer); So now what i want to do is display only the name from each entry of the array into a combobox - and then on close it will display all the details into a list box If i just bind the custArray to the combobox it displays name

Mobile App Using Remote Web Server

天大地大妈咪最大 提交于 2020-01-06 05:47:35
问题 I must say that I am reaching the end of my tether with Flash Builder and Flex. Firstly, I have built this wonderful app that I want to start using but it is data driven meaning that when I built it, I created it on my localhost. The PHP scripts were generated from Flash Builder and I have edited them to make them more secure. I have all my services working 100% and I have this brilliant app, but I can only run it on localhost. I have done everything necessary and installed Zend Framework on

Adobe Native Extensions — not working?

我的未来我决定 提交于 2020-01-01 15:36:15
问题 I am trying to work with "Adobe Native Extensions" - one of the newest features released in Adobe Flash Builder 4.5. I am trying to communicate between Adobe AIR and a native C++ application on Windows 7 with the help of Adobe Native extensions. (Of course, we can do this today with NativeProcess APIs, but ANE is much more powerful) I followed the steps mentioned in the following article: http://thingsico.de/blog/tag/native-extensions/ created the sample DLL using cygwin to compile the C++

How to insert data from dynamic array to sqlite db getting from WebService Using Loop in action script 3.0 and flex

萝らか妹 提交于 2019-12-31 06:03:49
问题 How can I insert dynamic Array to data base using Loop at the success of the Webservice call first my Webservice which i have Bind to DataGrid <fx:Declarations> <mx:WebService id="ws" wsdl="http://localhost:2690/vtrServices.asmx?wsdl"> </mx:WebService> <vtrservices:VtrServices id="vtrServices" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true" result="vtrServices_resultHandler(event)" /> <s:CallResponder id="SignIn1Result2"/> <s:CallResponder id

Is it OK to have multiple assertions in a unit test when testing complex behavior?

巧了我就是萌 提交于 2019-12-30 15:03:12
问题 Here is my specific scenario. I have a class QueryQueue that wraps the QueryTask class within the ArcGIS API for Flex. This enables me to easily queue up multiple query tasks for execution. Calling QueryQueue.execute() iterate through all the tasks in my queue and call their execute method. When all the results have been received and processed QueryQueue will dispatch the completed event. The interface to my class is very simple. public interface IQueryQueue { function get inProgress()

HIghlight row in red border in AdvancedDataGrid in Flex 4

我的梦境 提交于 2019-12-25 18:28:50
问题 I want to highlight the row in red border in AdvancedDataGrid without selecting the row. My selected item is different from the highlight row. Please see the following image : My selected index is where Territory is Nevada but my highlighted row is different(in Red Border) based on some condition. So please tell me how can i implement it. 回答1: You will have to extend mx.controls.advancedDataGridClasses.AdvancedDataGridGroupItemRenderer and add the condition + visuals to add the red border

Data filtering for XML. Flex

谁说胖子不能爱 提交于 2019-12-25 16:49:18
问题 I am trying to filter xml data but right now I there are no data appearing in the list. Am I doing something wrongly? Sorry guys I am still new to this website too. Pardon me If I posted the wrong way. This is the error. TypeError: Error #1034: Type Coercion failed: cannot convert mx.collections::ArrayCollection@51443c1 to XMLList. xmlns:s="library://ns.adobe.com/flex/spark" title="Malls" creationComplete="malls.send()"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value