03-13-2011 12:34 PM - edited 03-13-2011 12:36 PM
Hello, I am using FlashDevelop as my IDE and FruitBat (by studiochris) to package and install my application onto the simulator. When I have tested my application in FlashBuilder everything worked. Now all I see is the icon of my application on the screen in the simulator. If the icon is clicked my splash screen appears. Once the splash screen is done, I get a blank screen - no application. What is wrong?
I don't think anything in my SWF is corrupted.. what could be the issue?
*Note the simulator is 0.9.2
Here is an image of what I get after the splash screen:
03-13-2011 05:08 PM
1) Set your application background to transparent=false (in -app.xml)
2) Did you include this command at the end of your main class:
stage.nativeWindow.visible = true;
03-13-2011 05:34 PM
Did you build your app as a release or a debug build?
You can unzip your .bar file and check the Entry Point Type in your manifest file to confirm.
If you installed a debug version onto the simulator and are launching it via clicking the icon, it
might be timing out waiting to connect to a debugger that is not there.
03-13-2011 07:47 PM
I know you're having this problem with the 0.9.2 simulator but I had the same thing happen in one of my apps after I upgraded to 0.9.3. If I minimized the app it would just show the shadow with the exit button. I found the problem was with sound. After I commented out the sound everything else worked.
03-15-2011 08:10 PM
With single-line comments.
// var sound = new Sound(new URLRequest('assets/sounds/secrets.mp3'));
// var scoundChannel = s.play();
// sc.soundTransform = new SoundTransform(1, 0);
03-15-2011 08:21 PM
Sorry I should have worded that question better, where did you comment the sound out? After seeing your latest response I assume this was in your application, and not in some sort of config build file?