10-25-2012 06:45 AM
I'm making an app target for iOS and Playbook that async loads some JPEG XR (.jxr) images (with
On iOS works perfectly fine but when I deploy it to the Playbook I get the message "Error #2124".
On my app.xml I have:
And on my compiler settings I have set:
-locale en_US -swf-version=13
I'm also including the jxr images on my packaging settings.
My Playbook is running OS 188.8.131.522 and my iPad is on iOS 6.0.
When I try the exact same code but for loading JPEG (.jpg) images, it works perfectly fine in both platforms.
So I suppose the AIR 3.1 runtime on the Playbook has a bug with JPEG XR images or it's a missing feature.
Anyone can advise?
Solved! Go to Solution.
10-25-2012 08:54 AM - edited 10-25-2012 09:22 AM
Thanks for the link jtegen. I'll try it soon and report back.
If anyone needs some JPEG XR, try these:
To view JPEX XR you can use XnViewMP (free cross platform).
I tried compiliing with -swf-version=11 and trying to view the SWF on the browser but nothing worked.
10-25-2012 09:35 AM - edited 10-25-2012 09:37 AM
**EDIT - We'll do what jdolce said below **
After doing some research I did find out that JXR support did come out as of AIR 3.0 (SWF version 13). You can still target swf-version=14 (AIR 3.1) and it should work just fine. More information on SWF versioning can be found here - http://www.bytearray.org/?p=4848
I found a sample online that demonstrates how to load JXR images here - http://www.scribd.com/doc/78501967/What-s-New-in-A
It starts at the bottom of page 11. Let me know if you have any success. If you don't I'll jump into some code and try for myself.
10-25-2012 09:35 AM
It would seem that jxr supported is turned off in our version of the runtime. It looks like it is tied to Stage3D for some reason. We are going to try and turn it on and do some tests to see what happens.
I know that doesn't help you know but we'll see if we can get it sorted out for future releases of PlayBook and BB10.
10-25-2012 11:12 AM
OK, finally we got to the bottom of this. And I must say it was really quick! This forum and the developers at RIM are awesome! Everybody replied to me on Twitter regarding this issue. I'm confident that I can rely on you guys for hunting down and solving any problems. This is for me a big reason for believing in BB10 #BB10Believe.
On the other hand, it's a bummer that this feature is not yet available on the Playbook's Air Runtime even though it's on the specs for Adobe Air 3.1 and Flash Player 11. I wonder what else is left out ... Well, I hope this thread will be useful for other developers that run into this but if you guys could add this info to the Release Notes#Know Issues it would be perfect.
Once again, thanks!