flex4.5

Channel.Security.Error…Error #2048

只谈情不闲聊 提交于 2019-12-04 08:32:44
I recently upgraded to Flash Builder 4.5 for PHP and am trying to upload a release build to my remoteserver. When I try to make a php call from the app, I get the error: Send failednChannel.Security.Error error Error #2048 url: 'http://localhost/my_php/public/gateway.php' The release build works fine on my localhost machine. All of my php service calls are on my remote host. Here's the structure of my remote host: /my_directory/html (this is the root directory) /my_directory/html/my_php/public/release (this is where my .html wrapper and .swf files sit) /my_directory/html/my_php/public (this is

Using mx.charts in a Flex mobile project

前提是你 提交于 2019-12-03 21:45:13
Adobe states that Charts are supported in mobile projects but when I try to change the following working files (created project with File - New - Flex Mobile Project - Google Nexus One): MyTest.mxml: <?xml version="1.0" encoding="utf-8"?> <s:MobileApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.MyTestHome"> <s:navigationContent> <s:Button label="Home" click="navigator.popToFirstView();"/> </s:navigationContent> <s:actionContent/> </s:MobileApplication> MyTestHome.mxml: <?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx=

List with multilined (word wrapping) item renderer - how to scroll to the bottom? With test case and screenshots

谁说我不能喝 提交于 2019-12-02 15:58:03
问题 In a Flex 4 web application I am trying to use a spark.components.List for a chat (for various reasons - it works well for me in a Flex mobile app already), but because I use an item renderer which can be multilined (i.e. wraps too long lines) I have the problem, that I can not scroll the list to its bottom by calling its ensureIndexIsVisible method: I have prepared a very simple test. These are just 2 files, which will work instantly, when you put them into a new Flex project in Flash

List with multilined (word wrapping) item renderer - how to scroll to the bottom? With test case and screenshots

元气小坏坏 提交于 2019-12-02 08:59:30
In a Flex 4 web application I am trying to use a spark.components.List for a chat (for various reasons - it works well for me in a Flex mobile app already), but because I use an item renderer which can be multilined (i.e. wraps too long lines) I have the problem, that I can not scroll the list to its bottom by calling its ensureIndexIsVisible method: I have prepared a very simple test. These are just 2 files, which will work instantly, when you put them into a new Flex project in Flash Builder - MyApp.mxml: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com

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

社会主义新天地 提交于 2019-12-02 08:21:28
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="GetMyTasksNew1Result" result="GetMyTasksNew1Result_resultHandler(event)"/> </fx:Declarations> This

Merge data into filtered ArrayCollection (maybe by using IViewCursor or localIndex?)

狂风中的少年 提交于 2019-12-01 13:49:01
I have a Flex question, which isn't as easy as it seems at first. At least I'm struggling since 1 week with it. I have prepared a test case and a screenshot. The question is: how do you merge data (coming repeatedly from server) into a filtered ArrayCollection? The screenshot: The TestCase.mxml (just place it into a Flash Builder 4.6 project): <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> <fx:Declarations> <s:RadioButtonGroup id="_group" itemClick="radioClicked(event);"/> </fx:Declarations> <fx:Script

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

泄露秘密 提交于 2019-12-01 13:44:38
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():Boolean; function get count():int; function get completed():ISignal; function get canceled():ISignal;

Flex 4.5 - to long build process

為{幸葍}努か 提交于 2019-11-28 02:19:05
We are developing an app using flex 4.5. The app runs just fine (no performance issues at all) but it takes us forever to compile and build it. A minor change, like just add a comment or press enter in an mxml file and rebuild takes about 3 minutes. You just cant work that way. It is a large project with about 1300 files. We also use Parsley as IOC container and a beat of cairngorm navigation. We also use Maven (Flex mojos) but I am talking about a normal eclipse build (Ctrl + B). We separated some of the code to a different SWC and all of our graphics are stored in a different resource SWF.

Flex 4.5 - to long build process

♀尐吖头ヾ 提交于 2019-11-26 23:41:34
问题 We are developing an app using flex 4.5. The app runs just fine (no performance issues at all) but it takes us forever to compile and build it. A minor change, like just add a comment or press enter in an mxml file and rebuild takes about 3 minutes. You just cant work that way. It is a large project with about 1300 files. We also use Parsley as IOC container and a beat of cairngorm navigation. We also use Maven (Flex mojos) but I am talking about a normal eclipse build (Ctrl + B). We