Flash Player Backpack!

WOW! I was reading bytearray.org today,

and was stoked to see that he will be the new flash platform manerger, but this packback with the flash player, I have to have one!

You can read about this over on the byte array blog,
and of course you course you can see this great graphic too!

Flash Player 12 & Adobe AIR 4 are now in beta

Flash Player 12 beta is ready for download – http://labs.adobe.com/downloads/flashplayer.html

Adobe AIR 4  beta is ready for download – http://labs.adobe.com/technologies/flashruntimes/air/

The new betas are code-named “Jones“. With this release, we introduce a new numbering scheme for our product versions, we will simply update the major version number with each subsequent release, doing away with minor releases altogether. In other words, beginning with the release of “Jones“, Flash Player will become Flash Player 12. With each new release, roughly every 3 months, that number will increase by one.

To use the new Flash Player, you will need to target SWF version 23

 

New and Updated Features

  • Mac .pkg Installation Support – Deploying Flash Player and keeping it up to date is a critical task for system administrators worldwide.In Flash Player 11.9 we added .pkg support for ease of deployment. In Flash Player 12 we’ve incorporated public beta feedback fromsystem administrators to improve the workflow and UI.
  • Internet Explorer 11 on Windows 7 Support – Microsoft has released IE 11 on Windows 7 and we plan to officially support this in Flash  Player 12
  • Safe Mode in Safari 6.1 and higher – Safari 6.1 includes an updated version of Safari with Safe Mode, which implements new securityrestrictions on the operation of browser plug-ins. To the extent possible, we’ve adapted Flash Player to transparently handle these changes. A small number of behaviors will change in the context of Safe Mode and are explained in the Known Issues section below.
  • 64-Bit PPAPI Flash Player for Chrome – We’d like to encourage those interested in 64-bit Flash Player for Chrome to please downloadthe latest build available in the Chrome Canary Channel.
  • Graphics: Buffer Usage flag for Stage3D – We’ve added a new enum Class called Context3DBufferUsage which defines twoconstants, STATIC_DRAW (default) and DYNAMIC_DRAW. These constants specify how buffers will be used in Stage3D. We’ve alsoadded a new parameter, called “bufferUsage”, to the constructors of VertexBuffer and IndexBuffer. This “bufferUsage” parameter uses one of the constants form Context3DBufferUsage one of the constants form Context3DBufferUsage, which will allow you to select the appropriate buffer type according to your needs.
  • Android Workers – Introduced as a beta feature in AIR 3.9, we’re continuing to improve this feature based on your feedback inpreperation for an official release in AIR 4.

Flash Player 11.9 Beta

A new beta version of Adobe’s Flash Player is now available for Mac and Windows with a particular emphasis on OS X, featuring support for Mavericks and Mac .pkg installations.

Currently in beta, the new Adobe Flash Player 11.9.900.85 has been “tested against the latest developer releases of OS X 10.9 […] ensuring that Flash Player continues to perform as expected,” according to Adobe Systems.

With the new beta, Flash can now be installed via a .pkg (package) installer native to Macintosh platforms.

Adobe says the reason behind this move is to make deploying and updating Flash Player an easier task for system administrators worldwide.

“We’re introducing a new .pkg installer format for our distribution partners so we can reduce their workload by allowing them to deploy Flash Player for Mac using their current tools and environments,” according to the company.

On Windows platforms, the same update delivers only “new features for browser-based viewing of expressive content.”

Flash Player 11.9 Features

This beta release provides access to the Flash Player 11.9 runtime for Windows and Mac OS.

Below are some of the key features and benefits of Flash Player 11.9:

Mac OS 10.9 Support – We have tested against the latest developer releases of OS X 10.9 and are ensuring that Flash Player continues to perform as expected.

Mac .pkg Installation Support – Deploying Flash Player and keeping it up to date is a critical task for system administrators worldwide. We’re introducing a new .pkg installer format for our distribution partners so we can reduce their workload by allowing them to deploy Flash Player for Mac using their current tools and environments.

Download Flash Player 11.9

swf-version meaning

Flash -swf-version meaning

It’s getting more and more versions! We can’t remember them all, so here we go!

SWF Version

Compiler Option Flash Player Version AIR version
-swf-version=10 10.1 2.0
-swf-version=11 10.2 2.6
-swf-version=12 10.3 2.7
-swf-version=13 11.0 3
-swf-version=14 11.1 3.1
-swf-version=15 11.2 3.2
-swf-version=16 11.3 3.3
-swf-version=17 11.4 3.4
-swf-version=18 11.5 3.5
-swf-version=19 11.6 3.6
-swf-version=20 11.7 3.7
-swf-version=21 11.8 3.8
-swf-version=22 11.9 3.9

 

AIR SDK Path

  • MacOS : /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.348297/AIRSDK

Features

Release notes

Download Flash Player

Download AIR

Labs

Document

swf-version meaning

Flash -swf-version meaning

It’s getting more and more versions! We can’t remember them all, so here we go!

SWF Version

Compiler Option Flash Player Version AIR version
-swf-version=9 9.0.115.0 N/A
-swf-version=10 10.0, 10.1 1.5, 2.0
-swf-version=11 10.2 2.6
-swf-version=12 10.3 2.7
-swf-version=13 11.0 3
-swf-version=14 11.1 3.1
-swf-version=15 11.2 3.2
-swf-version=16 11.3 3.3
-swf-version=17 11.4 3.4
-swf-version=18 11.5 3.5
-swf-version=19 11.6 3.6
-swf-version=20 11.7 3.7
-swf-version=21 11.8 3.8

 

AIR SDK Path

  • MacOS : /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.348297/AIRSDK

Features

Release notes

Download Flash Player

Download AIR

Labs

Document

Flash Professional CC Update 1

Today there is a new update to Flash Professional CC (13.0.1). You can receive these updates through the creative cloud desktop application. I have not tried to get the updates through the update in the Flash IDE, but I am sure that will work as well.

Some of the new bug fixes in this update

Flash Professional CC 13.0.1 Update contains important bugs fixes. The following is a list of all bugs fixed in this update:

[Reference #3590263]: The Welcome Screen fails to load on launching Flash CC. And also, Flash CC crashes on creating a document, if FlashFirebug add-on is enabled for Mozilla Firefox. Due to this, the Test Movie window does not load.
[Reference #3597140]: Frame scripts added, modified, and saved to a movieclip is lost on closing a reopened document.
[Reference #3606259]: Flash straightens the first curve drawn using a Wacom tablet.
[Reference #3603351]: “Cannot load scene into memory” on opening a saved file whose publish settings has duplicate profile entries.
[Reference #3588521]: Flash CC freezes on closing, intermittently. It is strongly recommended that you download and install this patch from Microsoft.
[Reference #3594685, #3592211, #3598994]: Memory corruption issues when working with Timeline and Sprite sheets.
[Reference #3585379]: Flash CC freezes when zooming-in on a large canvas, with filters applied for objects on stage.
[Reference #3549614]: Flash CC crashes on setting some specific fonts in code editor preferences.
[Reference #3427773]: Flash CC crashes on exporting images and SWF files on Mac 10.6.

Typewriter Text Effect with AS3

1. Create a new flash file (Actionscript 3.0) and save it as typewriter.fla.

2. Rename “layer 1″ to “actions”. Open the actions panel.
Declare the following variables:

var myText:String;
var counter:int = 0;

3. Create a TextFormat object in order to format our text.

var format : TextFormat = new TextFormat();
format.size = 16;
format.font = "Verdana";
format.bold = true;
format.color = 0xFFFFFF;

4. Create a TextField, set its properties as follow and add it to the display list.

var textField : TextField = new TextField();
textField.width = 600;
textField.height = 350;
textField.selectable = false;
textField.wordWrap = true;
textField.defaultTextFormat = format;
textField.x = textField.y =10;
addChild(textField);

5. Next create an initText function that set the “myText” variable to the string passed as argument. Also add an ENTER_FRAME event listener.

function initText(string:String):void{
   myText = string;
   addEventListener(Event.ENTER_FRAME, writeText);
}

6. The writeText function checks whether the counter variable is inferior or equal to the length of “myText”.
While it’s true, we use the substr method that returns a substring consisting of the characters that start at index 0 and with a length specified by counter. When it becomes false, we remove the ENTER_FRAME listener.

function writeText(e:Event):void{
   if (counter <= myText.length){
           textField.text = myText.substr(0,counter);
           counter++;
   }
   else{
      removeEventListener(Event.ENTER_FRAME,writeText);
   }
}

7. The text to be display is stored inside a text file. So create your text file, type your own text and save it as text.txt inside the same directory of your fla file. Then load the file. When the load is complete, it simply calls the initText function.

var textLoader:URLLoader = new URLLoader(new URLRequest("text.txt"));
textLoader.addEventListener(Event.COMPLETE, function(e:Event){initText(e.target.data);});

8. Here’s the final code, test your movie to see in action.

var myText:String;
var counter:int = 0;

var format : TextFormat = new TextFormat();
format.size = 16;
format.font = "Verdana";
format.bold = true;
format.color = 0xFFFFFF;

var textField : TextField = new TextField();
textField.width = 600;
textField.height = 350;
textField.selectable = false;
textField.wordWrap = true;
textField.defaultTextFormat = format;
textField.x = textField.y =10;
addChild(textField);

var textLoader:URLLoader = new URLLoader(new URLRequest("text.txt"));
textLoader.addEventListener(Event.COMPLETE, function(e:Event){initText(e.target.data);});

function initText(string:String):void{
   myText = string;
   addEventListener(Event.ENTER_FRAME, writeText);
}

function writeText(e:Event):void{
   if (counter <= myText.length){
           textField.text = myText.substr(0,counter);
           counter++;
   }
   else{
      removeEventListener(Event.ENTER_FRAME,writeText);
   }
}

To Download right-click, and save to your computer.

download_btn

Adobe Community Professional

I am honored to find out this past week that I have been chosen as a Adobe Community Professional (ACP) for 2013!

Adobe Community Professionals are a small worldwide team of highly skilled users from across the whole range of Adobe products, who contribute at high levels to supporting Adobe software users. I hope to continue to earn this going forward by continuing to provide you with useful Flash tutorials, video series, and more!

This means that you can expect a lot more Flash information from me this year. I plan to bring you new updates on advancing technologies via the blog, present more at area groups and lend my insight to publications.

This will be my first time being an ACP and I hope that I can give back to the Adobe Community for many years to come. I truly enjoy working with Adobe, as I have been a User Group Manager since 2009 and I love it. My hopes are to continue to continue promoting the Flash Platform, and to show why as the best choice for interactive websites, Multimedia, Games, etc.

My plans are to continue managing the Hawaii Flash User Group, speak at other user groups, as well as conferences (I am hosting & speaking at the Flash Camp Hawaii in about a week) and to contribute on the forms. Also, Please feel free to contact me with your Flash questions.

Adobe roadmap for the Flash runtimes

Say Hello to “Irving” and  “Jones” and Flash Player releases!

Flash Player and AIR “Irving” and “Jones”

Adobe is planning its next two releases for late 2013 and early 2014. These releases continue to focus on premium video, gaming, security, and stability.

Some of the features being worked on for these releases include the following:

  • OSX Mavericks support for desktop Flash Player and AIR
  • Significant reduction in iOS packaging times
  • ActionScript concurrency for mobile (beta)
  • iOS 7 support (depends upon Apple schedule)
  • Support for Windows 8.1 PlayTo
  • Support for Windows 8.1 tab suspension improvements
  • Support for Windows Internet Explorer 11 back navigation caching
  • XXHDPI icon support for AIR Android
  • pkg installer bundle for Mac OSX (vs .dmg)

Read more on Adobe’s site about the Flash Runtimes Roadmap – http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

 

Wrong wmode value in Starling

A common issue that occurs when you have not set the wmode attribute in the HTML page is the following message “This application is not correctly embedded (wrong wmode value)”.

The solution is very simple. Set the wmode attribute in the HTML to “direct”. I have included my HTML code below as an example. I have embedded the swf using the swfobject. In the Starling framework in order for Stage 3D and GPU acceleration to work the wmode must to be set to direct. If it is not set to direct you may get a runtime exception when you compile the swf. You will most likely get the Error 3707: Context3D not available.

<!DOCTYPE HTML>
<head>

 <title>Wrong wmode value in Starling</title>

 <script src="swfobject.js"></script> 

 <script>

  var flashvars ={};
  var params = {};
  var attributes = { wmode:"direct" };

  swfobject.embedSWF("main.swf", "flashContent", "550", "400", "11", false, flashvars, params, attributes);

 </script> 

</head> 

<body> 
 <div id="flashContent"></div>
</body> 

</html>