UPDATE: there’s a newer post about this same thing (actionscript javascript communication – but in as3)! I encourage you to check it out! 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 [...]
Tag Archives: open source
Actionscript Javascript Communication | ExternalInterface call and addCallback Tutorial
Posted in tutorial Also tagged actionscript, as2, download, flash, html, interactive, javascript, tutorial, web design 64 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 [...]
Posted in tutorial Also tagged actionscript, analytics, as2, download, flash, interactive, javascript, tutorial 52 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 ContextMenuItem(caption:String, callbackFunction:Function, [separatorBefore:Boolean], [enabled:Boolean], [visible:Boolean]) Creates a new ContextMenuItem object that can be added to the ContextMenu.customItems array. Steps: The menu item has a caption, which is displayed to [...]
Posted in tutorial Also tagged actionscript, as2, download, experiment, flash, interactive, tutorial, web design 5 Comments
Get current url to Flash swf using an External Interface call
Update: please see the newer tut talking about getting the current url with as3 Overview: Many have struggled with the task of getting you swf to read or get the current url showing in the browser, the html page the browser is at which has the swf embedded. Not to be confused with the _root._url [...]
Posted in tutorial Also tagged actionscript, as2, download, flash, html, javascript, tutorial 40 Comments
PHP Menu Include function to reuse an html block on multiple pages
Overview: When making websites frequently we want a navigation bar or menu to show on every page. Rather than repeating the code on every single page, which is virtually impossible to update and maintain, or worse, using frames, use PHP to automate this and build each page dynamically. PHP will just paste in the navigation [...]
NavBar Menu List with CSS

The Overview: An interactive navigation bar using CSS with rounded corners. Just put the html as an unordered list and your navigation links as list items and the CSS will do the rest! As shown here! The css will tell the browser to display this special unordered list as the menu. This utilizes a technique [...]
Posted in tutorial Also tagged css, dreamweaver, html, interactive, tutorial, web design, website 1 Comment
Dynamic Flash Vertical Scrolling Link List with XML
As seen at activeden. I’ve fixed it up a lot and made it much easier to incorporate into your own files. A link list. Vertically scrolling list of links or just words. Scrolls and wraps automatically and interactively. Reads an external XML file containing just titles and paths and creates an interactive click-able link list! [...]
Posted in portfolio Also tagged actionscript, animation, as2, download, experiment, flash, flashDen, interactive, xml 12 Comments
Rollover elastic bounce rezise
Flash experiment that could be used for navigation. Rollover each area and watch them all resize themself to accomodate the growing box. It’s pretty fun to play with. Example
I’m sure there is a way to simplify the code, but this worked so there was no need. [...]Posted in portfolio Also tagged abstract, actionscript, animation, as2, color, experiment, flash, interactive 4 Comments
Dynamic Scrolling Buttons
Posted in portfolio, tutorial Also tagged actionscript, as2, download, experiment, flash, interactive, tutorial 13 Comments












Bruce Brownlee