Tag Archives: open source

Detect Flash Player Version | Actionscript based detection method (as2)

looking for this in as3!? look no more Detect Flash Player Version | Actionscript based detection method (as3) Overview Recently I had a requirement that I had to detect which version of the flash player was currently installed. This is a normal thing, we do it all the time when embedding flash into html, we detect which [...]
Posted in tutorial | Also tagged , , , , | 6 Comments

Dynamic Flash Vertical Scrolling Link List with XML download at Flashden

Go get the source files at
Posted in portfolio | Also tagged , , , , , , , , , | 9 Comments

Distance Formula in Actionscript Tutorial | Pythagorean theorem

Overview To find the distance of any two points on an axis is easy, just subtract them. But what about when you have to find the distance of something not on the axis (a diagonal)? Find the distance between any two points with the Pythagorean theorem. This is an old problem we can look to history [...]
Posted in tutorial | Also tagged , , , , , , | 2 Comments

CSS and HTML WYSIWYG in Flash | Open Source Example

Overview: Using what I learned with the Actionscript Javascript Communication Tutorial, and pushing it a little further I’ve set up this example of how flash renders html and css. This is basically a wysiwyg (What you see is what you get) html editor! Natively flash only handles some html and css. Many people have enhanced [...]
Posted in portfolio | Also tagged , , , , , , , , | Leave a comment

City Skyline Test | Depth Study

Gives feel of perspective and depth by reacting to mouse movements. The effect is parallax, read more… The city images are very choppy and ugly, I know, it’s just a test.
Sample Actionscript. This in on one of the buildings which are separate movie clips. Adjust the equation for different effect. The [...]
Posted in portfolio | Also tagged , , , , , , | Leave a comment

Actionscript Javascript Communication | ExternalInterface call and addCallback Tutorial

Overview: Using ExternalInterface.addCallback() we can expose an actionscript function and make it available to javascript. This would be helpful to have your webpage with embedded flash communicate to your flash swf file and even control it with javascript! Say we wanted to have buttons in the html page that would control an object in the flash. [...]
Posted in tutorial | Also tagged , , , , , , , , | 36 Comments

Integrate Google Analytics with Flash | Tutorial

The results are in and the requested topic is “Integrate Google Analytics into Flash.” The poll has been reset and is ready to recieve your post requests, so keep voting! It’s located in the side bar! Overview: Tracking your visitors and attempting to better understand them is a large part of even having content on the web. [...]
Posted in tutorial | Also tagged , , , , , , , | 40 Comments

Customize the Right-click menu in Flash | ContextMenuItem Tutorial

Overview: Flash give publishers the opportunity to customize the right-click menu which pops up in the swf file with a context menu item in actionscript. ContextMenuItem 1ContextMenuItem(caption:String, callbackFunction:Function, [separatorBefore:Boolean], [enabled:Boolean], [visible:Boolean]) Creates a new ContextMenuItem object that can be added to the 1ContextMenu.customItems array. Steps: The menu item has a caption, which is displayed to the user in the right click menu. It [...]
Posted in tutorial | Also tagged , , , , , , , | 4 Comments