Flex :: Adobe Air SDK 2.0-2.5 Errors
Oct 25, 2010
I downloaded the Air 2.5 SDK and get the following Errors: 1-Design mode could not load aircore.swc. It may be incompatible with this SDK, or invalid.
2-Design mode could not load applicationupdater_ui.swc. It may be incompatible with this SDK, or invalid.
3-Design mode could not load applicationupdater.swc. It may be incompatible with this SDK, or invalid.
I installed by copy pasting the new SDK into a copy of the 4.0 SDK. I'm using FlashBuilder4. FYI: Also installed is FlashCS4 with the SWC extension.
View 1 Replies
Similar Posts:
Apr 24, 2010
I have been given an SWF to edit a link in the AS code. The fact is the SWF uses some XML that is generated (actually retrieved) by PHP code from a database. menuXML.load("/sub/page/dynamic.php?genre=" + genre); so the point is we can use the same SWF 'mainfraim' and fill them with different animations/sources based on the link provided in dynamic.php?genre=### Now, I've used Flash Decompiler Gold to extract all files in the SWF and can open it again in Adobe Flash to edit it. When done I enter CTRL+ENTER and there are immediately 4 compiler errors!! Errors:
1x < Unexpected 'if' encountered >
2x < Statement block must be terminated by '}' >
1x < Ecpected a field name after '.' operator. >
How can these errors be present, when the original SWF works perfectly??! If I don't manage to solve this, I'll have to find out how to create an .php file the SWF tries to use which can select the proper resources (from a database I guess) to show them (using ?genre=###)
View 1 Replies
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies
Feb 12, 2010
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
View 1 Replies
Feb 22, 2010
Here's are the errors: VerifyError: Error #1053: Illegal override of allowInsecureDomain in _SwdModule_mx_core_FlexModuleFactory. ReferenceError: Error #1065: Variable _SwdModule_mx_core_FlexModuleFactory is not defined.
SwdModule is a module used within the organization and there's an application that loads this (and various other modules) at run time. I've read on other stack overflow and various web site that this error was caused because the modules and the main app. were compiled using different Flex SDKs. I verified and checked up on this, but all of my SWFs are compiling using 3.5.
Can anyone think of anything else why this error would be occuring?
View 1 Replies
Feb 19, 2010
I'm a junior developer and I'm having some problems with my flex builder 3. Every time I make a new project, flex builder detects syntax errors like:
1084: Syntax error: expecting rightbracket before leftbrace. FotoBeheer line 23
1084: Syntax error: expecting rightbracket before public. FotoBeheer line 22
1084: Syntax error: expecting rightparen before s. DomoticaSystem line 16
1093: Syntax error. DomoticaSystem line 16
Nevertheless, Fotobeheer will run, but any other program just won't even start. Does anybody have any ideas how to solve this problem?
View 1 Replies
Aug 7, 2010
what changes I make to my source, compiling alway yields either a transcoding error, or a missing definition. The stack overflow link I always put in all my source, to look at for encouragement every time I feel like banging my head against the keyboard.
// Main.as
package
{
// General imports
[code]...
Currently when I try to compile I get the following error...
C:Documents and SettingsGekoDesktopFlash estclientsrcMain.as(6): col: 31
Error: Definition com.bit101.components:Label could not be found.
and if I remove the comment from "var myLabel" or "addChild lines" in Main.as, then I get..
C:Documents and SettingsGekoDesktopFlash estclientlibMinimalComps_0_9_5_srccomit101componentsComponent.as(51): col: 4: Error: transcoding parameter 'embedAsCFF' is not supported by 'flex2.compiler.media.FontTranscoder'
C:Documents and SettingsGekoDesktopFlash estclientlibMinimalComps_0_9_5_srccomit101componentsComponent.as(51): col: 4: Error: Unable to transcode /assets/pf_ronda_seven.ttf.
My classpaths are "src", "libMinimalComps_0_9_5_srcassets", and "libMinimalComps_0_9_5_srccomit101components" I'm using Flex SDK 3.5.0.12683 on Windows XP with FlashDevelop 3.2.1 RTM why I'm constantly receiving errors each time I try to build the project?
View 1 Replies
Mar 22, 2011
I've got a strange situation; when I run a Flex app from Eclipse (i.e. click run as web app), my remote calls always hang. In Firefox, they return as failed. But when I open up a browser and browse to my .html file in the bin-debug folder, the remote calls work.
View 2 Replies
Jul 19, 2011
As with most IDEs when you type something that is an error it will highlight it with the red cross or red underline, and this is what used to happen in Flash Builder 4 but for some reason now it does not work.
I can type any old garbage and hit save, which forces the build (I have build automatically selected) and no error shows on the line, or in the Problems panel.
View 1 Replies
Sep 7, 2011
This is driving me crazy. When building a project, I get the following error
Errors occurred during the build.
Errors running builder 'Flex' on project 'my-services'.
java.lang.NullPointerException
[code].....
View 1 Replies
Jun 4, 2010
The examples I've seen seem to show how to change the color that shows when the user actually hovers over the textinput field.
However when the validation fails, a generic textInput border qill have a red line over it. My CSS file uses a border skin for the textInput, so I can't see this line.
I was hoping there was a way to highlight the text box when it failed validation, or re-enable the red line feature. I don't want to get rid of my CSS cos it'll totally blow my color-scheme, but any tweak allowing the error line
This is the CSS:
TextInput, TextArea
{
border-skin: Embed(source='/../assets/images/input_bg.png', scaleGridLeft=8, scaleGridRight=20, scaleGridTop=8,scaleGridBottom=9);
[Code]....
View 2 Replies
Jul 6, 2010
I'm trying to use the Youtube Chromeless Player (the new AS3 version) in a Flex 4-based project. I'm using the examples provided by Google, but I'm not having any luck. The player loads, but it can't be interacted with. I'm receiving repeated security errors just from mousing over the player:
[Code]....
I've been at this for a few hours now, and haven't had any success. I also can't seem to find any working examples online. Is this new player just not compatible with Flex 4?
View 2 Replies
Sep 8, 2010
I am developing a Flex + AIR application. While debugging using Flash Builder sometimes I get runtime errors dialog with 'continue' & 'dismiss all' buttons. But when I release a build(.air) & run the application after installing. Then I don't get the same dialog in the release build. I need to track these types of runtime errors for that I am trying to write them to a file as logs. I tried using try catch & writing to file in catch block, but I am not able to get any wayout for unhandled exceptions or runtime errors
View 2 Replies
Jul 7, 2011
Is there a way to show the handled errors as human readable, without need to search the interent about the error code ?
[Code]..
anyway - there is not actuall description of the error, just the error code.
View 1 Replies
Feb 10, 2012
There doesn't seem to be a way to access stack traces for a released version of a Flex app running on a generic user's non-debugger version of flash. I can still get access to the error number, but that's just not good enough in some cases.
Was wondering if anyone has any tips on how to approach this. All I can think of is logging as many events as possible in some buffer and then dumping that to the server when a crash happens. I've implemented this and it's ok but, unfortunately, adding logging all over the place doesn't seem very practical if your code base is reasonably extensive. But maybe there's a catch all way to log all sorts of stuff in some simple way that I have not thought of - some sort of centralized listener? Or maybe some other approach?
Will take any advice (although ideally skip the "you should test your app before you release it"?).
View 3 Replies
Oct 8, 2009
I'm trying to import a web service with the Flex builder feature (Data > Import Web Service). The process proceeds as expected and the classes are generated based on the web service description. The code is generated with compile errors in it though.There are 20 errors of 2 varieties. I've included a sample of the errors below.It looks like an error in the auto gen. The auto gen code is trying to dispatch an object of ArrayCollection type. As far I know that isn't possible. rror examples:
1067: Implicit coercion of a value of type net.responsys:ListTablesForCampaignResultEvent to an unrelated type flash.events:Event. Responsys/src/net/responsysResponsysWS57.as
1119: Access of possibly undefined property headers through a reference with static type
[code].....
View 1 Replies
Mar 13, 2011
I am facing a really weird issue while trying to use an "swc" file imported from Flash CS5, that I am trying to use in Flex Builder 3 (by converting symbol to "Flex Component"). The errors are coming in files which are not even remotely related to the "swc" file that i am importing. Now, I know that the automation stuff has come as a part of FB4, but I don't really have an option to migrate to FB4.I have tried to change the flex sdk settings in Flash CS5 (steps given below), but that has not helped.Edit-->Preferences-->Actionscript-->"Actionscript 3.0 Settings"-->"Flex SDK Path" (pointing this to flex3.5 sdk instead of Flex4.0 sdk)I feel that the issue is most probably a compatibility issue b/w Flex 3 and Flex 4, but have not been able to find a workaround for the same.[code]
View 2 Replies
Mar 15, 2011
I am using flex to generate a lexical analyser for a custom language. The problem I am having is that as soon as I find a misformed token... I have no way to tell what other tokens follow this one. e.g.[code]Here, the stream of tokens will be id,<,>,id,<;>...... the language specifies that each token be seperated by a whitespace. So seeing a v after 1 should produce an error and the scanner has to print that error. After that, there are more legal tokens and another illegal token (~return). How do I process the rest of the legal tokens and print the second error.I am using flex as the scanner generator. When I find that none of the regular expressions for the lexeme matches, I call an error routine that prints the appropriate message.How do I resume processing after calling this routine?
View 1 Replies
Sep 29, 2011
I have a Flash builder project that I am migrating from SDK 4.1.0 to 4.5.1. This has been a relatively easy change (we are using maven for our builds, and were able to get a successful build after updating to the 4.5.1 dependencies).
As said, the project builds fine with maven and flexmojos. The issue is when opening the project in flash builder. The maven project is imported and then set as a flex project by running the maven flexmojos:flexbuilder build command.
The issue lies when certain mx components that are specified with the s: namespace are no longer accepted by the IDE, and result in an error. For example, for the following to compile:
<s:states>
<s:State name="normal" />
<s:State name="disabled" />
</s:states>
s:State must be changed to the mx namespace:
<s:states>
<mx:State name="normal" />
<mx:State name="disabled" />
</s:states>
This is just one example, and only happens for certain spark-namespaced components. Why is this? Why does this compile OK with Flex SDK 4.1.0 but not with Flex SDK 4.5.1, and what is the cause of the necessary namespace change?
View 1 Replies
Dec 9, 2011
I'm trying to add an event listener to my air application that would prevent the "ActionScript error" window from appearing, so I can handle the error within my application.I was able to find a little information about this from adobe. I'm just not sure what I should be listening for.
View 3 Replies
Jul 18, 2009
I have a Flex 3 app which I want to instrument to report errors generated by the app to a server via simple HTTPService call. My idea is to wrap all the methods in try. catch blocks which then pass the Error object to the reportError() function (which then fires off the HTTP request and pops up a dialog) but is there a better way?
View 3 Replies
May 3, 2010
In flexbuilder 3 for some mxml files I can purposely put in syntax errors and the compiler will seem to compile the specific page(but actually not compile it) or report any errors for that page. Is there any way that you know of to get the compiler to report the errors to me so I can get it to compile the page. I've tried rebuilding all and cleaning the project already.
View 3 Replies
Aug 15, 2010
How do you capture errors that happen on client side when building RIA apps using Flex and Silverlight? What are the common practices? I have seen some asynch js calls to a web service implemented but would like to know how the community is dealing with it.
View 5 Replies
Jul 27, 2010
I have an MXML component that includes a .as file with
<fx:Script source="myfile.as" />
Running asdoc throws a whole bunch of errors like
"Error: The private attribute may be used only on class property definitions."
"Error: The public attribute can only be used inside a package."
Solution 1 is to move the AS code into the MXML file. Kind of defeats the objective of using external .as files for MXML components in the first place, so really a last resort option. Code inside a mxml file is messy (I really don't want logic mixed in with mxml), and would also require using the < !--- ---> asdoc syntax.
Solution 2 is to have the MXML component inherit from a normal class file. That would mean no private members in the base class, only internal (meaning a separate package for the component to be safe) or protected. This would make things tedious to say the least.
Are there any other work-arounds or possibly a beta/nightly version of asdoc that fixes the problem? I am using the Flex 4.1.0.16076 SDK, the "latest production quality release".
Update:Just tried using asdoc from the svn trunk, (4.5.0 rev. 16942) and the problem persists.
View 1 Replies
Mar 28, 2011
I have firefox 3.6.15 with flash debug version 10.3. whenever an error occurs a popups comes up with the error and a stack trace but it does not line numbers of each leaf in the stack trace which makes it more difficult to debug. how to configure it to actually show line numbers ?
I think it may relate to how I compile my flash application. (i think!) i use eclipse FDT 4.2 to compile and i added the following compiler flags: -debug=true -compiler.verbose-stacktraces i think these parameters should be enough but I may be wrong.
View 1 Replies
Jan 31, 2011
This is my code and i want to place an external swf file for my flex application website. This is my code:
var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("http://www.my site.com");
loader.load(url);
addChild(loader);
View 1 Replies
Aug 26, 2010
I want to send a html webpage with my application in installation package,is it possible?
View 1 Replies
Nov 12, 2010
I am building an offline [URL] application in Adobe Flex. Can we use [URL] Rich Text Area fields in the offline application? I do not see the field returned in a query.
View 2 Replies
Nov 12, 2011
I am using an component, and currently have a dataProvider working that is anArrayCollection (have a separate question about how to make this an XML file... but I digress).Variable declaration looks like this:
[Bindable]
private var _dpImageList : ArrayCollection = new ArrayCollection([
{"location" : "path/to/image1.jpg"},
[code]....
View 4 Replies
Jan 22, 2012
I have a drop down list for selecting the titles for a person, I want to employ smooth drop down when i select the drop down menu.
View 1 Replies