Looking for the AGALMiniAssembler from Adobe so you can explore Molehill? Perhaps you’re getting a compile-time error when trying to import com.adobe.utils.PerspectiveMatrix3D.
Thibault Imbert from Adobe posted the com.adobe.utils package in this blog post: http://www.bytearray.org/?p=2555
It contains these 3 classes:
- PerspectiveMatrix3D.as
- FractalGeometryGenerator.as
- AGALMiniAssembler.as
Here’s the direct link:
http://www.bytearray.org/wp-content/projects/agalassembler/com.zip
Over-The-Shoulder Quick Tip
Here’s how to capture a screenshot of various mobile devices while they are running:
iOS:
Press-and-hold the home button then while still holding the home button down press-and-release the sleep button. The screen will flash white and you’ll hear a snapshot sound. Tested on iPhone 3GS and iPad v1.
Android:
Only solution is with a connected computer. Use the Android SDK softwware while the device is attached to your computer. http://www.addictivetips.com/mobile/how-to-take-screenshots-of-android-device. Tested on Google Nexus One.
BlackBerry PlayBook:
Press the Volume Up and Volume Down buttons at the same time.
Over-The-Shoulder Quick Tips
Q: If you have a fullscreen SWF how do you prevent the display from returning to normal size display when the user presses the ESC key? An example case where this would be useful is pausing a fullscreen game and displaying an in-game menu.
A: I thought overriding the default behavior might pose a security risk, however it is not restricted. Listen for the associated keydown event for ESC and call preventDefault() on it. [Read More…]
When porting an old project for iPad, I wanted to measure the FPS using the popular Hi-ReS! Stats tool from Mr. Doob:
http://mrdoob.com/blog/post/582
I was unable to make the stats module show up. I confirmed that it existed on the display list by tracing from its update method, but it wasn’t being shown on the screen. After poking at it for a while I discovered that by drawing additional content into the graphics layer of the Stats object after it is initialized I was able to force it to be shown. There may be other solutions and this may be limited to my particular configuration, but if anyone encounters this, here’s a hack that works. Below are the 3 lines that I added after initializing the Stats object. Commenting-out the 3 lines and changing nothing else will cause the Stats object to disappear. I can’t explain why — the source code looks fine. [Read More…]
When an app is deactivated on iOS you can kill it instead of allowing it to continue running in the background (background running is the default behavior). Use the UIApplicationExitsOnSuspend property in the application configuration XML file:
<key>UIApplicationExitsOnSuspend</key>
<string>YES</string>
Adobe doc*
* please note the revised syntax and description from Holly Schinksy:
<key>UIApplicationExitsOnSuspend</key>
<true/>
http://devgirl.org/2011/06/24/exit-vs-suspend-your-ios-application/ [Read More…]

iOS developers trying to use the AIR 2.7 SDK have noticed that they’re unable to publish with the following combination of features: GPU/Fullscreen/Landscape mode. Adobe has updated the AIR 2.7 SDK release to fix the problem (users confirm it was fixed for iOS only), but there has not been an announcement about it nor is there any date on the AIR download page to suggest that the SDK has been updated. Get it here: http://www.adobe.com/products/air/sdk/ [Read More…]

The Roguish Mobile Performance Test Application has been released on 3 mobile platforms: iOS, BlackBerry PlayBook and Android. The app is designed to demonstrate the performance difference with various Flash development settings and techniques. I’ll update this post with more details about the app and performance test results.
The app was published with Flash Builder 4.5 and the AIR 2.7 overlay.
Below are the download links in the various app stores: [Read More…]
I recently encountered 2 problems when migrating an AIR Flash Builder 4.5 project from a Windows 7 machine to a Mac. Both problems were related to external File loading and manipulation. I was going to write about my discoveries and solutions, but then did a little searching and found that Oliver Goldman (Adobe) addressed both problems in separate posts. So, instead of my original plan for this post, I’ll make a condensed post and dedicate it to Oliver Goldman. You can be sure I’ll be spending some time digging through his archives, especially his AIR Tips category: http://blogs.adobe.com/simplicity/category/api-tips [Read More…]
My BlackBerry PlayBook arrived recently. Here’s a few first impressions, discoveries and comments about it. [Read More…]
The Problem: JVM Terminated
You are a Flash developer using Flash Builder and a Mac running OS X Leopard (10.5.x). You want to develop an app for the new BlackBerry PlayBook using Adobe AIR so you get everything you need from the BlackBerry site (http://us.blackberry.com/developers/tablet/adobe.jsp) and install it according to the instructions.
Once you have the BlackBerry SDK installed, VMWare installed and running the BlackBarry virtual machine simulator you’re all ready to head over to Flash Builder to output your AIR project to try it in the Simulator. To your surprise, Flash Builder won’t launch! [Read More…]