RSS

Monthly Archives: March 2011

iOS features in Adobe AIR 2.6

Almost a year ago, Adobe stopped development on AIR for iOS due to a change in Apple’s developer program license. Instead, we began focusing very heavily on Android. The result was AIR 2.5 which brought not only most of the existing AIR APIs to Android devices, but several new APIs, as well. When Apple removed the restrictions late last year, we were therefore in the very strange position of having our iOS and Android versions of AIR almost a full version out of sync.

readmore..

 

 

Advertisements
 

Adobe Air 2.6 with Flash CS5

Download Adobe air 2.6
http://www.adobe.com/products/air/sdk/

 

Setting Up Flash CS5

1. replace Program FIles\Adobe\Adobe Flash CS5\Common\Configuration\ActionScript 3.0\AIR2.0\airglobal.swc with the airglobal.swc in the AdobeAIRSDK\frameworks\libs\air folder of the AIR 2.6 SDK zip file (AdobeAIRSDK.zip)

This lets you compile with the new SDK and use all the new API for camera roll, microphone, etc.

2. replace Program Files\Adobe\Adobe Flash CS5\AIK2.0 with the AdobeAIRSDK folder in the zip file (AdobeAIRSDK.zip) you downloaded from Adobe.

now you can do a test movie in Flash CS5 and it will use the new ADL for testing in Flash (finally works with landscape!).

Publishing

for publishing, unfortunately you cant use the built-in publish for iOS. i wrote this batch file and use it (also you can write an ant task if you use FDT/Flash Builder). This is for windows 64bit…

“C:\Program Files (x86)\Java\jre6\bin\java” -jar C:\AdobeAIRSDK\lib\adt.jar -package -target ipa-ad-hoc -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png

i have a 64bit system so i had to specify the 32 bit JRE and use the ADT jar for packaging. now i just double-click the batch file and it compiles for iOS.

Original Post >>  http://forums.adobe.com/thread/826939?tstart=0

 
2 Comments

Posted by on March 25, 2011 in Android, flash, iPhone, Mobile Technology

 

papervision3d and augmented reality with flartoolkit

http://blog.papervision3d.org/2009/01/07/augmented-reality-with-flartoolkit

 
Leave a comment

Posted by on March 21, 2011 in papervision3d

 

papervision3d showcase

http://www.papervisionshowcase.com/

http://dailypv3d.wordpress.com/

 
Leave a comment

Posted by on March 21, 2011 in papervision3d

 

papervision3d help

http://papervision3d.googlecode.com/svn/trunk/as3/trunk/docs/index.html

 
Leave a comment

Posted by on March 21, 2011 in papervision3d

 

Adobe flash Action script 2 undocumented tween class

function tweenBall(mc,begain,end) {
easeType = mx.transitions.easing.Bounce.easeOut;
//var begin = 20;
//var end = 380;
var time = .5;
//var mc = ball_mc;
ballTween = new mx.transitions.Tween(mc, “_x”, easeType, begin, end, time, true);
}

tweenBall(ball_mc,20,380);


Click here for more detail.

 
Leave a comment

Posted by on March 21, 2011 in flash

 

Molehill API Tutorial

 

http://blog.digital-glue.com/2010/11/molehill-api-tutorial/

 
Leave a comment

Posted by on March 18, 2011 in flash