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?
¯\_(ツ)_/¯

Similar Messages

  • Looking for a script that get images' urls from a website

    Hi,
    I have a website where users can insert theirs hotel informations.
    Most of them do not insert photos, I guess because the procedure is quite long and difficoult for the average user's skills.
    I'm looking for a script that take as input the url of the website and give as output the urls of the images of the site, so the user can decide which to upload on his tab.
    Someone can help me?

    La_Salamandra wrote:
    I have a website where users can insert theirs hotel informations.
    Most of them do not insert photos, I guess because the procedure is quite long and difficoult for the average user's skills.
    I'm looking for a script that take as input the url of the website and give as output the urls of the images of the site, so the user can decide which to upload on his tab.
    Someone can help me?
    You have to improve your design. Even if you can find the Coldfusion code, your design will still fall short in 2 ways.
    First, it is unreliable, because you're depending on some arbitrary site to be available and up to speed. Secondly, it is aesthetically wrong to be collecting pictures, especially large numbers of them, dynamically from someone else's site.  Think of their copyright and bandwidth.
    Fortunately, there are simple solutions. First, identify, by eye, the web pages containing the pictures you're interested in. Ask for permission from the owner.
    You could indeed use Coldfusion's cfhttp or any other script to download the JPGs, PNGs, and so on. But then, why waste your time re-inventing the wheel? It is infinitely better to use a web crawler !
    With most crawlers, you only have to supply the URL of the site, and the file extensions it has to grab (in your case, jpg, png, bmp, and so on).
    One click on the button, and you have them reeling in. Automatically. Some crawlers are considerate enough to enable you to adjust the download bandwidth. (We can learn from a million years evolution wisdom. The vampire bat is known to inject a painkiller before sucking!).
    Now that you've downloaded the images to your site, the links you display to your users are all yours. You may choose to resize some of the images, display them as you wish, and the issues of reliability and bandwidth are now up to you.

  • Looking for a script that will find broken links

    I create long documents in InDesign, and I often have 50-75 Indesign documents in my InDesign book. Because what I do is production publishing, at any one time I'll have a half dozen similar books under construction. All the books contain the same chapters (as far as file name an basic content). I need a script that I can run on the final PDF for each project to make sure that all of my hyperlinks/cross references are intact. This is to ensure that I didn't accidentally link to a chapter from a different project. In other words, I need to make sure that my final PDF contains both the source and the destination.
    Does anyone know where I can find a script like this?
    Thanks,
    Kelly Vaughn

    A script can't do that. Maybe a plugin.

  • Looking for a script that will save as v11

    I need to save a book and all its files as version 11 (from version 12)

    Hi Dave,
    I have a script that saves to any FM version above 7 (and including MIF format, too). The script optionally copies all images to a local folder and optionally also includes text insets in the save. I know I sent you another script a couple of weeks ago, but I did not keep your email address. If you send the adress to me again I will forward a binary version of the script (the script source is something I am thinking of selling at a later stage and there was a lot of work on it, so I am a little less generous on that).
    Not sure if I have the latest version of the script on my laptop (I am on a business trip this week) but I can send you the script by Saturday at the latest.
    Kind regards from Copenhagen
    Jang

  • Looking for a script that creates labels for linked image files in the layout

    I'm working on a large book with over 650 images and I need to show the file names along with the images in layout for proofing reasons. Does anyone have a script for that does something like this? I'm working in INDD 6.
    Appreciate your help / suggestions!

    This is great— thank you! however you have to select all the image in order to generate the live caption. My file is about 320+ pages, any way to run live caption without having to select the files?

  • Looking for a script that will size photos down and give unique filenames

    Here's the challenge:
    I have a bunch of photos that need to be sized down to three different types of thumbnails, each group of thumbnails needs to have a specific prefix to the filename while keeping the rest of filename in tact.
    So example:
    I start out with a photo 1400 x 933
    That photo needs to be sized down to 3 different smaller sizes: 630 x 420, 210 x 140 and 140 x93 (all of those have the same aspect ratio as 1400 x 933). So far this is a simple Action in Photoshop.
    The trick I can't figure out is that these photos need to have a specific file naming convention. Say for example the 1400 x 933 photo we start out with is named w_paul_001.jpg the other photos once sized down need to be: x_paul_001.jpg (for the 630x420), y_paul_001.jpg (for the 210 x 140) and z_paul_001.jpg (for the 140x93).
    How I do dat?

    This will do what you want:
    var srcDoc = app.activeDocument;
    var imgNum = srcDoc.name.substring(7, (srcDoc.name.length)-4);
    var myJpgQuality = 12
    var sizeArray = [
    [1400, 933, "x_paul_"],
    [630,  420, "y_paul_"],
    [100,  100, "z_paul_"]
    for (var i=0; i<sizeArray.length; i++)
      var shrinkWidth =  sizeArray [i][0];
      var shrinkHeight = sizeArray [i][1];
      var mySaveName = sizeArray [i][2];
      var id428 = charIDToTypeID( "Dplc" );
      var desc92 = new ActionDescriptor();
      var id429 = charIDToTypeID( "null" );
      var ref27 = new ActionReference();
      var id430 = charIDToTypeID( "Dcmn" );
      var id431 = charIDToTypeID( "Ordn" );
      var id432 = charIDToTypeID( "Frst" );
      ref27.putEnumerated( id430, id431, id432 );
      desc92.putReference( id429, ref27 );
      var id433 = charIDToTypeID( "Nm  " );
      desc92.putString( id433, mySaveName );
      executeAction( id428, desc92, DialogModes.NO );
      activeDocument.resizeImage(shrinkWidth, shrinkHeight, 72, ResampleMethod.BICUBIC);
      filePath = srcDoc.path + '/' + mySaveName + imgNum + '.jpg';
      var jpgFile = new File(filePath);
      jpgSaveOptions = new JPEGSaveOptions();
      jpgSaveOptions.formatOptions = FormatOptions.OPTIMIZEDBASELINE;
      jpgSaveOptions.embedColorProfile = true;
      jpgSaveOptions.matte = MatteType.NONE;
      jpgSaveOptions.quality = myJpgQuality;
      activeDocument.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
      app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);

  • Looking for a script to automate renaming layer objects, not the layer itself!

    Hey there everyone,
    I was wondering if there is a possibility to create/have a script for an automated renaming of several named layer objects in Indesign (CS6).
    The situation, I'm facing is a document for a templating process with at least 80 layers and sometimes some special elements on each layer. The naming of the layers is kind of repeating for each page that is used. The only difference is some prefix change in the layer name and/or the name of an element itself. My problem is, that I need to rename most of those layers AND elements in a same way and I'm looking for a script that asks me for the name of a layer or element (perfect would be just a part of the name to have multiple steps at once) and I have the chance to type in the desired value. It affects frames, graphical elements and text boxes.
    If anyone has an idea, how to simplify this process I would be very glad to get some informations or advices.
    Thanks in advance
    Ralf

    Here is a more descriptive version of the script above... :)
    # Change "PSDrive" to PS1: (Sitecode)
    CD PS1:
    # Get all CMPackages to $CMPackages_All Variable
    $CMPackages_All = Get-CMPackage
    # Set the DP to use with. You may need to run it again with other DP just in case some Packages are missing...
    $DPName_FQDN = "YourDP.Contoso.com" # Your FQDN DP name to reference from.
    # Set folder to store *.pkgx files
    $FilePath = "E:\_ESD\Prestage\" # FilePath
    # For all CMPackages
    foreach ($obj in $CMPackages_All) {
        $packageType = $obj.PackageType
        $packageID = $obj.PackageID
        $packageVendor = $obj.Manufacturer
        $packageName = $obj.Name
        $packageVersion = $obj.Version
        # Formulate File name based on Vendor Name, version and PackageID
     $FileName = $FilePath + $packageVendor + "_" + $PackageName + "_" + $packageVersion + "_" + $packageID + ".pkgx"
        # Replace space with underscore
        $FileName = $FileName.Replace(" ","_")
        if ($PackageType -eq 0) {
            if (!( Test-Path $FileName)) { # This makes the package to skip if it is already created.
                Write-host "Publishing CMPrestage Content for $PackageID $PackageName to $FileName via $DPName_FQDN ..."
                Publish-CMPrestageContent -PackageID $packageID -DistributionPointName $DPName_FQDN -fileName $FileName -ErrorAction Continue
    YPae

  • Looking for iTunes Script

    I'm looking for a script that would remove ALL the album art from my songs. I've got so many mismatched album covers/art that it would be easier to start over from scratch than to go through all my songs one by one.
    Thanks in advance,
    Chris

    You really don't need a script.
    Select all songs (Command-A) and Get Info (command-I).
    Tick the checkbox at 'Artwork' and click OK.
    All embedded artwork will be removed.
    To remove all downloaded artwork (from the iTunes Store), select all songs again, control-click on the selection and choose 'Clear Downloaded Artwork'.
    Hope this helps.
    M

  • I blog on TypePad using Word 2007 and documents freeze when I'm looking at them in Windows explorer; why do I get the error message that Mozilla is looking for a script?

    I have now had two error messages - the first one looked for this script: Script: resource://gre/modules/XPCOMUtils.jsm:258. The second one (today) looked for Script: resource://gre/components/nsPrompter.js:68.
    I have reset my word template, also reset word registry for data and options (as per Microsoft's help pages) for both those 'fixes' there was an initial improvement, but the problem happened again after I reposted on my blog today and then went to Windows explorer to view my files. It seems to 'seize' as I select a file, so that the preview does not appear (for up to 15-20mins).
    I see on the internet using the second script as a search just now that one other has had a similar problem and one also since Mozilla 4 upgrade. My problems have also been pretty much since I upgraded.
    It happens (apart from my fixes) every time I go to look at a word document via Windows explorer. Excel files are less affected.
    One web suggestion is to clear the cache, but I am hesitant to lose all my passwords unless I have to.

    I still have the problem although I uninstalled Mozilla (clearing the cache didn't work and neither did Word diagnostics), so have ended up thinking it could be Norton (the manual update worked x1) or Windows. Today I found an answer: disable the preview pane in Windows Explorer - there's a history of problems with this view.

  • Looking for a script like Link Optimiser

    I'm looking, very unsuccessfully, for a script that will Resize all the images in my document to 100% - this script also had the option to open the image in photoshop and sharpen it.
    I had it a few years ago but can't seem to find it now. Any ideas?

    I have one in development...opens the image in photoshop with the crop from ID. (does not sharpen or save)
    Getting it ready for public release is on my queue for this month, but I'll send it to you privately for now.

  • Install gets stuck looking for /global/scripts/ac_media.js

    My dad is older and has moved into a retirement home.  He gave us his iMac G4.  We have all of the original install discs (including the Mac OS X 10.2 operating system).  My first problem is that he can't remember his password (even when we share his "hint" with him).  Through a general Google search and on the Apple support site, I have read that I can restart the computer with the OS disc in it, holding the C key down and it will reinstall the OS and I can create a new password.  My problem is when the install starts running, it seems to open the IE and the status bar indicates that the G4 is accessing the Apple site to search for files.  The process gets stuck when looking for /global/scripts/ac_media.js.  I downloaded that file from Apple onto a thumb drive, but didn't know where to copy it into my G4.  Can anyone help me?
    Thanks,
    Julie

    My dad is older and has moved into a retirement home.  He gave us his iMac G4.  We have all of the original install discs (including the Mac OS X 10.2 operating system).  My first problem is that he can't remember his password (even when we share his "hint" with him).  Through a general Google search and on the Apple support site, I have read that I can restart the computer with the OS disc in it, holding the C key down and it will reinstall the OS and I can create a new password.  My problem is when the install starts running, it seems to open the IE and the status bar indicates that the G4 is accessing the Apple site to search for files.  The process gets stuck when looking for /global/scripts/ac_media.js.  I downloaded that file from Apple onto a thumb drive, but didn't know where to copy it into my G4.  Can anyone help me?
    Thanks,
    Julie

  • Looking for a script which gives Drive,Diskspacefree,Databasename,Filename,Filetype,Filesize,Spaceused,spacefree,free(%),MaxsizeMB,autogrowthsize,Filegroup

    Hi All,
    I need a T-script  for sql 2005 and 2008 which should give output as:
    Looking for a script which gives Drive,Diskspacefree,Databasename,Filename,Filetype,Filesize,Spaceused,spacefree,free(%),MaxsizeMB,autogrowthsize,Filegroup

    In the list below, everything that is in bold face is available in sys.master_files:
    Drive
    Diskspacefree,
    Databasename
    Filename
    Filetype
    Filesize
    Spaceused,
    spacefree,
    free(%),
    MaxsizeMB
    autogrowthsize
    Filegroup
    Everything in bold face is in sys.master_files. Diskspacefree is also fairly simple; you can get it with xp_fixeddrives.
    Filegroup requires you sys.filegroups in every database, although you can hardcode "PRIMARY" for the file_id = 1.
    To get space used per file, it appears that you need to need to visit every database and run fileproperty(filename, 'SpaceUsed') to get the data.
    You need to revisit the topics for the views and function I have listed here. xp_fixeddrives is undocumented, but the output is very simple to grasp.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Looking for some assurances that I haven't made a mistake switching to Mac.

    Bought an intel-powered IMac 9 days ago and love everything about it's look, functionality, etc.. Only problem: I've had a bout of "Application has closed unexpectedly" occcurrances while using Safari (while at AOL.com deleting emails from aol account) and while editing pics in iPhoto. As this happened time and again, I got a sad, sinking feeling that I'm headed for the same frustrations that I've had w/ every Windows machine I've ever owned. Ugh!..I switched to Apple for the specific purpose of avoiding crashes!!! Apple support walked me through steps to fix (removed/updated Quicktime, and check a few other things..). They were very helpful, but... I absolutely detest having to do this. Other than Office:Mac, i've added nothing to this machine! I'm really stressed about this. I paid far more for this than I would have for a Windows machine simply because I had heard that Apple machines don't do this sort of thing!!
    Please tell me that this is normal and expected with a new machine and not a harbinger of more complicated problems to come!! I'm hoping that once resolved, I won't much more of this.. On the other hand, if many of you feel that this issue is a bad omen, I'll take the machine back while I still can. ..What a pity though, it's truly been a joy to use so far.
    IMAC (early 2006)   Mac OS X (10.4.4)  

    Hi syd123! And Welcome to Discussions!
    No you haven't made a mistake! You will love your Mac!
    Deleting AOL Mail, crashes Safari (Consolidation)
    It seems the most recent Safari, and or 10.4.4, update has created this problem.
    Apple & AOL are both aware of this, but, as far as I know, no correction has been implemented.
    Here are some of the work arounds, that I have been able to discern from the various posts regarding this issue.
    Use the FIREFOX BROWSER.
    Use your AOL Mail program.
    Use this utility AOL SERVICES ASSISTANT, to set up Apple Mail, to access AOL Mail.
    Access the AOL Mail thru Classic AOL Webmail.
    And here are links, to the various threads, discussing this issue.
    <a href="http://discussions.apple.com/thread.jspa?threadID=314479&start=0&tstart=0 "Safari and AOL</a>
    AOL/ Delete/ Safari crash
    safari crashing with aol.com mail deletion
    AOL Webmail and Safari on 10.4.2 crashes on delete mail
    Update 10.4.4 causes crash
    Safari crashes when deleting email on AOL
    Safari Update
    Safari Crashes AOL mail
    Safari Crashes when Deleting or Reporting E-Mail as SPAM on AOL Web Mail
    Looking for some assurances that I haven't made a mistake switching to Mac. This Thread
    Good Luck!
    ali b

  • Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Hi ron1098,
    Try my application Dates to iCal. it runs on the Mac, but you can sync the calendar to your iOS device.
    See more about Dates to iCal here. It is £4 shareware with a 2 week demo.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • I am looking for an app that will transcribe talking words into written words.  I have no idea where to look

    I am looking for an app that will transcribe talking words on a cd into written words in a file.

    Give Dictation a try.

Maybe you are looking for

  • Ghastly digital distortion while recording

    I ran into a really bad problem tonight when trying to record and could use some sage advice. I'm getting a lot of digital distortion when recording any audio on any audio track using either of the mic inputs on my Presonus Firebox interface. There's

  • How to configure the connection between AS JAVA and AS ABAP

    Hello, I have installed a SAP Netweaver 7.3 AS JAVA and I would like to connect this JAVA Instance with 3 ABAP Systems (ECC 6.0) . On help.sap.com I have found the following instructions: http://help.sap.com/saphelp_nwpi71/helpdata/en/3b/0c4b428f96ab

  • DatabaseMetaData.getTypeInfo ()=NULL when use JDBC Driver 9.2.0.5

    Why DatabaseMetaData.getTypeInfo () is NULL when use JDBC Driver 9.2.0.5 to connect Oracle 9.0.1.1.1 database? In the following links http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#02_02 the segment "Which JDBC drivers suppo

  • Proble with the Standard role(eu_role)

    Hi All, I am facing some problem with Standard Role(eu_role). Actually i copied the standard role from the path Portal Content -> Content Provided By SAP -> End user content -> Standard Role and pasted it in Portal Content itself, when i am trying to

  • Intresting query!!! may be for me...

    Hello Friends Please can you help me with your query for the following table SQL for Oracle 10g table containing following data Table 1 slNo Project issueno date 1 Prj1 issue11 2000-1-19 - project 1 added 2 Prj1 issue12 2001-2-11 3 Prj1 issue13 2002-