apache-flex

Cannot build Android Release Build on Flash Builder 4.7 due to “dx tool failed”

ⅰ亾dé卋堺 提交于 2019-12-11 15:09:29
问题 a few days ago I updated Oracle Java to 1.7.x on my Mac (OS X 10.8) Since then, I'm not able to compile any android release builds from Adobe Flash Builder 4.7 anymore. The error I get is: eclipse.buildId=M20110909-1335 java.version=1.6.0_65 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/slim_tim/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/slim_tim/

RadioButton functionality in custom component

耗尽温柔 提交于 2019-12-11 15:00:11
问题 I am trying to create an xmxl component which contains an image and a radio button. The main application script will use several of these components. I am having problems trying to get the RadioGroup to function properly. I have binded a variable on the RadioButton groupName attribute in the component mxml file so I can set this in the main application script. This functions properly as when I tab through each RadioGroup, only the first radiobutton of each group gets the focus. But when I

Service Browser for AMF calls (Flex to Java)

烈酒焚心 提交于 2019-12-11 14:35:24
问题 Has anyone used or is aware of a service browser to test AMF calls? I am looking for a tool similar to ZamfBrowser ( http://www.zamfbrowser.org ), but one that works for the Java environment. ZamfBrowser is geared towards AMFPHP. The idea here is to provide a service browser, that allows developers to test Java services using the AMF protocol, without having to go through the Flex UI all the time. There has got to be something out there already for this, but I can't seem to locate anything...

CKEditor display on top of all the content flex

半腔热情 提交于 2019-12-11 14:34:46
问题 I have found the lot and got one editor which i use in my project (Flex Web application). I have used CKEditor from this link. <ckeditor:CKEditor id="editor1" width="100%" height="100%"> <ckeditor:htmlText> <![CDATA[ ]]> </ckeditor:htmlText> </ckeditor:CKEditor> It's working ok in my project. But, there is one issue i am facing. Problem: I have one alert message and Custom popup container. I want to display that both on top of the editor. But it hide behind the editor. I want to display on

Handling redirected URL within Flex app?

我的未来我决定 提交于 2019-12-11 14:28:13
问题 We have a Flex client and a server that is using the Spring/Blazeds project. After the user logs in and is authenticated, the spring security layer sends a redirect to a new URL which is where our main application is located. However, within the flex client, I'm currently using HTTPService for the initial request and I get the redirected page sent back to me in its entirety. How can I just get the URL so that I can use navigatetourl to get where the app to go where it needs to? Any help would

Why is my Flex as3 crossdomain.xml not working?

烂漫一生 提交于 2019-12-11 14:24:15
问题 I have spent so much time trying to figure out what is going wrong with my crossdomain.xml implementation. There are tons of questions here about them and I have tried everything from every question. I am using Azure Blob Storage to store images that my swf needs to access. Also I am using the BulkLoader swc to load in these assets. Below is code that runs before the application attempts to load images from the url. Security.allowDomain("mydomain.blob.core.windows.net"); Security

Example of using embedded fonts loaded at runtime Flex 4 runtime loaded modules

霸气de小男生 提交于 2019-12-11 14:22:37
问题 am having quite alot of problems trying to use embeded fonts in flex 4. Here is the situation. I have a main application that fist load the fonts via a URL. This is the font file code: package{ import flash.display.Sprite; import flash.text.Font; public class FontLib extends Sprite { [Embed(source="MyriadPro-Regular.otf", fontWeight= "normal", fontName="Myriad Pro", fontFamily="Myriad Pro",mimeType="application/x-font", embedAsCFF="true")] public const myriadFont:Class; public function

Adding a key listener in Action Script 3

和自甴很熟 提交于 2019-12-11 14:18:25
问题 I am relatively new to Action Script, and I am trying to make a game of Snake. Obviously I need to implement a global key listener, but I am having odd problems. I tried adding the listener to the application tag but it didn't seem to have any effect (the movie was still able to compile). Whenever I call this.stage.addEventListener(KeyboardEvent.KEY_DOWN, key, true); my program crashes. Below is the content of my main.mxml file: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx=

swfobject weird behavior

杀马特。学长 韩版系。学妹 提交于 2019-12-11 14:17:41
问题 I'm using swfobject to embed my flash. It's doing weird things. I've created a simple textfield using FlexBuilder. It's an AS3 project, which extends Sprite. I've set its width to be 640 and height to 450. Then, in the swfobject parameters of the page, I've also set 640 x 450. I've made the background nice and red and ugly so you can see it. :) http://www.brighttext.com/flash/TextFieldSetFormat.html It seems to be the right dimensions. BUT I've got a textfield which is supposed to be almost

Web Service Network Issue on Android using Flex

流过昼夜 提交于 2019-12-11 14:11:24
问题 I am developing a mobile application to be deployed to both iOS and Android using Flash Builder and Flex. I'm at a point where I want to begin testing on a physical device as everything is working on the Flash Builder emulator. When my app is loaded and the first view is displayed the following code is run. creationComplete="initApp(event) protected function initApp(event:FlexEvent):void { pricingAppWebService1.updateApp("RAMISAppUpdate"); } My issue is that when I try and load the xml data