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

Similar Messages

  • How do I create accessible Mobile APP for IPAD using flash Builder 4.7?

    How do I create Accessible Mobile App for IPAD usign Flash Builder 4.7?
    I tried updating enabling accessbile = True and other configuratoin from this site: http://www.adobe.com/accessibility/products/flex/best-practices.html
    but NO LUCK. When I tested on IPAD it freezes my App.
    Thanks for your time and help,
    Nim Pat

    In the second example, the photo is set to background with a tile. The other parts are over top of the photo and done with layers with a background color setting.

  • Which iMac for use with Photoshop CS5 and Lightroom

    Any opinions on which iMac is best for use with Photoshop CS5 and Lightroom. Not sure if the 2.7 i5 with 512 graphics card is Plenty of power or if upgrading to the 3.1 i5 or 3.4 i7 is a wiser choice given the price differences. Appreciate the help

    So I was reading over your post, and even though this is older and has to do with CS5, I have some information for CS6 that will be relevant to your question now that it is time to upgade the software. In general Photoshop has always been more about RAM than Processing power, though that is important too. Until CS5 it could never quite take advantage of what multi-core processors really had to offer, and even the graphics card didn't really effect much of it outside of certain features and the 3D optio
    Now that is no longer true and Adobe can effeciently use all aspects of the computer to give you much better performance.
    So much so that I was able to buy a brand New ASUS with the following specs:
    Dual Core 2.2GHz Processors
    8GB of RAM (4GB original to the machine)
    Windows 7 Home Premium 64Bit OS
    320GB HDD w/ 5400RPM
    This machine not only runs photoshop CS6 and Launches in less than 5 Seconds... it can run Premier and After Effects as well, and this Laptop cost me less than $400 (on sale at Best Buy 2 Weeks Ago. You don't have to buy something this cheap, but isn't it great that you can and still run Master Collection effectively?
    You can read my details on how to buy a Photoshop CS6 Laptop, what specs you need, comparison between Mac and PC and watch the video of my Photoshop Speed Test by reading this article:
    http://robertoblake.com/blog/2012/06/buying-a-photoshop-cs6-laptop

  • 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

  • Captivate 5 Crashing with Flash CS5 and Photoshop

    Hello,
    It's been awhile since I've been on the forums, so my apologies if this issue has already been posted.
    I am running Captivate 5. I find when I am working on a file, if I open PhotoShop (12.0.4 64-bit edition) or Flash CS5 (11.0.2.489) at the same time Captivate is open, my instance of Captivate will crash and I will lose all work that I have not yet saved. Thankfully I've gotten into the habit of saving before opening these programs but I was wondering if anyone else was experiencing this issue and if so, has there been a workaround created?
    I want to send a bug report in but I can't for the life of me get it to do it all the time - I can't provide them with exactly how I do it.
    Thanks
    Doug

    Hi Ken,
    Thanks for the response. That's what I had been doing with Photoshop, but I didn't think I'd have to do it with Flash as well! This morning, working in Captivate, open Flash, boom - bye bye this morning's work in Captivate!
    Hopefully it'll get resolved soon.
    Thanks!

  • 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..

  • A mobile App for lulu would be amazing!

    As I now have my phone as my link to everything from banking to research, I think a mobile app for lulu would be amazing in order to track sales, promotion of author spotlights and all the other wonderful stuff lulu.com provides us, the selfpublished authors.

    Mobile Flash is no longer being developed (it was discontinued around 2011, IIRC). It never existed on any Apple idevice and buggy versions were installed on Android, but that stopped in August of 2012.
    If your Flash files are video, convert them to a more modern standard (MP4, OGV, WEBM) and use the html5 <video> tag.
    If they're interactive files, ask yourself "can a mobile user interact with these in any appreciable way?".
    Remember, mobile devices don't have mice, all those cool mouse-dependent effects and navigation tricks available in Flash do nothing in the old, buggy mobile Flash environment.
    You "can" get an old version of Flash on some Android phones. It's a relatively hacky feeling way to install called "Sideloading" that typical viewers WILL NOT do. You just have to find a version of the Flash .apk that works with your current Flash files, have a phone that allows Sideloading, then convince your viewers that the file you found isn't going to harm their device since it's no longer available through the secure/trusted channels they would normally go to.
    A very tall order.

  • Skype & NFL Mobile Apps for Verizon

    What's the deal with getting these apps approved?  According to VZ, Palm is holding them up from being available.  There has been a lot said and written about the relationship with VZ, but to have the apps available on android and blackberry phones, but not web OS is a huge mistake.  Please tell me that this will change soon.

    Hello and welcome to the forums;
    Unfortunately, we have no information on the status of app submissions or approvals.
    As far as I knew, Skype was not even making a webOS app yet, as seen in a 2009 article from US News. I admit that's a bit dated here in the world of webOS, but a quick visit to the Skype download page lists mobile apps for several platforms, but no mention of even a 'coming soon' placeholder for webOS. I didn't stay there for long, but hopefully Skype has a feedback and suggestion page where you could request a webOS version of their mobile application.
    As for the NFL app, again we don't have any information, but if you would like to see a particular app or feature like VZ NFL added, visit our feedback portal at www.palm.com/feedback .
    Life moves fast. Don't miss a thing.
    TreoAide

  • Already paid need mobile app for ps and ai

    already paid need mobile app for ps and ai on ipad

    Hi Cheskatlu
    The touch apps can be used with Creative Cloud but are sold separately, see this page http://www.adobe.com/products/creativecloud/tools-and-services.html
    Are these the apps you were referencing?
    -Dave

  • Developing mobile apps for the blackberry platform

    Hello all
    I'm interested in developing mobile apps for the Blackberry smartphone and read that the best way to do it is with Java. Any advice on how to do this?
    I would be starting from scratch as I don't have a programming background but am keen to learn. Also can anyone recommend any introductory books that are really good at learning Java?
    Many Thanks
    praetor

    Hi praetor,
    welcome to the SDN.
    Programming for a mobile device is sort of advanced and you need to know the basics first. As you have no programming background this is even more important.
    Do yourself a favor and forget about the blackberry for a few months and learn programming basics first.
    Here are a few links to get you started with the Java SE (Standard Edition, for your local PC, nothing fancy):
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance ]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • Could anyone tell me whether the ios7 for ipad with retina display comes with flash,compass and calculator!? Because mine has none!

    Could anyone tell me whether the ios7 for ipad with retina display comes with flash,compass and calculator!? Because mine has none!

    ravelvanto wrote:
    Could anyone tell me whether the ios7 for ipad with retina display comes with flash,compass and calculator!? Because mine has none!
    Hi ravelvanto,
    mine too (iPad 3/WiFi) hasn't this features.
    Especially the flash can't be realized because there is a simple lack of a flash light.
    Why there is no compass, calculator (I'm using the Wolfram App instead), or the weather app etc. I don't know...
    Best regards, mackevin

  • 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.

  • Office Mobile apps for Windows 10 are here

    Office Mobile apps for Windows 10 are hereToday, we’re pleased to announce the availability of the Office Mobile apps on Windows 10—bringing us one step closer to our vision of reinventing productivity. Customers can immediately download and install the apps from the new Windows Store in190 countries.The Office Mobile apps—Word, Excel, PowerPoint and OneNote—are built from the ground up for touch, offer the familiar experience that Office customers expect, and deliver the capabilities people need for on-the-go productivity on Windows 10 tablets and small screen devices. Across each of the apps, customers will appreciate full fidelity viewing of their Office documents, knowing edits and changes made on any device will render perfectly across all their devices. Tightly integrated with OneDrive, the Office Mobile apps are fully cloud...
    This topic first appeared in the Spiceworks Community

    Hi grldsndrs,
    Did you mean that you want to devleoping an VSTO add-in? As far as I know, it supports developing in Visual Studio 2013 and it is not relative to the operater system.
    You can get more detail about it from link below:
    Configuring a Computer to Develop Office Solutions
    Hopt it is helpful.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why no mobile apps for Photoshop for Android products?

    Why did Adobe only make mobile apps for Apple iPhone and iPad and not android for Photoshop CC and Lightroom?  I have an Android phone and pad and feel this is unjust as I pay for this service in my monthly bill: seems more than unfair and unjust to me. Is anything being done to correct this upside down situation?

    I have that App on my Android.  Unfortunately it doesn’t interact with Photoshop CC 2014 or Lightroom as the one Adobe made for the iPhone and iPad.  I wish it did.  Besides, we ARE paying for the use of an unusable app.  I, personally, feel like Adobe is being prejudice and I don’t like that.
    Sorry I don’t know how to answer this on the forums.  I looked but could not see anything or anyplace I could post.

  • Why are there virtually no mobile apps for the Android operating system?

    I am trying to find mobile apps for my android tablet. Why are there virtually no mobile apps for this system?

    Adobe's attitude is not only incredibly insulting and ignorant, it is also short-sighted, particularly considering the top android handsets would actually allow their apps to be more flexible and powerful as they have more RAM at their disposal and the very popular Galaxy Note series would be a perfect device with its integral stylus. This is not acceptable and makes me reconsider staying with my CC subscription. I guess it is time to start looking for adobe alternatives or at the very least demand a discount in our subscription as we are unable to use a large chunk of the subscription portfolio.

Maybe you are looking for

  • Hard Drive icon won't open and menu bar flashes off and on

    All of a sudden, in the middle of the day, my eMac went haywire. I can launch apps and docs are one the desktop. But I cannot open the Hard Drive icon. If I double-click on it (or used Command-O from keyboard), the icon won't open. And when I attempt

  • Input Error!!!

    Hi Guys, I am not completely clear if this is a problem in PC-UI or BSP, so am posting it here. On the Webpage that shows up of our PC-UI application, if I input, characters into a numeric field on a list view and if the row is empty. The row is lost

  • About Message ordering in reliable web services..

    Hi, I am new to WebServices and right now I am handling the reliability of the webservice. I want to know what exactly is message ordering? What the receiving RMP (Reliable Message Processor) should do if I send the message with the order of sequence

  • How do you edit Olympus E-600 RAW file so it opens in Lightroom?

    I have tried using '0xED' program to edit the file and change the name to E-620. I have tried altering the camera profile to rename it to E-620 but that also does not work. I know there is a workaround for editing the files on a Windows computer but

  • CommandButton type="button" generates a type="submit" (jsf 1.2)

    Hi, Migrating from JSF 1.1 to JSF 1.2.... My CommandButton with type="button" ends up to be an Input tag with a type=submit. I looked at the JSF 1.2 tag api and it only accepts Submit and Reset. Any idea how to have a commandButton that will not subm