About flash builder mobile application iOS build file - actionscript-3

I have made one one mobile application in flash builder using flex mobile project
I have a question that "why size of an .ipa file is large as I export a mobile application as iOS application.???? in compare to that same application for android takes small size!!!
Thanks in advance...

Because the AIR Runtime is embedded in the .ipaThe application for Android doesn't embed the runtime, the runtime AIR is an other application.

Related

Flex or Flash Builder, etc. What are the differences?

I just downloaded Flex. Do I also need an IDE to compile my .as files? I don't see any executable files in the Flex SDK that I can load an .as into. Can someone sort me out?
I will explain the differences:
Flex or Flex SDK: Is a set of components and UI controls for creating desktop, web and mobile applications, inside the Flex SDK there's a bin folder which contains executable files for compiling your .as code to .swf files.
Flash Builder and Flex Builder: Is an IDE based on the Eclipse platform, it comes bundled with the Flex SDK. Flex Builder was the name until version 4.x when it was renamed to Flash Builder. It is the IDE developed by Adobe and it's a good product to get started with ActionScript development.
Adobe Animate is fine for making Flash apps and games, the problem is that it lacks a powerful code editor.
If you are on Windows you can use Flash Develop which is free. If you are on OSX you can try Powerflasher FDT, its free tier allows you to make web and desktop apps.
Regardless of your choice, always keep in mind that you need to download the latest AIR SDK and Flex SDK (both free) to ensure maximum compatibility with the latest versions of Android, iOS, Windows and OSX.

Conversion from flash to android tablet

I have a virtual world (user login, create avatar, walk around and play games) running on web with flash/as3 as client side and smartfox2X as server. I have plan to get the whole system into android tablets.
My question is How do I achieve this? or what is the best way to convert the same to run on tabs.. Will the just changing in publish settings from flash player 11 to Air for android work ???
Will the just changing in publish settings from flash player 11 to Air
for android work ???
Yes, this will work to some extends. You will not be able to run native code or to use native acceleration.
You can take a look at Haxe and OpenFL, which allows you to compile "flash" as Android native app.

making Desktop Flash AS3 Air application without installing AIR

Well the title say it all.
So far i've been using flash IDE and publish it as AIR to make desktop app. But the down side of this is that users have to install adobe AIR in their computer before they can use this app.
So:
1. Is there a way to make desktop app without users installing adobe AIR using Flash IDE (coz AS3 is my favorite lang so far).
2. Is there another language or software I can learn, so when ever I make desktop app or perhaps mobile app users can just install it in their devices whithout having to install anything else.
I need all the insights I can get, So thanx in advance to all you guys :)
Since FlashBuilder 4.6 and Flash Professional CS6 you should be able to export your release build as "Signed application with captive runtime". If you choose so, the user will not need to install the AIR runtime.
MDM Zinc as .exe file! or else. http://www.multidmedia.com/ also for desktop Apps.
regards aktell
Users cannot use AIR apps without having AIR installed.
But do you really need AIR functionalities? Because you can publish .exe files with Flash, which simply embed Flash Player inside. If you target Windows platforms and you don't need anything special from AIR - this is a good choice.
Other than that - there are a lot of languages that can publish desktop apps, just browse around. .NET is one of the most used ones.

Running AIR Mobile AS3 App on mobile?

I use flash developer and create AIR Mobile AS3 App and I wonder how can I change an app run time from desktop to my mobile device?
Thanks
In flash builder, you have to set the Run/debug configuration, what looks like below:
you have to select the platform (Android, BBRY, etc), and "On device". If you have Android device for example, make sure its connected, and in development mode. It should work,but you'll find lots of help.

Flash Builder: Mobile AS3 Project or Mobile Flex Project?

This month I started to play with Flash Builder because I don't have a mac to create native iPhone apps.
I have made a Flex Mobile Project and an AS3 Mobile project. Both do mostly exact the same and I see great differences in operation speed (AS3 version is much faster). Also the size of the AS3 version is less than the size of the Flex version when I deploy the project.
But one thing disappoints me, the size of a deployed AS3 app (Android) is still about 8MB. I think that is quite huge for a simple app, or is it normal? I did not test the iOS version because I am not an Apple Developer member (is there a trick to deploy an iOS app with fake certificates)?
Resources I have used in the apps:
Two images approx. 35kb in size
A StageWebView
I want to know:
What is the average size of a simple app when it is a native app (apk file)?
What is the difference between an AS3 app and a Flex app except the libraries that re used?
Is the AS3 app converted to C or another language?
Why is the apk so huge (IMO)?
Is there a trick to deploy an iOS app with fake certificates? (just for testing)
Thanks for the answer(s).
What is the average size of a simple app when it is native app (apk file)?
I have no idea. When you were comparing sizes; did you export a release build or a debug version? The full version of my app; using Captive Runtime is 12MB. That includes all the embedded images. I thought that roughly 8MB is the size of the embedded runtime. Of course, if you don't use Captive Runtime then the app will be smaller; but it will have a depency on the user having the runtime installed.
What is the difference between an AS3 app and a Flex app except the libraries that are used?
For all intents and purposes nothing. The Flex Framework will need to execute code to setup the framework and such. In theory this 'impact' is offset by the value that the framework brings.
- Is the AS3 app converted to C or other language?
Not for Android or Playbook. It relies on the Mobile AIR Runtime--which I assume is written as a native app somehow. For iOS there is a more in depth conversion taking place; but no on knows the exact magic sauce; but it the process is much more intensive than Android or Playbook and people believe that your code and the AIR Runtime is converted to Objective C somehow in a way that is not in violation of the Apple licensing agreement.
Why is the apk so huge (IMO)?
Huge is open to interpretation. Without seeing your full app code; it's tough to judge.
Is there a trick to deploy an iOS app with fake certificates? (just for testing)
I don't think so; although there may be possibilities on unlocked devices.
You would like to use Mobile AS3 Project if you want you apps to be smaller and your GUI mainly contains vector graphics and Mobile Flex Project if you prefer to use standart GUI Controls that comes together with Flex framework but adds overhead in size because of controls that come with it.
As of the other questions:
the size of the apps is different on mobile platforms. Typical iOS app is about 2MB - 20MB. It really depends on resources you store with your app. What might be important to you is not to overcome 20MB if not needed because 20MB+ apps require Wi-Fi connection to be downloaded.
(However you should export release build version only as mentioned by www.Flextras.com)
there is no fundamental difference between AS3 and Flex apps - they both compile to the same instructions that executes on targeted mobile platform.
as far as I know (being iOS developer myself) there is no workaround to deploy an iOS apps. You need to use Mac and become Apple Developer to deploy with valid certificate.
to make your app smaller try to pai special attention to the resources you add to the project. Although I believe the size is so big because of framework itself, you would like to use more vector graphics vs. bitmaps when compiling apps with Flash/Flex.
When you export for Android you have an option of embedding the air framework in the application, that way your users don't have to download air. you can export your application without air embed which will result in a much lighter application, however your users will need to download air runtime. http://cookbooks.adobe.com/post_How_do_I_create_an_AIR_application_for_Android_tha-19299.html