Quickie

AS3 Quickie – drawWithQuality()

Since Flash Player 9, we’ve been able to use the BitmapData.draw() method in order to capture visual data from a display object. The major limitation of using this method, is that it will render the visual at the stage quality with which the swf has been embedded/compiled. One trick to get around this is to […]

AS3 Quickie – drawWithQuality() Read More »

AS3 Quickie – Native Mouse Cursors

We’re looking all the way back to Flash Player 10.2 for a peek at native mouse cursor support! This feature allows us to use bitmap based mouse cursors that run at the OS level rather than inside the display list in Flash Player. Huge performance gains! [kml_flashembed publishmethod=”static” fversion=”10.2.0″ movie=”/wp-content/uploads/2012/07/NativeCursor.swf” width=”550″ height=”400″ targetclass=”flashmovie” play=”true” loop=”true”

AS3 Quickie – Native Mouse Cursors Read More »

AS3 Quickie – Removing the right-click menu from Flash content

One of the great new features introduced with Flash Player 11.2 is the ability to intercept the right-click from a user’s mouse. A simple MouseEvent listener can be added to the Stage or any object which extends flash.display.InteractiveObject. Not only does this have the effect of completely removing the right-click menu from Flash content, but

AS3 Quickie – Removing the right-click menu from Flash content Read More »

Creating Custom Context Menus in Flash

The assets for my 5 minute quick tip talk for the 2011 Adobe Education Leader Institute are located here. This is the completed example (Flash Professional CS5.5): [download AEL2011_FlashContextMenu] Here is an image preview: Here is the SWF: [SWF]https://inflagrantedelicto.memoryspiral.com/wp-content/uploads/2011/07/contextmenu.swf, 350, 300[/SWF] And here be the code bits! package { import flash.display.Sprite; import flash.ui.ContextMenu; import flash.ui.ContextMenuItem;

Creating Custom Context Menus in Flash Read More »