Splash Screen for Android with Flash CS5.5

How can I make a SplashScreen with Flash CS5.5 or just with AIR/AS3 codes. I need it while the App/Game is loading...
I know that it's possible with Flex 4.5 as:
<?xml version="1.0" encoding="utf-8"?>
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                          xmlns:s="library://ns.adobe.com/flex/spark"
                          firstView="views.HomeView"
                          splashScreenImage="@Embed('splashscreen.png')" />
http://workflowflash.com/98437/air-for-android-splash-screen-with-flex-4-5.php
But I want to do it without Flex. So can I ?
Thank you

i'm not sure if this is necessary anymore, but i took the advise of another user here
http://forums.adobe.com/thread/764981
the key difference is, the user stated a preloading swf needed to embed the image in order to display before the whole apk is loaded.
Seems to be working for me anyway

Similar Messages

  • Create a live wallpaper for android with flash

    Already know how to create android applications with flash cs5.5   but i would to know how to do to set an application as a live wallpaper.
    Anyone can help me?

    That functionality is not currently supported by Air 2.6 +. Sorry
    You can post your idea at http://ideas.adobe.com/

  • Making a mobile app for droid with flash cs5.5 and as3

    hello there i am having a problem with a mobile application i am  building. It is working just fine with no errors or lag on my  computer.however, when i export it for my droid, one of the lose  functions ceases to work altogether, causing the game to freeze and me  manually ending the app. I’ve checked the code over and over but with no  luck, am at lost on how to fix this.
    I use this code to call the lose function when these conditions are met:
    if(imHit >= 24)
    loseGameNow();
    if(noThugs && enemyTwo)
    windowHit_mc.gotoAndStop(2);
    timed += (1/30);
    if(!noThugs && counter >= 15 || timed >= 5)
    if(musicOn)
    newSong.stop();
    door_mc.gotoAndStop(2);
    longBoard.alpha = 0;
    if(enemyTwo)
    windowHit_mc.enemy2_mc.gotoAndStop(10);
    enemy3_mc.gotoAndPlay(2);
    removeEnemyListeners();
    removeEventListener(Event.ENTERFRAME, gameLoop);
    TweenLite.delayedCall(1.5,loseGameNow);
    if(!endLevel && brokenBricks)
    loseGameNow();
    and this line
    TweenLite.delayedCall(1.5,loseGameNow);
    calls this function:
    private function loseGameNow():void
    removeEnemyListeners();
    gameTimer.stop();
    removeEventListener(Event.ENTER_FRAME, gameLoop);
    gotoAndStop(“gameOver”);
    if(musicOn)
    newSong.stop();
    mArray0 = new mArray20();
    newSong = mArray0.play(0, 1000);
    if(enemyTwo)
    if(soundOn)
    array0 = new array20();
    newSound = array0.play(0);
    if(!brokenSign) +
    neonFlicked.stop();
    gameOverScore_txt.text = score.toString();
    trace(gameOverScore_txt.text + " text");
    home_mc.addEventListener(MouseEvent.CLICK, home);
    trace(“added home_mc.addEventListener”);
    start_mc.addEventListener(MouseEvent.CLICK,preGame);
    trace(“added start_mc.addEventListener”);
    This code works completely fine on my laptop and does not disable the  score, or the two buttons until i load it onto my phone, and they become  inaccessible causing me to not continue the game.

    i'm not sure if this is necessary anymore, but i took the advise of another user here
    http://forums.adobe.com/thread/764981
    the key difference is, the user stated a preloading swf needed to embed the image in order to display before the whole apk is loaded.
    Seems to be working for me anyway

  • I'm looking for a script that preloads a Splash Screen on Android

    I've read all threads here already about this subject. For most AdobeAir projects for Android, no matter what size, it could take up to 20 sec to load the app, and while it loads, all you see is a black screen. As there's no support for a Default.png like there is for iPhone, we have to use a preloader.
    I've only found one for Flex, which is no good to me as I'm using Flash Pro 5.5 (IDE). I've tried doing some simple preload-a-swf-preloader but it just loads it to 100% before showing anything anyway.
    Anyone here that can share a script of a simple preloader for Flash CS5.5?
    I know that to reduce the loading time and show a splash screen on android we need to make a very small swf that will contain the loading screen image, and that same swf will also preload the maingame.swf (but can that be done? Appstore don't like code in more than one swf) into it. My tries have failed.
    Here's some quotes in case someone who reads this might be knowledgable enough to help me out:
    Yes its possible to get a splash to appear straight away (well within one to 2 seconds which is close enough) but
    (a) You have to create a small splash .SWF which loads your main .SWF (OK so that's fairly obvious but a "Default.PNG" splash screen facility as per the iPhone packager and FLEX projects is what you might expect)
    (b) Your splash .SWF must embed the splash image. If you try to dynamically load an image nothing will appear until the whole of the APK file is loaded ( and presumably initialised). That was what I was doing wrong.
    It takes 20 sec to load, it's all black before it's done loading and the runtime takes up 25mb!
    (1) Yes that is a bit of a problem but seems to be the cost of compiling in the AIR runtime.  I am sure that most mobile projects only use a subset of the entire AIR library - its a shame you can't just compile in the bits that you need and drop the rest.
    (2) This is partly because of (1) and the fact it takes so long to get a big file up and running with AIR.  You need to create a preloader that is very small and all it does is display a splashscreen and then loads in the main 25mb file that you embed in the assets of your preloader.  The small preloader appears quickly and then gives you time to do your 'work' loading the main app with something onscreen.  This gives an example / explanation and there are others out there :
    http://www.mcbrearty.me.uk/index.php/2011/05/09/actionscript-mobile-pr oject-splash-screen/

    Hi Nick,
    Using the FileSystemObject object to delete a folder will delete the profile directory, but it won't delete its associated registry path:
    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\user's SID
    There are also two other complications: 1. you can't delete a profile for a user that's logged on; and 2. the user might have logged off, but the profile might not be completely unloaded (see
    http://support.microsoft.com/kb/837115 ).
    In the meantime, I recommend 'uphclean' and the 'delprof.exe' found in the Resource Kit utilities.
    HTH,
    Bill
    Can we combine FileSystemObject and deleting Reg Keys?
    ¯\_(ツ)_/¯

  • Getting increasingly frequent system shutdown with appearance of the apple splash screen for several minutes then back to logon in the middle of using a variety of APPs or just walking on Safari.

    Using an IPAD 2 running 5.0.1 is frequently shutting down in the middle of a variety of Apps and showing the Apple splash screen for several minutes. This happens occasionally at inopportune times. Once the splash screen clears it goes back to the logon screen and the App that was open is closed. Has anyone else encountered this? Is there a resolution?

    RockHunter wrote:
    This happens occasionally at inopportune times.
    I don't think that there is ever a good time for this to occur.
    What do you mean the Apple splash screen? You see the Apple logo on the screen?
    It appears as though your apps are crashing. Have you tried quitting apps and restarting? Reset the iPad?
    Quit all apps and restart. Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Dreamweaver CS5 will not open. It shows the splash screen and terminates with non admin login

    Dreamweaver CS5 will not open. It shows the splash screen and terminates with non admin login but works fine with admin login.
    OS - WinXP Sp3
    Things I tried.
    1) Gave full rights on dreamweaver folder in program files.
    2) Disabled welcome screen
    3) Updated to Dreamweaver CS5 11.0.4
    4) Reinstalled
    5) Formated PC
    But issue persists, please help.

    Have you tried deleting or renaming the Dreamweaver configuration file?
    See http://forums.adobe.com/thread/494811
    This can solve many problems and create one in that any snippets that are installed are lost, but you can get them back. Instead of deleting the config file, just name it config.old. When your system is working, just copy the snippets from the .old file to the new one.

  • How to publish iPhone Apps with Flash CS5 for beginners

    After many trial/errors and with lots of support from this site, I've decided to start building some tutorials to help people get into the packager. This is the first one and, now I'll work on a usual erros handle tutorial.
    Any comments and/or critics are welcome.
    http://www.chrisid.com/blog/2010/10/how-to-publish-iphone-app-with-flash-cs5-for-beginners /
    cheers,
    Chris.

    It helped me a lot, exept I hav this little problem ..
    I can't select the .p12 file .. it's disabled..

  • Lightroom won't boot -I only get the splash screen for a second.

    I do have the photographers version of the Creative Cloud which included Photoshop CC 2014 and Lightroom. Everything was working just fine until I upgraded to Lightroom version 5.6. Now when I try to load LR, the slash screen shows for a second then disappears and LR does not load. This occurs on both my Mac (a Mac Pro and a iMac). I uninstalled LR and had creative cloud reinstall but still the same thing is happening  - Splash screen for a second then nothing. Again, this is happening on both Mac's. Photoshop CC 2014 I working just fine.
    Before I call Adobe, any ideas here on this issue. BTW, Creative Cloud App states LR in up to date and installed.
    Thanks
    James

    Hi PBAYARD,
    I see that you are experiencing an issue with your iPod classic. Here is an article for you that will hep you through some troubleshooting steps regarding this issue:
    iPod: No power or frozen - Apple Support
    https://support.apple.com/en-us/TS1404
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Creating a splash screen for your app.

    Im trying to create a splash screen for my app but im not too sure how it's done.
    Im using the following piece of code.
    public static void main(String[] args)
              JPanel display = new JPanel();
              display.setPreferredSize(new Dimension( (300), (200) ));
              display.setBackground(Color.white);
                   // I WILL PUT AN IMAGE ICON ON A JLABEL HERE              
              display.setVisible(true);
                   // I WILL NEED A DELAY HERE
              test.instance();
    }The problem I am having is that the JPanel is not being displayed. I will also need a way to create a delay, I know that I can't just use Thread.sleep(5000); because the JPanel will require the thread to be running in order to display the panel.
    Does anyone know how I could get my JPanel to display and somehow insert a delay before test.instance();?
    Thanks.

    I made my own a few days before for a database program. It can be easily done with Threads.
    I recommend you create a new class to be used as the spalsh screen , it has to extends JFrame and implements Runnable.
    I ll give you an example. I used the spash screen to display the screen and also to laod the main GUI form so that when the spash screen dispose, the main GUI form displays instantly, making the user think that the application loads faster.
    public void run ()
            try
                 this.setVisible(true);
                 Thread.sleep(2000);
                 // sets the menu visible before disposing
                 guiMenu.setVisible(true);
                 // disposes the object and returns the resources to the OS
                 this.dispose();
            catch(InterruptedException exception)
                exception.printStackTrace();
    // this method must be implement in the class
    // that implements Runnable interface
    //MAIN
    public class Main
        public static void main(String[] args)
            Menu menu = new Menu();
            SplashScreen introScreen = new SplashScreen(menu);
            ExecutorService splashExecutor= Executors.newFixedThreadPool(1);
            splashExecutor.execute(introScreen);       
    }ExecutorService is a subinterface of Executor that declares methods for managing the threads. It also has the method execute (that provides the Executor interface) which when invoked calls the method public void run() of the argument class that must implement Runnable.
    Executors.newFixedThreadPool(1); creates a poll consisting of a 1 thread which is been used by splashExecutor to execute the Runnable.
    Hope i've been of some assistance!

  • Using Air 2.6 with Flash CS5

    hey there all,
    here is what i am doing so far to use Air 2.6 with Flash CS5. i counts seem to find any help online with this, hope this helps someone...
    Setting Up Flash CS5
    1. replace Program FIles\Adobe\Adobe Flash CS5\Common\Configuration\ActionScript 3.0\AIR2.0\airglobal.swc with the airglobal.swc in the AdobeAIRSDK\frameworks\libs\air folder of the AIR 2.6 SDK zip file (AdobeAIRSDK.zip)
    This lets you compile with the new SDK and use all the new API for camera roll, microphone, etc.
    2. replace Program Files\Adobe\Adobe Flash CS5\AIK2.0 with the AdobeAIRSDK folder in the zip file (AdobeAIRSDK.zip) you downloaded from Adobe.
    now you can do a test movie in Flash CS5 and it will use the new ADL for testing in Flash (finally works with landscape!).
    Publishing
    for publishing, unfortunately you cant use the built-in publish for iOS. i wrote this batch file and use it (also you can write an ant task if you use FDT/Flash Builder). This is for windows 64bit...
    "C:\Program Files (x86)\Java\jre6\bin\java" -jar C:\AdobeAIRSDK\lib\adt.jar -package -target ipa-ad-hoc -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png
    i have a 64bit system so i had to specify the 32 bit JRE and use the ADT jar for packaging. now i just double-click the batch file and it compiles for iOS.
    Adjusting the app.xml File
    the yourapp-app.xml file needs some tweaks from the CS5 packager to work in 2.6:
    1. namespace has to change from
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    to
    <application xmlns="http://ns.adobe.com/air/application/2.6">
    2. the version node needs to be renamed versionNumber
    from
    <version>.5.572<</version>
    to
    <versionNumber>0.5.572</versionNumber>
    notice you need to include the leading zero if you arent using a whole number version
    ok, thats what i have so far, hope this helps...

    hey there all, for those on Windows,
    here is a compile script i put together for iOS using AIR 2.6. Copy and past this into a file named "compile ios.wsf". All you have to do is double-click and it will compile and paclage your app.
    the script assumes you have a versionNumber like: 0.4.123 it takes and incrememnts the build number (the last 3 numbers only) by one. i will imrpove this later.
    <?xml version="1.0" ?>
    <job>
    <script language="JScript">
         This file assumes you are using a 3-segment version system.
         It is not very inteligent, it just increments the last set of numbers in the
         versionNumber in the XML file by 1. !!be aware that it is not yet smart enough
         to update the second number!!
         // these properties change depending on your project
         var XML_FILE = "YourApp-app.xml";
         var SWF_FILE = "YourApp.swf";
         var IPA_FILE = "YourApp.ipa";
         var TARGET = "ipa-ad-hoc";
         var KEY_FILE = "dist.p12";
         var KEY_PASSWORD = "PASSWORD";
         var PROVISIONING_PROFILE = "YourApp.mobileprovision";
         var ICONS = "Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png";
         var SPLASH_SCREENS = "Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png";
         // the location of your JRE/JDK and Air SDK files
         var JRE_BIN = "C:\\Progra~2\\Java\\jre6\\bin\\java";
         var ADT_JAR = "C:\\AdobeAIRSDK\\lib\\adt.jar";
         // this stuff shouldnt need to change
         var objXML = new ActiveXObject( "Microsoft.XMLDOM" );
         objXML.async = false;
         objXML.load(XML_FILE);
         var root = objXML.documentElement;
         var versionNumberNode = root.selectSingleNode("versionNumber");
         var versionNumberArray = versionNumberNode.text.split(".");
         var buildNumber = parseInt(versionNumberArray[2]) + 1;
         versionNumberNode.text = versionNumberArray[0] + "." + versionNumberArray[1] + "." + buildNumber;
         objXML.save(XML_FILE);
         var cShell = WScript.CreateObject("WScript.Shell");
         var compileCommand = '"' + cShell.CurrentDirectory + '\\compile ios.bat"';
         compileCommand = JRE_BIN + " -jar " + ADT_JAR + " -package -target " + TARGET + " -storetype pkcs12 -keystore " + KEY_FILE + " -storepass " + KEY_PASSWORD + " -provisioning-profile " + PROVISIONING_PROFILE + " " + IPA_FILE + " " + XML_FILE + " " + SWF_FILE + " " + ICONS + " " + SPLASH_SCREENS;
         //WScript.Echo(compileCommand);
         var runVal = cShell.run(compileCommand, 1, true);
    </script>
    </job>
    i will see if there's time to do a shell script of OSX and an ANT script for Eclipse...

  • Compile with Flash CS5 - stageVideo

    Hello guys,
    I have a really annoying pb and I can't figure it out... I am using Flash CS5 to compile my AS3 classes. In order to test stageVideo, I configure mon flash CS5 by using these instructions : http://rhuno.com/flashblog/2011/04/04/how-to-compile-for-flash-player-10-2-with-flash-cs5/
    So :
    - I dowloaded he last SDK release today.
    - I copy/paste the "playerglobal.swc" file in the good place. (Applications/Adobe Flash CS5/Common/Configuration/ActionScript 3.0/FP10.2/)
    - I  change the xml like that : 
    <player id="FlashPlayer10.2" version="11" asversion="3">
       <name>Flash Player 10.2</name>
       <path builtin="true"/>
       <path platform="WIN">Device Central/adcdl.exe</path>
       <path platform="MAC">Device Central/adcdl</path>
       <playerDefinitionPath as2="$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(Use rConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/FP10.2/playerglobal.swc" />
    Then, I restarted Flash CS5 and I tested the autocompletion in order to see that this kind of thing work :
    flash.medias.StageVideo
    .. and yes it is.
    But when I tried to compile my fla, I still got this message :
    VerifyError: Error #1014:  flash.media::StageVideo can not be found
    What am I doing wrong ?
    Tkx for any kind of help !
    D

    Tkx for your message.
    The error which is displayed by the IDE is :
    VerifyError: Error #1014: La classe flash.media::StageVideo est introuvable.
    which means in english
    VerifyError: Error #1014: Classe flash.media::StageVideo can not be found.
    But anyway, the StageVideo.as is located in flash.media, isn't it ?
    Tkx by advance

  • Can't package AIR for Android in Flash Pro CS6?

    I have trouble pakaging AIR for Android in Flash Professional CS6.
    It worked couple months ago. Buit it won't wok now.
    Here is the error dialog box:
    Can anyone help me?

    What exactly happens when you try to debug?
    When you run 'adb devices' on a command line you see your devices listed there correct?
    One thing that helps is to use the generic Google USB driver or at least have it handy. Download the Android SDK and it's in the SDK Manager. Here's where you'd find it (AndroidSDK\SDK Manager.exe):
    Note the selected "Google USB Driver" in the "Extras" rolldown. Grab it.
    Often when a device is too new or just can't connect, that driver will find it. Also keep that SDK up to the latest version and check the adb that comes with it to make sure it sees your device:
    If Flash can't see it, there was one old trick of copying over the updated Android SDK's adb over to Flash. I believe you copied over adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll (and at the time aapt.exe) and overwrote your copy in your FLASH\AIR\lib\android\bin folder, then suddenly flash could find the devices.

  • Open a CS3 fla with Flash CS5

    I'm not sure this is the right forum, so if the admin want to put this tread in the right place, please, do it!
    I'm going to buy a site template provided with fla source, but it is developed in CS3.
    Do you know if there are same problem opening and modifing this kind of fla with Flash CS5?
    Thanks in advance.

    there is no problem opening fla files, made with earlier versions of flash pro, in later flash pro versions (except for as2 containing files and flash pro after cs6).
    so, you're ok.
    except, and this is an excerpt from a book i wrote (Flash Game Development: In a Social, Mobile and 3D World),
    Spreading code across more than one frame of a timeline and especially in more than one timeline is a time-wasting mess and strongly discouraged. Anyone who has ever worked on a Flash file with significant bits of code spread over more than one timeline more than a few weeks after creating that code understands the incredible amount of time that can be wasted looking for pertinent code.
    The worst offenders that I have seen (and I have seen hundreds of problematic Flash projects), in the highly competitive worst Flash coding derby, are templates sold by websites like http://www.entheosweb.com/. Do not be fooled into thinking you can get a head-start on a project by starting with a web template offered for sale. There may be some well-coded templates sold online but I have never seen one.

  • Can we develop apps with Flash CS5

    Hello,
    I have a doubt, can we make iPhone apps with flash CS5?

    yes, you can but you can't use apples app store for your app without violating their tos.

  • Publising times for IOS using Flash CS5.5

    I am doing some tests with Flash CS5.5 and AIR 3.0 and literally testing a hello world type app.
    It is taking a considerable amount of time to create the ipa file. I timed it and it was about 12 minutes. I have a reasonably good spec PC son wondered if this is the normal amount of time it takes to publish?
    Thanks in advance...

    Thanks for the reply. That is really strange how the publishing time varies so much. I tested on my Mac and it was about 2.5 minutes - the great thing on the Mac is that it estimates the publishing time and then counts down the time however there was an additional delay once it had reached zero but still way quicker than on the PC for an identical build.

Maybe you are looking for

  • Sub Contracting Challan Error during Reconcillation

    Dear All While doing Sub Contracting quantity reconcilation in J1IFQ i am getting the following error."Challan material is different from material document" I am entering the correct (101)material document only. In MIGO itself i have reffered challan

  • Ok, so here's the bottom line...again. *sigh*

    Ok, so I need someone to hold my hand because I am trying to make sense of the 20+ threads I've read and I think I'm losing the last few hairs remaining. Say you have AT&T Internet Service, and you're using their 2WIRE router.  Everyone in the back o

  • What are possible career paths after 7 years of database administration?

    Hi, what is most common choice for Oracle production DBA with 5 years< experience, if he wants to change his career ? Is it possible to become Oracle Architect without Java/PL-SQL programming experience, but knowing many oracle products such as OBIEE

  • Cross AIM/Google Talk/.mac Chats?

    With iChat, can someone with a Google Talk account chat to someone with a .mac account, and vice-versa? Or can you only chat to people using the same type of account as you? For example, I have a Google Talk account. Can I add and chat with someone o

  • NAVIGATE TO STANDARD WD FROM 'Z' WD

    HI EXPERT´s, i need to call a standard webdynpro from my 'z' webdynpro. My 'Z' WD show ALV with one field navigable. When USER click in this field i want show FPM_IDR_COMPONENT component? is it posible? I have seen it is very difficult i don´t know a