From which version of the Flex SDK is the Vector class available for Adobe AIR applications? I want to use a library that contains some code with Vectors. But my Flex Builder 3 (Flex SDK 3.0) doesnt seem to support it.
You can use any version above SDK v3.2 but you will have to make some changes in the project in order to target the Flash Player 10.
Try to open project properties>Flex Compiler>Adobe Flash Player Options and set version of the Flash Player as 10.0.0.
Related
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.
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 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
This question may be an absolute crap. Can i use the flex 4 sdk in flex builder 3? i have a licensed version of flex builder 3 professional. so if i need to use flex 4 sdk in it, do i need to buy flash builder? cant i get all the new components in flex builder 3?
Regards,
PK
Don't forget to set the required flash version to 10.0.0 or you will get the following:
1046: Type was not found or was not a compile-time constant: Matrix3D.
You can use it in Flex Builder. Just download it from here. And configure it in Project->Properties->Flex Compiler - there's a button "Configure Flex SDKs...".
I have a Flex Builder 3.0.2. It was shipped with Flex SDK 2.0.1 and 3.2. I would like to add the new Flex SDK 3.5. I followed the documentation: http://livedocs.adobe.com/flex/3/html/help.html?content=build_6.html#162812:
- extracted SDK 3.5
- added into my SDK list
- set to default
- restart Flex Builder
- clean project
But it's just not working. There are many functions from the documentation I can't use still (but should be available with SDK 3.5). How can I use SDK 3.5?
Thanks in advance,
Peter
Check under project properties -> Flex Compiler, that you're not compiling against a specific SDK, instead of the default one you've set.
Also you might need to target Flash Player 10, in which case you might want to look at how to do that.