Flash Builder中:移动AS3项目或移动Flex项目? [英] Flash Builder: Mobile AS3 Project or Mobile Flex Project?

查看:144
本文介绍了Flash Builder中:移动AS3项目或移动Flex项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这一个月,我开始使用Flash Builder玩,因为我没有一个Mac创建原生的iPhone应用程序。

This month I started to play with Flash Builder because I don't have a mac to create native iPhone apps.

我已经做了一个Flex手机项目和AS3移动项目。都这样做主要是精确相同的,我看到运算速度的巨大差异(AS3版本要快得多)。还的AS3版本的尺寸小于所述的Flex版本的大小时,我部署项目

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.

但有一点失望我的AS3部署应用程序的大小(安卓)仍约为8MB。我认为这是相当庞大的一个简单的应用程序,或者是正常的吗?我没有测试的iOS版本,因为我不是一个苹果开发者成员(有没有绝招部署iOS应用程序使用假证书)?

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:

  • 在两个图像约。 35KB大小
  • 系统的StageWebView

我想知道的:

  • 什么是一个简单的应用程序的平均大小时,它是本机应用程序(apk文件)?
  • 在一个AS3的应用程序,除了重新使用的库Flex应用程序之间的区别是什么?
  • 是AS3应用程序转换为C或另一种语言?
  • 为什么APK如此巨大(IMO)?
  • 有一个绝招部署iOS应用程序使用假证书? (只是用于测试)

感谢您的回答(S)。

Thanks for the answer(s).

推荐答案

您想用移动AS3项目如果你想你的应用程序变得更小,你的GUI主要包含矢量图形和移动Flex项目如果preFER使用自带连同Flex框架,但由于控制随之而来的开销增加了大小非标准的GUI控件。

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.

至于其他问题:

  • 的应用程序的大小是在移动平台上的不同。典型的iOS应用为2MB左右 - 20MB。这真的取决于你存储与您的应用程序资源。什么可能对你很重要的是,如果没有必要的,因为20MB +应用程序需要Wi-Fi连接来下载不克服20MB。 (然而,你应该导出发布只建所提到的www.Flextras.com版)
  • 有AS3和Flex应用程序之间没有根本的区别 - 它们都编译到有针对性的移动平台上执行相同的指令
  • 据我所知(即iOS开发者自己)没有解决方法,以部署iOS应用程序。您需要使用Mac和成为苹果开发者部署与有效的证书。
  • 来使你的应用程序更小的尝试PAI特别注意你添加到项目的资源。虽然我相信规模是如此之大,因为框架本身,你想用Flash / Flex的编译应用程序时要使用更多的矢量图形与位图。
  • 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.

这篇关于Flash Builder中:移动AS3项目或移动Flex项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆