Adobe Flash Professional Team Blog

The latest news, tips and insights directly from the Flash team



Jan 7, 2015/Animation, General/

Tip: Audio synchronization settings in Flash

Question: The sound clip continues to play till the end even after the movie has ended. How can I stop the sound along with the image?

Answer: If the sound is embedded in the timeline, select the keyframe on which the sound starts and then, in the Properties window, set the Sync property for the selected sound to “Stream.”

Here is a complete list of synchronization settings in Flash for your reference:

Event: Synchronizes the sound to the occurrence of an event. An event sound plays when its starting keyframe first appears and the plays in its entirety, independently of the playhead in the Timeline, even if the SWF file stops playing.

Start: The same as Event, except that if the sound is already playing, no new instance of the sound plays.

Stop: Silences the specified sound.

Stream: Synchronizes the sound for playing on a website. Flash Professional forces animation to keep pace with stream sounds. If Flash Professional can’t draw animation frames quickly enough, it skips frames. Unlike event sounds, stream sounds stop if the SWF file stops playing. Also, a stream sound can never play longer than the length of the frames it occupies.

Note: Stream setting is not supported in WebGL and HTML5 Canvas documents.

For a detailed help article on the topic, see Using sounds in Flash

Dec 18, 2013/ActionScript, Animation, HTML5, Introduction, Toolkit for CreateJS/

Creating HTML5 Canvas | Reusing ActionScript 3.0 assets | Flash Pro CC – Part 2

This post in the 2nd and last of the two-part series of Converting and reusing ActionScript 3.0 assets in an HTML5 Canvas document.


In my previous post, we learned how to run the JSFL script (Commands > Convert to HTML5 Canvas AS3 document formats) to convert legacy ActionScript 3.0 assets and reuse them in an HTML5 Canvas document. We also examined the conversions that were applied on each of layers and objects within the AS3.0 file.

Did you observe?

If you read through the previous post entirely, you must have wondered why the Tap to Jump button in the HTML5 animation wouldn’t work (unlike the SWF where it worked). Like I explained in my previous post, during the conversion ActionScript code is commented out. So, as a final step of the conversion process, we will replace the ActionScript code with equivalent JavaScript. You will be happy to know that Flash Pro CC fully supports JavaScript coding, with additional code-hinting and auto-format features.

Frames 114, 141, 142, & 278

These frames contained fully-functional ActionScript code in the original Banner.fla file, which was commented out during the conversion. Let us pick each of these frames individually and add equivalent JavaScript code for the same:

  1. Go to Frame 114, and select the keyframe on the Code layer.
  2. Press F9 or select Window > Actions to bring up the Actions Panel. You will see the ActionScript code is commented out.
  3. From the table below, copy the JavaScript code below copy the JavaScript code below the AS code and close the Actions Panel.
  4. Similarly, add JavaScript code for frames 141, 142, and 278, as well.
Frame number ActionScript Code Equivalent JavaScript Code

var self = this;this.btnJump.onClick = function() {self.gotoAndPlay(“endWait”);}

var self = this;this.stop();this.btnJump.addEventListener(‘click’, onClickJump);function onClickJump() {self.gotoAndPlay(“endWait”);







this.instance.removeEventListener(“click”, onClickJump);


import;btnPlay.addEventListener(MouseEvent.CLICK, onClickEnd);function onClickEnd(pEvent : MouseEvent) : void {navigateToURL(new URLRequest(“”),”_blank”);}


this.stop();stage.onClick = function() {“”, “_blank”);}

And finally…

Publish (Ctrl+Enter on Windows and Command + Enter on MAC) the HTML5 Canvas document again to see the fully functional animation running smoothly on your default browser.

Video tutorial

I created this video tutorial to make it easier for you to understand the conversion process:

Sep 3, 2012/Animation, Flash Professional CS6, General, Toolkit for CreateJS/

Atari and Adobe Flash Professional

Important Note: Toolkit for CreateJS has now been replaced with HTML5.

It is highly unlikely that you are reading this blog post and have not played an Atari game ever before. For gamers, passionate or otherwise, casual or obsessive, skilled or talented, Atari games would have been one of the common starting points for developing gaming acumen. Do you know that Atari is taking its historic games to the mobile platform across multiple screens? Empowered by CreateJS libraries, Atari will deliver its games targeting the HTML5 platform to ensure compatibility across multiple mobile platforms and screens. For more information, watch this video.

The project involved creating multitudes of animated assets to create touch-friendly games with rich content. Yes, you guessed it right, Flash Professional CS6 along with the Toolkit for CreateJS extension and some custom JSFL was used to carry out this mammoth task of preparing assets. To know more about Toolkit for CreateJS, see this DevNet article. Also, visit to know more about Grant Skinner, creator of CreateJS and a prime contributor to the Atari HTML5 project.

Aug 22, 2012/ActionScript, Animation, Flash Player, Flash Professional CS6, Gaming, General, Introduction, Video, XFL/

Announcing Flash Professional CS6 updater, coming this September!

Come September and you will see some exciting new features added to Flash Professional CS6 along with several critical bug fixes. By extending support for Flash Player 11.4 and AIR 3.4, Flash Professional CS6 will now have the following new features added to its powerful armory:

  • Support for native iOS Simulator (Mac Only)
  • Direct deployment of AIR for iOS applications to iDevices (bypassing iTunes)
  • iPad retina high-resolution support

As mentioned earlier, the update will also contain several critical bug fixes along with the new features and it is recommended that you install the update when it will be made available. For more information, see Flash Player Blog.

Until September then, wait with that baited breath!