Actionscript 3 adobe air ipad首次加载屏幕AS3
快速提问:为什么AdobeAIR在iPad上安装了一个黑屏(应用程序首次启动时的初始加载屏幕)?有并没有一种方法可以通过在舞台上放置位图或电影剪辑来绕过它Actionscript 3 adobe air ipad首次加载屏幕AS3,actionscript-3,air,Actionscript 3,Air,快速提问:为什么AdobeAIR在iPad上安装了一个黑屏(应用程序首次启动时的初始加载屏幕)?有并没有一种方法可以通过在舞台上放置位图或电影剪辑来绕过它 没有Flex的欢呼声 是的,这在iOS上不需要使用Flex就可以实现。此过程涉及在项目根目录中放置默认图像 更多信息可在此处找到: 在Android上,我认为没有类似的功能。我相信这是为了接近: 使用Flex 使用Flex SDK时,如果应用程序: <s:ViewNavigatorApplication xmlns:fx="http
没有Flex的欢呼声 是的,这在iOS上不需要使用Flex就可以实现。此过程涉及在项目根目录中放置默认图像 更多信息可在此处找到: 在Android上,我认为没有类似的功能。我相信这是为了接近: 使用Flex 使用Flex SDK时,如果应用程序:
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
splashScreenImage="@Embed('spash.png')"
splashScreenScaleMode="letterbox">
从Flex 4.6开始,您还可以设置一组启动屏幕图像,以便在不同大小的屏幕上使用
这是通过定义SpashScreenImage.mxml文件完成的:
<s:SplashScreenImage xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
<s:SplashScreenImageSource dpi="160--" aspectRatio="portrait" source="@Embed('portrait.png')"/>
<s:SplashScreenImageSource dpi="160--" aspectRatio="landscape" source="@Embed('landscape.png')"/>
</s:SplashScreenImage>
然后回到你的应用程序中:
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
splashScreenImage="SpashScreenImage">
更多信息请点击此处:
这里似乎有些误导 在iOS上,您需要设置splashScreenImage并包含“Default.png” 当应用程序启动时,您将立即看到正在放大的“Default.png”图像。在那之后,你几乎马上就会看到“SplashScreenImage”节目
默认图像在应用程序开始加载之前显示。。。应用程序加载时会显示SplashScreen图像。抱歉:)我的意思是我可以使用as3来实现吗?在iOS上,您不需要as3来添加启动图像。它实际上只是将Default.png添加到项目根目录中。查看我发布的第一个链接