RSS

Category Archives: Flash Platform

Flash Player 11 and AIR 3 Now Available

Flash Player 11 and AIR 3 are now available for download.

For additional information including detailed information on new features, please see this release notes.


http://blogs.adobe.com/flashruntimereleases/2011/10/04/flash-player-11-and-air-3-now-available/

Advertisements
 

How to use Flash Player 11 & AIR 3 with Flash Professional CS5.5

Issue : VerifyError: Error #1014: La classe flash.display3D::Context3D could not be found.

Stage3D will work with web browser. For remove this above issue, set  wmode=”DIRECT” in HTML 

—————————————————————-

Download Adobe AIR 3 SDK from here 

Download the PlayerGlobal.swc to target the 11.0 APIs(for FlashPlayer 11) from here

http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/playerglobal11_0.swc


Targeting Adobe Flash Player 11 Release Candidate for Desktops.

1.- Download the Flash Player 11 Release Candidate.
First things first go to the Adobe Labs site and download the Adobe Flash Player 11 Release Candidate for Desktops. Download the proper player for Your system ( Is important that You download and install the runtime on Your browser otherwise you won’t be able to test your SWFs as there is no Standalone RC1 version). You need to download the Flash Player 11 Release Candidate Global SWC “playerglobal.swc” as well.

2.- Once You installed Flash Player in the browser and renamed the swc file from flashplayer11_rc1_playerglobal_090611 to “playerglobal.swc” go to “/Applications/Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0″ and create a new folder i named mine FP11_RC1 and copy your playerglobal.swc file inside the folder you just created.

3.- Now You need a new player profile so You can choose the Flash Player 11 RC1 from the available player versions when working with Flash, go to “ /Applications/Adobe Flash CS5.5/Common/Configuration/Players/”  duplicate the FlashPlayer10_2 2.xml and give it a new name to the file You just copy I named mine FlashPlayer11_RC1.xml.

4.- Open that file in a text editor and change the id and version in the player tag for id give it the name You wish to be displayed in the Player panel inside of Flash I named mine “FlashPlayer11_RC1″ and change the version to “13″.

6.- Save the file open Flash CS5.5 and You’re good to go.

Targeting Adobe AIR 3 Release Candidate.

1.- Download the AIR 3.0 Release Candidate.
First thing You need is the Adobe AIR 3 SDK Release Candidate.

2.- Unzip Your AIR SDK if You’re on Mac the file will be named ” air3_rc1_sdk_mac_090611.tbz2″

3.- Close Flash Professional CS5.5 and browse o the AIR 2.6 folder, on Mac it will be in the following location
“/Applications/Adobe Flash CS5.5”

4.- Change the AIR2.6 folder name to something like AIR2.6_old.

5.- Rename the folder You previously unzipped to AIR2.6 and place it on the Flash Professional CS5.5 folder “/Applications/Adobe Flash CS5.5”.

6.- Browse to the AIR2.6/frameworks/libs/air/ folder and copy the airglobal.swc.

7.- Paste the SWC file in the folder “/Applications/Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR2.6” it wil replace your copy of  the airglobal.swf file.

8.- Browse to the “/Applications/Adobe Flash CS5.5/Common/Configuration/Players” folder and open the following files with a text editor:  AdobeAIR2_6.xml, AiriPhone.xml, or Android.xml.

9.- Change the version attribute in the player tag from 11 to 13 and save the files:

On the Android xml file: <player id="android_0" version="13" asversion="3" minasversion="3"></player>

On the AdobeAIR2_6 xml file: <player id="AdobeAIR2_6" version="13" asversion="3" minasversion="3"></player>

10.- Browse to the “/Applications/Adobe Flash CS5.5/AIR2.6/samples/” and open the descriptor-sample.xml file.

11.- Change the “http://ns.adobe.com/air/application/2.6&#8221; namespace URL to “http://ns.adobe.com/air/application/3.0&#8221;.

<application xmlns="http://ns.adobe.com/air/application/3.0" minimumpatchlevel="0"></application>

12.- Save the file and open Flash.

—————–

Testing time: Click Here for Read More

 

flash.media.Microphone

import flash.media.Microphone;
import flash.events.ActivityEvent;
import flash.events.Event;
//import mx.controls.Alert;
import flash.events.StatusEvent;

var mic:Microphone;
createMic();

function createMic():void
{
	mic = Microphone.getMicrophone();
	mic.setLoopBack(true);
	mic.addEventListener(ActivityEvent.ACTIVITY, activity);
	mic.addEventListener(StatusEvent.STATUS, status);
	mic.addEventListener(Event.ACTIVATE, active);
}

function active(event:Event):void
{
	trace('active');
}

function status(event:StatusEvent):void
{
	trace("status");
}

function activity(event:ActivityEvent):void
{
	addEventListener(Event.ENTER_FRAME, showMicLevel);
}

function showMicLevel(event:Event):void
{
	//trace(mic.gain+" "+mic.activityLevel+" "+mic.silenceLevel+" "+mic.rate);
	//trace(mic.gain+" "+mic.activityLevel+" "+mic.silenceLevel+" "+mic.rate);
	if(mic.activityLevel>50){
		trace(mic.gain+" "+mic.activityLevel+" "+mic.silenceLevel+" "+mic.rate);
	}
	this.graphics.clear();
	this.graphics.beginFill(0xccccff, 1);
	this.graphics.drawRect(0, 0, (mic.activityLevel * 30), 100);
	this.graphics.endFill();
}
Read More
 

Mobile application development with flex

With the rapid evolution of mobile computing platforms, new challenges have emerged for application developers. Much like the early days of web and desktop computing, each platform has its own development model, including programming language, framework, tools, and different deployment options. These challenges add time, cost, and complexity to delivering applications across the web, the desktop, and the many mobile device platforms.

Mobile web components

Tooling for mobile development

Mobile platform support

Building applications for Google Android

Building applications for Apple iOS

Building applications for BlackBerry Tablet OS

Read More

 

All About Flash Platform

The Adobe® Flash® Platform is an integrated set of application programming technologies surrounded by an established ecosystem of support programs, business partners, and enthusiastic user communities. Together, they provide everything you need to create and deliver compelling applications, content, and video to the widest possible audience across screens and devices.

FLASH PLATFORM TECHNOLOGIES