03-29-2011 01:30 PM - edited 03-29-2011 01:36 PM
here is my test splash screen, sized at 1024 x 600 @ 72 PPI, screenshot from Photoshop CS5.
here is my blackberry-tablet.xml file
<qnx> <publisher>MYNAME</publisher> <category>core.media</category> <splashscreen>TestSplashScreen.jpg</splashscreen> <icon> <image>TestIcon.png</image> </icon> </qnx>
here is my app-xml file
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <application xmlns="http://ns.adobe.com/air/application/2.5"> <id>com.test.whatever</id> <versionNumber>1.0.0</versionNumber> <filename>Test</filename> <description>Test</description> <name>Test</name> <copyright>2011</copyright> <initialWindow> <content>Test.swf</content> <autoOrients>false</autoOrients> <aspectRatio>landscape</aspectRatio> </initialWindow> </application>
here is my application metadata tag:
[SWF(width="1024", height="600", frameRate="60", backgroundColor="#000000")]
and i've also set some stage properties in code during launch:
stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT;
here is my app launching in the simulator 0.9.4
so, what's the problem?
Solved! Go to Solution.
03-29-2011 01:50 PM
03-29-2011 02:09 PM
04-01-2011 12:32 PM - edited 04-01-2011 12:33 PM
very odd. last night, while scrambling to sign and submit my application on time, i decided to uninstall all of my builds on the simulator and reinstall. once done, the splash screen was once again stretched, even with a non-interlaced .png file.
in fact, i removed the splash screen all together and noticed that the standard splash screen was also stretched! wtf?! of course the dimensions of my application were perfectly fine. only the splash screen was affected.
i wasn't able to solve the mystery before submitting my application - so it's submitted with a stretched splash screen - assuming it's not factors of my own development environment causing the error.
has anyone else tried using interlaced .jpg files for the splash screen to see if that is indeed at least one cause for stretching of the splash screen?
04-07-2011 02:53 PM
and now it works again. i guess the issue was a simulator glitch or legacy cache reference. restarting the simulator a few times seemed to solve this last issue.