Apache flex Can';不要让flash builder上的Splashscreen正常工作
我试图在flash builder 4.7上为我的splashscreen使用一个图像,但它似乎不起作用。 这是我的密码:Apache flex Can';不要让flash builder上的Splashscreen正常工作,apache-flex,mobile,Apache Flex,Mobile,我试图在flash builder 4.7上为我的splashscreen使用一个图像,但它似乎不起作用。 这是我的密码: <?xml version="1.0" encoding="utf-8"?> <s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/fl
<?xml version="1.0" encoding="utf-8"?>
<s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
splashScreenImage="DynamicSplashScreen.mxml">
<s:ViewNavigator label="Menu" width="100%" height="100%" firstView="views.MenuView"/>
<s:ViewNavigator label="Search" width="100%" height="100%" firstView="views.SearchView"/>
<s:ViewNavigator label="Location" width="100%" height="100%" firstView="views.LocationView"/>
<s:ViewNavigator label="List" width="100%" height="100%" firstView="views.ListView"/>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
对于dynamicFlash screen.mxml,它是:
<?xml version="1.0" encoding="utf-8"?>
<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('/images/Random.png')"/>
</s:SplashScreenImage>
我是新手,如果答案很简单,我很抱歉 对于飞溅屏幕,我使用以下代码:
splashScreenScaleMode="letterbox"
splashScreenImage="@Embed('assets/splashScreen.png')"
您只需要使用自己的更改图像路径