flex3

Deploying my flex application

穿精又带淫゛_ 提交于 2019-12-24 07:07:06
问题 I am doing some trial testing awith Amazon ec2 boxes, deploying flex apps running on top of restlet powered webservices. I have this problem - Everytime i deploy the app to the cloud, I'm having to hardcode the IP address of the server into the ActionScript/MXML files (http://72.93.48.39:8080/xxx/abc/) and for certain reasons, i am forced to choose a different IP everytime. and i think its really not the right way to deploy the application. I would like to know what other people do in such

Flex3: Custom Item Renderer does not listen to events dispatched by parent

偶尔善良 提交于 2019-12-24 06:21:05
问题 I have a List with a custom ItemRenderer. The ItemRenderer contains a Checkbox and a Label. The component with the List has a 'select all' checkbox. When the 'select all' checkbox is checked, it dispatches an event that each item should listen to in order to select its own checkbox. The eventlistener is added on creationComplete of each item, and the event is dispatched correctly when the 'select all' checkbox is selected, but the listener in the custom ItemRenderer does not listen. How do I

Flex 3 equivalent of '<fx:Declarations>'?

你。 提交于 2019-12-24 05:38:15
问题 I'm trying to migrate a Flex 4 project backwards to Flex 3, and I need to move stuff mapped in a <fx:Declarations> block in MXML. Does Flex 3 have something similar to this? It's been a while since I've done Flex 3. 回答1: There is no equivalent in Flex 3. You can declare things alongside your other components. The difference in Flex 4 makes the separation between visual and non-visual items (including things like effects, validators, formatters, data declarations, and RPC classes) clearer. For

Adding Tomcat Plugin to Flex Builder

[亡魂溺海] 提交于 2019-12-24 02:42:56
问题 Is there anyway we can add the tomcat eclipse plugin to Adobe Flex Builder 3? In other words can we add all eclipse plugins to Flex Builder also? 回答1: Yes you can. And you don't have to download Eclipse. You can do this within Flex Builder. What you have to do is to go to help and then go to find and install. There you have to look for WTP (Web Tools Platform) plus WST ( Web Standard Tools) and once you select it it should say that there are some errors, but what you have to do is to select

Flex to HTML5 - what for presentation layer (canvas, div, ???)

天涯浪子 提交于 2019-12-24 02:00:43
问题 My question is about migration from Flex3 to HTML5. I want do migrate myself not application actually. The question is, what direction is the best and most similar to flex knowledge. Maybe I will reimplement some custom components I already have in my flex library. I think that some of useful flex components I will have to implement myself in HTML5 - e.g. AdvancedDataGrid or Tree. Now I can see 2 possibilities: assume page (or big DIV) as application master class, and implement other

Flash Player 9 vs Flash Player 10 with FLEX 3, ?_method=PUT/DELETE not working?

最后都变了- 提交于 2019-12-24 00:44:13
问题 I have a FLEX 3 frontend that worked fine in FlashPlayer 9. But now that I've upgraded to FlashPlayer10, the ?_method=PUT/DELETE hack is not working anymore. All those requests show up as a POST on the backend now. I did some reading and it sounds like I need to use as3httpclientlib AND run a socket policy server to give access to port 80 (or any other port) in order to use as3httpclientlib. So my question is: are you freakin kidding me? How is it that, in earlier versions of Flex/flash

Migrating to Flex 4

…衆ロ難τιáo~ 提交于 2019-12-24 00:15:45
问题 How much of an impact will migrating to Flex 4 have on our code base? We have about 40k LOC written in Flex 3. I'm hoping that there are no breaking changes in the Flex SDK, and that we can smoothly transition to the new features of Flex 4 while minimizing any disruption. From what I've read Adobe is developing a new set of GUI components called 'Spark' but I'm hoping our existing stuff can co-exist with the new components. 回答1: Spark and MX components can co-exist within the same application

What does different namespaces mean in Flex?

笑着哭i 提交于 2019-12-23 23:13:10
问题 I worked on a flex application 6-7 months back. We used flex 3.5 sdk. Now we are upgrading our flex app with flex sdk 4/4.1 I am still new to flex development and I have a very basic question related to namespace. I have seen three different namespaces in flex sample applications. What is the purpose of having three diff namespaces? When do I use each of them ? xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" Thanks

Display HTML text in the Spark TextArea

寵の児 提交于 2019-12-23 19:25:28
问题 The Below code is running well... <?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" xmlns:mx="library://ns.adobe.com/flex/mx" > <fx:Declarations> <mx:HTTPService id="httpRSS" url="http://www.petefreitag.com/rss/" resultFormat="object" /> </fx:Declarations> <s:Panel id="reader" title="Blog Reader" width="500"> <mx:DataGrid width="485" id="entries" dataProvider="{httpRSS.lastResult.rss.channel.item}" click=

Is there a way to subclass and override a method that is in a custom namespace?

蓝咒 提交于 2019-12-23 18:04:27
问题 Say I have a class with a method defined in a namespace other than public, protected or internal... package com.foo.bar { import com.foo.my_name_space public class bar { private var _vabc:String private var _v123:String protected function set123(val:String):void{ _v123 = val; } my_name_space function setABC(val:String):void{ _vabc = val; } } } Now I want to extend and override this in a subclass... package com.foo { import com.foo.bar.bar import com.foo.my_name_space public class foo extends