Apache flex 4.9.1 needs minimum Flash Player 11.1.
I read that Apache flex 4.9.0 is working with Flash Player 10.2 is that right? I can't find it anywhere! Where can I download it from?
Thanks!
No need to build the SDK from scratch, Apache Flex 4.9/4.10/4.11 will work with Flash Player 10.2 and above out of the box, 11.1 is not the minimum version. All you need to do is change the configuration file (framework/flex-config.xml) to use 10.2 rather than the default 11.1 and download the correct player global swc. The Apache Flex README has more details instructions on how to do this.
https://github.com/apache/flex-sdk/blob/develop/README
Alternatively the installer (version 2.7 or above) will allow you the select the Flash Player version.
http://flex.apache.org/installer.html
That being said some features may work poorly (eg mobile components) and it hasn't been fully tested on Flash Player 10.2.
Related
I am having a terrible time updating my Flex Project to use 64bit and iOS 8. I have to update because when I use Adobe Air SDK 14 I get the following error while uploading my release version via the Application Loader.
I've followed all of the instructions listed in the following, but nothing works:
http://easynativeextensions.com/making-your-ios-apps-universal/
https://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
When I change the line in my air descriptor mxl file to:
<application xmlns="http://ns.adobe.com/air/application/18.0">
I get the following error:
I've downloaded the Air SDK from this page: http://www.adobe.com/devnet/air/air-sdk-download.html
I tried using both the main link and the Flex specific SDK only link.
Then I installed the Air SDK in /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722
Also, I used the Apache Flex SDK installer to get the latest flex SDK to be used with Air SDK 18.
It seems to have installed fine
As you can see I've tried multiple versions. I also select the air version in my Flex Project compiler path.
I even tried overlaying the SDK in the Flash Builder SDKs folder.
Still, I always get the error when I try to set my app descriptor XML line to 18.0
<application xmlns="http://ns.adobe.com/air/application/18.0">
I can set it to 16.0 and the application will build.
<application xmlns="http://ns.adobe.com/air/application/16.0">
But then when I build, my app has a ton of UI problems. Spinners go crazy and tab bars, buttons, and layout all have problems. My app goes from looking like this:
To this:
I have no idea what to do.
Menu -> Clean Project ....
Next, rebuilding
I have an Action Script project made with Flash Builder 4.7 and the AIR SDK 3.7. I want to load the swf that is packaged inside an AIR file created with Flash Builder 4 and the Flex SDK 3.5. I managed but its scaled about 300% and its shifted to the right too leaving a huge white border on its left side.
I read the following in http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html#WSfffb011ac560372f2fea1812938a6e463-7fff:
When loading a SWF file of a different version than the loading content, you can run into the two problems:
-Loading a newer version SWF by an older version SWF— References to APIs added in the newer versions of AIR and Flash Player in the loaded content will be unresolved
-Loading an older version SWF by a newer version SWF — APIs changed in the newer versions of AIR and Flash Player may behave in ways that the loaded content does not expect.
I think the second is my case. My initial problem is described in http://mabulous.com/de/air-applications-that-can-be-updated-without-requiring-admin-rights and the solution worked for me only to lead to this new problem. Any ideas please?
Since changing to the AIR 3.6 I'm getting many errors such as:
Could not resolve <s:Sequence> to a component implementation.
If I switch to the built in Flex SDK 4.6.0 it works fine. I'm using Flash Builder 4.6.
UPDATE
I think that this is because there is a new compiler for ActionScript and that new compiler is included with the SDK and that is causing problems for Flex projects. I read this on the AIR SDK download page (which I did not notice before):
Note : Flex users will need to download the original AIR SDK without the new compiler.
Source
I was using the AIR SDK 3.6 with Compiler. I had to use the AIR SDK 3.6 only (no compiler). There's a link to it further down the page after the text "Note : Flex users will need to download the original AIR SDK without the new compiler."
Are you sure you upgraded to AIR 3.6 correctly? You have to merge it with your current Flex SDK (make sure to make a copy of it first). There are three distinct SDKs in Flash: Flash, Flex, and AIR. To use the AIR SDK, you have to combine it with one of the other two SDKs. You cannot just point your Project Properties to the AIR SDK you get from Adobe. That just won't work.
It's also worth noting that 3.6 is still in the testing phases. 3.5 is the latest stable release and unless you have a specific reason for using 3.6 (you are a tester, namely), you should avoid using it.
I am new to creating Flex applications and trying to target Flash Player 10.2 with my first. I have created it using Flash Builder 4.6 and compiled using the 4.5a SDK. I've also set the option to target 10.2.0 in the the Adobe Flash Player options. When I create the release build, there are no error and the resulting HTML file contains the following:
// For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
var swfVersionStr = "10.2.0";
However, if I try to visit the application in a browser with v10.2 of the plug-in it says 11.1 is needed. I also have the same problem with a simple Flash CS5 animation that only uses stop() and getURL(). The animation works but doesn't stop.
Thanks for the detailed reply wxvxw I've now taken a screenshot of my compiler options, but can't show it here as I'm a new user, but the URL is...
https://lh6.googleusercontent.com/-3xEJ0RTFG-8/Tw9rJt2UloI/AAAAAAAAARs/Ruu9Em66fgo/s800/fboptions.PNG
I've tried -target-player 10.2.0 (previously) and now -target-player 10.2 but neither worked. I've also located the playerglobal.swc in the following directory:
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.5.0\frameworks\libs\player\10.2
Thanks. Dan.
IIRC, the SDK that comes with FB 4.6 only has FP 10.1 and FP 10.3 libraries. So, in order to compile for FP 10.2 you will have to find the corresponding playerglobal.swc (maybe look up older SDK releases?).
Now, regarding your settings: the version of the player you want to compile for is set in the compiler arguments, there are multiple ways to do that, but it looks like you've done something else instead :) In order to compile for certain player version, the compiler needs to know how that version of the player behaved, that is it needs a description of all the built-in functions the player had at that time. playerglobal.swc provides the definitions for those functions (search your SDK folder for the possible location). -target-player is the compiler argument that you need. One way to tell the compiler what player to target is to open the project settings and in the additional compiler arguments line type something like -target-player 10.2. Note that you might not have the appropriate playerglobal.swc. The compiler error in such case will roughly point you to the directory where this library is to be found.
Flash Builder and SDK had never had 11+ player as a requirement, (more yet, the SDK has not even been tested against this version), so the requirement is unrelated (did you use Google Chrome for testing, maybe you need to check about:plugins page?). What you did set is some variable that is supposed to tell the JavaScript script that is used to embed the SWF, what minimum version of the player is required to run the SWF, this has no effect on the SWF itself, it's only for user's information (you should set it in such a way, that in case users have older version of player they will be told to upgrade). If you used FB's code generation, or the Ant task provided by Adobe to generate the HTML page containing SWF, then this variable would be set to the same version you used to compile your SWF to, otherwise it's up to you to adjust it to the proper value.
I was having the same experience, but it wasn't a matter of flash not being installed. I had set my project in flashbuilder 4.6 to build using a specific SDK (Flex 4.5.1A) and a specific version of Flash player (10.2.0) but my client was unable to play it in flash 10.3 (they are limited by their IT department to that version, still)
my fix: add -swf-version 10 to the additional compiler arguments
I had dug around and found that the 4th byte of the swf file indicates what version of flash it's built for; when I did an export to release build, the 4th character was hex 0B rather than 0A.
I ran the swfdump.exe that was in the sdk bin and found the version was 11
<swf xmlns='http://macromedia/2003/swfx' version='11' framerate='24' size='10000x7500' compressed='true' >
I added the following to get the config that flashbuilder was using to build the project
-dump-config c:\testconfig.xml
in that, I found <swf-version>11</swf-version>
based on that, I guessed that the flag I needed to set was the -swf-version 10 as an additional compile parameter in the project properties > Flex Compiler
after building with that flag, the swf version was 10 in both swfdump and the config dump
I have Flex Hero running in Burrito Build 17689 to explore mobile iOS/Android development.
Have read that s:MobileApplication and s:TabbedMobileApplication have been changed to s:ViewNavigatorApplication and s:TabbedViewNavigatorApplication respectively.
I downloaded AIR 2.6, did a folder merge with Hero SDK but cannot see these applications in mobilecomponents.swc (which wasn't part of Air SDK 2.6) when I browse in Flash Builder.
Is there any way to develop with these new components?
There are no public releases (that I know of) of the Flex Hero SDK that support ViewNavigatorApplication yet. The only public SDK available for mobile is the one that was released at MAX and it still uses MobileApplication. There are other "Flex Hero" SDKs available to download since then, but they don't include the mobile stuff yet: http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+Hero
I think that article you referred to is more of a "what to look forward to" article based on the Air 2.6 release that came out.
MobileApplication has indeed been renamed to ViewNavigatorApplication.
The only publicly available build of the full Hero SDK (with mobile features) is the "Preview Release" from MAX 2010. If you would like to get access to the latest builds (under NDA) you can apply for the pre-release program here: http://blogs.adobe.com/flex/2011/02/flex-sdk-and-flash-builder-pre-release-program.html