Adobe AIR - Custom Preloader with Image

前端 未结 3 1646
暗喜
暗喜 2020-12-01 23:00

Folks,

I have designed an Adobe AIR application. I want to show some preloader on it, before it opens up.

Can anyone guide me with

3条回答
  •  春和景丽
    2020-12-01 23:53

    If this is a mobile app and you just want a splash screen:

    Inside the main application's mxml file, insert:

        splashScreenImage="@Embed('MyImage.png')"
        splashScreenScaleMode="zoom"          // optional - display type
        splashScreenMinimumDisplayTime="2000" //optional - display duration
    

    into the ViewNavigatorApplication block.

    Check the specs:

    http://opensource.adobe.com/wiki/display/flexsdk/Mobile+Splash+Screen

提交回复
热议问题