Red x with Flash Builder 4
Hello!
I have a Flex project and I need this to run in Flex SDK 4.5, because of a dependency of a library which needs 4.5.
So I import the project into Flash Builder 4 (as an eclipse plug-in) and I get a "red x" on the left side of the project name in the "Project Explorer" of Eclipse. My problem is, I do not know where the problem is located, because no file is marked with a red x.
The prject is based on BlazeDS and will be deployed to a Tomcat. The deployed folder only has the directories and the .mxml files, but not compiled .html / .swf files in it. But I did not get any error messages.
Attached an image of the directory structure of my Eclipse/Flex project and the zip file of my project:
http://ud05_188.ud05.udmedia.de/todo.zip
Perhaps someone has an idea? How can I see what's going wrong?
Best regards PHANTOMIAS
I located the problem, I only have to take a look at the "problems" tab:
unable to open 'C:/Users/phantomias/workspace/todo/WebContent/WEB-INF/flex/services-config.xml'
That`s the error I have to handle.
I read that is has to do with the compiler argument:
- Properties - Flex Compiler - Additional compiler arguments:
-services "C:/Users/phantomias/workspace/todo/WebContent/WEB-INF/flex/services-config.xml" -locale de_DE
But what is wrong here?
Best Regards.
Similar Messages
-
HttpServices not working Online but working with Flash Builder
I am using Flash Builder and worked on different modules. it works perfectly
when am testing with Flash Builder
but once i close it, the httpservices stop working. I search and now got
error message i.e.
===============================================
Can't load data: (mx.messaging.messages::ErrorMessage)#0
body = ""
clientId = "DirectHTTPChannel0"
correlationId = "A10EF203-C28B-A5C6-73D6-1C765EAA0714"
destination = ""
extendedData = (null)
faultCode = "Server.Error.Request"
faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false
cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL:
http://localhost:37813/1/users/show.xml?screen_name=charagh?hostport=api.twitter.com&https =N&id=A10EF203-C28B-A5C6-73D6-1C765EAA0714"].
URL: http://api.twitter.com/1/users/show.xml?screen_name=charagh"
faultString = "HTTP request error"
headers = (Object)#1
DSStatusCode = 0
messageId = "542DB993-AA3F-7E05-636C-1C7662BB7FFF"
rootCause = (flash.events::IOErrorEvent)#2
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#3
bytesLoaded = 0
bytesTotal = 0
data = ""
dataFormat = "text"
errorID = 0
eventPhase = 2
target = (flash.net::URLLoader)#3
text = "Error #2032: Stream Error. URL:
http://localhost:37813/1/users/show.xml?screen_name=charagh?hostport=api.twitter.com&https =N&id=A10EF203-C28B-A5C6-73D6-1C765EAA0714
type = "ioError"
timestamp = 0
timeToLive = 0
===============================================
my code i.e.
==================
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="550" height="58" backgroundAlpha="1.0"
backgroundColor="#000000"
borderVisible="false" creationComplete="init(event)"
layout="absolute">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.controls.Alert;
import mx.rpc.http.HTTPService;
private var twitterText:String;
private var twitterCount:String;
private var tweetdate:String;
private var twitterImage:String;
protected function
image1_clickHandler(event:MouseEvent):void
navigateToURL(new URLRequest("
https://twitter.com/charagh"),"_blank");
protected function init(event:FlexEvent):void
twitterText = "charagh";
tweetUser.url="
http://api.twitter.com/1/users/show.xml?screen_name="+twitterText;
tweetUser.send();
protected function
tweetUser_resultHandler(event:ResultEvent):void
tweetdate =
event.result.user.status.created_at;
twitterCount =
event.result.user.status.text " "tweetdate;
twitterImage =
event.result.user.profile_image_url;
protected function
tweetUser_faultHandler(event:FaultEvent):void
Alert.show("Can't load data: " +
event.message);
]]>
</fx:Script>
<fx:Declarations>
<s:HTTPService id="tweetUser" method="GET"
result="tweetUser_resultHandler(event)"
fault="tweetUser_faultHandler(event)">
</s:HTTPService>
</fx:Declarations>
<s:Image buttonMode="true" width="48" height="48" x="5" y="5"
click="image1_clickHandler(event)" source=""/>
<s:Label id="twitterNumber" x="56" y="5" width="488" height="47"
color="#EDEDED"
fontFamily="Georgia" fontSize="12"
fontWeight="normal" text=""
textAlign="center" verticalAlign="middle"/>
</mx:Module>
===================
Regards,
Asim Ahmed
~ http://www.charag.com ~updated code: with cross domain policy! but still getting error
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="550" height="58" backgroundAlpha="1.0" backgroundColor="#000000"
borderVisible="false" creationComplete="init(event)" layout="absolute">
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@font-face{
src: url("./module/font/fonts/DroidSans.ttf");
fontFamily: "Base02";
mx|Alert {
titleStyleName: "alertTitle";
messageStyleName: "alertMessage";
buttonStyleName: "alertButton";
cornerRadius: 0;
embedFonts: true;
fontFamily: Base02;
backgroundColor:aqua;
.alertButton {
letterSpacing: 0;
fontSize: 11;
cornerRadius: 10;
fontWeight: normal;
textRollOverColor: white;
color: red;
skin: ClassReference(null);
.alertTitle {
letterSpacing: 0;
fontSize: 14;
color: red;
.alertMessage {
letterSpacing: 0;
fontSize: 10;
fontWeight: normal;
color: black;
</fx:Style>
<fx:Script>
<![CDATA[
import module.user_logged;
import mx.collections.ArrayCollection;
import mx.collections.XMLListCollection;
import mx.controls.Alert;
import mx.events.FlexEvent;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.http.HTTPService;
private var twitterText:String;
[Bindable]
private var twitterCount:String;
[Bindable]
private var tweetdate:String;
[Bindable]
private var twitterImage:String;
[Bindable]
private var tweetArray:ArrayCollection;
[Bindable]
private var datalist:XMLListCollection;
private var a:Alert;
protected function image1_clickHandler(event:MouseEvent):void
navigateToURL(new URLRequest("https://twitter.com/charagh"),"_blank");
protected function init(event:FlexEvent):void
Security.allowDomain( "charag.com" );
Security.loadPolicyFile( "./module/crossdomain.xml" );
var request:URLRequest =
new URLRequest( "./module/crossdomain.xml" );
var loader:URLLoader = new URLLoader();
loader.load(request);
twitterText = "charagh";
tweetUser.url="http://api.twitter.com/1/users/show.xml?screen_name="+twitterText;
tweetUser.send();
tweetUser.addEventListener(ResultEvent.RESULT,tweetUser_resultHandler );
protected function tweetUser_resultHandler(event:ResultEvent):void
Alert.buttonWidth = 120;
var x:XML = event.result as XML;
var childName:String = "status";
//Alert.show(x.child(childName).text);
yourmessage = x.profile_image_url;
a = Alert.show( yourmessage,title);
a.mx_internal::alertForm.mx_internal::textField.selectable = false;
twitterImage = x.profile_image_url;
twitterText = x.status.text;
tweetdate = x.status.created_at;
twitterCount = twitterText+" "+tweetdate;
protected function tweetUser_faultHandler(event:FaultEvent):void
var faultstring:String = event.fault.faultString;
a = Alert.show(faultstring);
]]>
</fx:Script>
<fx:Declarations>
<fx:String id="title">Error Message</fx:String>
<fx:String id="yourmessage"></fx:String>
<s:HTTPService id="tweetUser" useProxy="false" method="GET" fault="tweetUser_faultHandler(event)" resultFormat="e4x">
</s:HTTPService>
</fx:Declarations>
<s:Image buttonMode="true" width="48" height="48" x="5" y="5" click="image1_clickHandler(event)" source="{twitterImage}"/>
<s:Label id="twitterNumber" x="56" y="5" width="488" height="47" color="#EDEDED"
fontFamily="Georgia" fontSize="12" fontWeight="normal" text="{twitterCount}"
textAlign="center" verticalAlign="middle"/>
</mx:Module> -
Creating Portfolios with Flash Builder 4.6 and the 4.1a SDK
I've been following the instructions and tutorials on the creation of Navigators for Acrobat with Flash Builder but it seems to be missing a few steps along the way.
http://blogs.adobe.com/pdfdevjunkie/ax-portfoliosdk_intro/ax-portfoliosdk1
Symptoms:
- When I run the navigator (run as navigator) I get an error "Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime."
- Once dismissed the "for the best experience" message is displayed with a prompt to download the latest Reader.
Correct SDK's are being used.Solved it. Just added the following in the <InfoAdditions> tag for iPhone in my app descriptor XML file:
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>wifi</string>
<string>armv6</string>
<string>armv7</string>
</array> -
Trouble with Flash Builder 4.6?
I’ve tried every version from 4.5 to 4.7 premium edition of Flash Builder in order to get past this bug that I can’t seem to move past in order to continue with the design process. The problem I’m having is this:
I’ve setup a new project and everything works great. The problem occurs when I try to access the Data/Services I’ve created for my project. When I right click on the created service in order to access “Configure Return Type” nothing happens, I tried this at least 10 different times using all the various versions. I have since deactivated 4.5 and installed and activated 4.6 and tried it with that version with no success. All of the other contextual features of that menu respond to the right click, just not the Configure Return Type…
I’m running Windows 7 Home Premium Service Pack 1 with Flash Builder 4.6 at the present time.
I need to know how to get this feature to work so that I can continue on with the project I'm wanting to work on...Thanks for your post. You may want to post this in the developers forum. You will proably get a faster answer.
Be a Shepard and not an iSheep. -
ActionScript syntax errors are not detection with Flash Builder 4
I encountered a serious bug with Flash Builder 4, it is not showing ActionScript syntax error within an ActionScript class. How shall I fix this.
Best Regards,Hi Mayank,
Please find the further details below:
Steps to Reproduce the bug:
1. Create a Flex Project (say Test for example)
2. Created a new ActionScript Class ABC.as within the Flex Project.
on typing the following code (and even after saving it)
package123 {
public1234 class ABC {
}blahblah123...
Expeteded Behavior:
ActionScript Editor should report an syntax errors with the following code.
Present Beharvior
no syntax error is detected. This is a regression in Flash Builder 4 as Flex Builder 3 detects ActionScript syntax error instantly (while typing).
Best Regards -
I have developed a project on flash builder 4.6 as a new action script project and I chose web & Flex SDK 4.6 (default), and now with Flash Builder 4.7, the project won't run, and the package available is AIR SDK only.. no flex!!
Open your .actionScriptProperties file and set useFlashSDK to false. This will allow you to use your older SDKs. They are managed in the same way as Flash Builder 4.6 when this option is changed.
-
Adobe AIR 2 Beta with Flash Builder 4 Beta 2
I'm trying to figure out how to use AIR 2 with Flash Builder 4. I was initially under the impression that FB4 has AIR2... but the when I create a File object and try to call the function openWithDefaultApplication(). An error occurs saying the function doesn't exist. This is the AIR application I created in FB4. Am I doing something wrong or do I need to install AIR 2 somehow -- and if so, how do I do so?
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<fx:Script>
<![CDATA[
private function launch():void{
var myfile = new File("C:\Windows\notepad.exe");
myfile.openWithDefaultApplication();
]]>
</fx:Script>
<s:Button x="439" y="155" label="Button" mouseDown="launch()"/>
</s:WindowedApplication>
Thanks in advance.Download the AIR 2 SDK, make a new copy of the Flex4 SDK (or whichever Flex SDK you want to use) and copy the AIR SDK over it. (If you are on the Mac, you have to be careful that the directories themselves aren't overwritten -- just the files inside them.) You then add the combined SDK to the list in the Flash Builder project properties dialogs.
-
[resolved] Launching crash with Flash builder and Unrecognized Java VM option
Hello,
I just wanted to share my experience with Flash Builder. Funny if we can call it like that...
I tried to launch Flash builder, which worked since years without problem, but here, there was a problem. In the console log; it says only that :
Unrecognized Java VM option ignored: -Xdock:name=Flash Builder
Unrecognized Java VM option ignored: -Xdock:icon=../Resources/fb_app.icns
Unrecognized Java VM option ignored: -XstartOnFirstThread
I read tons of threads explaining things i didn't understand.
And then I remembered that I changed the name of a folder containing a Flash Builder project (I just removed spaces in the name).
So I renamed it the way it was.
Done...
Hope it will help!Hello,
I just wanted to share my experience with Flash Builder. Funny if we can call it like that...
I tried to launch Flash builder, which worked since years without problem, but here, there was a problem. In the console log; it says only that :
Unrecognized Java VM option ignored: -Xdock:name=Flash Builder
Unrecognized Java VM option ignored: -Xdock:icon=../Resources/fb_app.icns
Unrecognized Java VM option ignored: -XstartOnFirstThread
I read tons of threads explaining things i didn't understand.
And then I remembered that I changed the name of a folder containing a Flash Builder project (I just removed spaces in the name).
So I renamed it the way it was.
Done...
Hope it will help! -
Starting iOS development with Flash Builder 4.6
Hi guys,
I want to start iOS development with Flash Builder 4.6. I have iPad 2 with iOS 6 installed (latest version available).
I was following this tutorial step by step: http://help.adobe.com/en_US/flex/mobileapps/WS064a3073e805330f6c6abf312e7545f65e-8000.html #WSe4e4b720da9dedb5-27e02e9a12ee20e4a60-7fff
As a part of it I also did this:
Convert a developer certificate into a P12 file - http://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-7fff.html
Installed AIR SDK version 3.4.0.2540 as for 4.5 (I have 4.6) - http://helpx.adobe.com/flash-builder/kb/error-run-debug-deploy-ios.html
I try Now I am getting the follwoing errors:
Error occurred while packaging the application:
SDK is missing file /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/lib/AIRInterpreter
Error occurred while packaging the application:
SDK is missing file /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/bin/ld64/i686-apple-darwin9-ld64
Required files are missing indeed. But where can I find them if AIR SDK doesn't have them? What should I do now?All the files in lib/aot/ are part of the AIR sdk.
You'll have to overlay the AIR sdk on top of the Flex SDK (which comes with FlashBuilder).
On windows, simply copy-paste the AIR folder on the Flex SDK folder. (merge the two folders)
On mac, use a command line and ditto the AIR sdk folder on Flex SDK folder. -
Workaround for using the latest nightly SDK 4.0 builds with Flash Builder Beta 2
The latest builds of SDK 4.0 have been updated in preparation for including playerglobal.swc for Flash Player 10.1. Flash Builder Beta 2 can not find playerglobal.swc due to the addition of the {targetPlayerMinorVersion} variable found in the flex-config.xml file.
When using recent nightly SDKs with Flash Builder Beta 2, please modify them as follows:
1) Rename the folder <nightly sdk location>/frameworks/libs/player/10.0 to "10"
2) Edit the file <nightly sdk location>/frameworks/flex-config.xml and remove ".{targetPlayerMinorVersion}" and save
When you restart Flash Builder, we will now find a correct location for playerglobal.swc, allowing for code hints and many other features to work properly.
Jason San Jose
Quality Engineer, Flash BuilderBump.
As people continue to have problems with the nightly SDK 4 builds and Flash Builder Beta 2, please remember to use the workaround described at the top of this thread. Also see http://blogs.adobe.com/jasonsj/2010/02/workaround_for_using_the_latest_nightly_sdk_40_buil ds_with_flash_builder_beta_2.html.
Jason San Jose
Quality Engineer, Flash Builder -
How to sign with Flash Builder created APK for the Goole Play Store?
Hello,
i have big problems signing the apk for the GooglePlayStore..
I tried this from the android dev page
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore my-release-key.keystore
my_application.apk alias_name
but i am getting this error:
jarsigner: unable to sign jar: java.util.zip.
sed size (expected 1504 but got 1513 bytes)
I created a p12 with Flash Builder and thought thats all i need but the playstore says its unsinged so how to sign it corretcly?
Please helpi works with this error, strange
-
Trace() not working with embedded SWFs created with Flash Builder
I have just migrated to Flash Builder 4.5 with the 4.5.1 SDK.
I have an application that loads a lot of child SWFs into it - some of which are created with Flash, some are created with Flash Builder.
I am noticing now that my trace() statements that are called from within SWFs produced with Flash Builder that are loading as child SWFs into my main SWF are NOT appearing. However, trace() statements called from within SWFs produced with Flash that are loading as child SWFs into my main SWF ARE appearing.
This is an extremely major problem and has short-circuited my debugging/development.
Any recommendations, workarounds, or suggestions?If the child SWFs were created by performing an "Export Release Build", then trace() statements would be omitted.
You can control this by setting the -omit-trace-statements compiler argument (in Project properties -> Flex Compiler -> Additional Compiler Arguments).
-Anirudh -
IOS/AIR Running and Debugging Issues with Flash Builder
I'm having very frustrating intermittent issues running and debugging Flex applications on an iPad 3rd generation retina with Flash Builder 4.7.
Until this morning, launching on device using both standard and fast packaging worked pretty well. Every now and again, I'd get a dialog saying the packaging had completed successfully, but it hadn't. A quick change of the USB cable to another port on my iMac and it started working again. I'd also randomly get a "Error occurred while installing the application: Invalid <device> specified" error, which quickly went away.
This morning, with the same code base, the same certificate and provisioning profiles, Flash Builder has only managed to successfully package and run my application on my iPad twice and I must have attempted to launch fifty or so times. Standard packaging, fast packaging and with and without the useLegacyAOT.
Does this sound like a Flash Builder issue? Is my iMac USB driver dodgy? Has anybody else experienced this?
Any help greatly welcomed!
Thanks,
SimonHi I have had this problem sometimes. With my Mac Book Pro.
Try making a new flex application and see if you have the same result.
When I had this problem I created a new Application and copied every thing from my other application.
This my be a hard solution but I don't no any others. -
Database Listing And Paging With Flash Builder
Hello ;
i trying to develop an android application with flash builder.
i have a database and connected it, selected a table and created a service.
my table have a four coloumn. id - img - tag - date
id : as you know. table id coloumn auto increment.
img : long text area. i want to listed to page when clicking the menu item.
tag : tag is title of the img.
date : standart date coloumn.
i want to listing all data with menu style. i added to spinner list and it get to value at database tag (title) .
how can i listing to text (long text area) in to the img coloumn when selected the tag (title) at spinner list.
thanks
bye.i researched a many document but still can't find a insert data grid.
it seems to under Components Panel all documents and videos
but i can't see it?
Anirudh SasikumarRangoraTodd_KoprivaJason San JoseSunilAdobeAmy_WongDatabase Listing And Paging With Flash BuilderUsing Flash BuilderFlex
somebody help me please?
thanks
bye -
Build iOS app with Flash Builder Burrito.
I have some Android apps built with Flash Builder Burrito that I want to deploy on iOS.
Can it work?
How?
Is the folowing working ? StageOrientationEvent and StageWebView Class
Best regards,
markSolved it. Just added the following in the <InfoAdditions> tag for iPhone in my app descriptor XML file:
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>wifi</string>
<string>armv6</string>
<string>armv7</string>
</array>
Maybe you are looking for
-
Restrict the number of rows in XML publisher
Hi All, I have report which has header and lines. I want to display all the lines corresponding to an header in one page in xml publisher. Please suggest. Thanks and Regards, Mahesh
-
JSF Tab component and Dynamic Faces AjaxZone
Has anyone tried to use a JSF Tab Component in a Dynamic Faces Ajax Zone. I would like to try to have a page that has a list of the alphabet, each tab being one letter and then adding terms an definitions to each tab. Do you have any comments or sugg
-
Content editors and Contribute
I am the webmaster, and I want the content editor to edit pages from her computer. The manuals discuss the key and somewhere it mentions that users can edit pages in Micorsoft Word, but nowhere does it say that the content editors must have Contribut
-
No 3D acceleration with ASUS P5VD2-MX
Greetings for you all. I'm using a Motherboard ASUS P5VD2-MX, witch contains a VIA P4M890, and with OpenChrome driver, I can't get 3D acceleration with it. I have fallowed the instructions on http://bugs.archlinux.org/task/12311 and the only way I ca
-
Sudden problems on my hp computer.Nedd fix
Hello.I have a problem with my sound and other things.From yesterday i don't have any sound,the roubleshooter can't work cause i can't even go to my control panel!They just don;t load!What can i do?Do i need to format my laptop? This question was sol