|
Call Javascript function from Actionscript 3
In this quick tip I will use the ExternalInterface class to call a Javascript function using Actionscript 3. The ExternalInterface class enables communication between Actionscript and the SWF file... Copyright © 2011 ilike2flash. This Feed is for personal non-commercial use… Read More |
|
Flex / ActionScript 3 : Problem with ExternalInterface.addCallback
I'm adding some functionality to an existing Flex project that requires cross talk between ActionScript and Javascript. Reaching from ActionScript to Javascript is pretty easy. This can be done with the ExternalInterface.call. Calling from Javascript to ActionScript was a little… Read More |
|
Accessing the Same Saved Data With Separate Flash and JavaScript Apps
In this tutorial I will show you how to access the same saved data in separate Flash and JavaScript apps, by storing it in HTML5 LocalStorage and using ExternalInterface to reach it with AS3. We will create the same app… Read More |
|
DnD File using HTML5 into Flex Web App
So….I always wanted to Drag and Drop an external file into a Flex application running in the browser. Well.. you can use the FileReference API to browse and load a file, but I really wanted to DnD. Unfortunately, this is… Read More |
|
Bug in Flash Player 11.0.1.152: 1/Math.abs(0) is -Infinity
AnyChart Team has found a very weird bug in Flash Player 11.0.1.152, which doesn’t manifest itself in Debug version of Flash Player, but ruins math in regular version, so we had to debug it in non-debug version: using ExternalInterface and… Read More |
|
JavaScript for Flashers Part 3: ExternalInterface
In parts one and two, i dealt with specific JavaScript libraries but this time i will cover general communication between Flash and JavaScript. Namely, calling Flash methods from JavaScript and JavaScript methods from Flash. How is it done? Well the… Read More |
|
Quick Tip : Launch prettyPhoto from Flash
In this Quick Tip, see how to launch prettyPhoto from a Flash movie by using the ExternalInterface class and the prettyPhoto API. We demonstrate how to open from a Flash movie a single image, a youtube video and a vimeo… Read More |
|
Quick Tip : Launch prettyPhoto from Flash
In this Quick Tip, see how to launch prettyPhoto from a Flash movie by using the ExternalInterface class and the prettyPhoto API. In this example, we demonstrate how to open from a Flash movie a single image, a youtube video… Read More |
|
Quick Tip: Resizing SWFs using BrowserCanvas
Have you ever needed to resize your embedded SWF based on the user interaction/input, like how Newgrounds allows you to resize certain Flash games to fit the screen? This can be done using JavaScript and the ExternalInterface class in ActionScript.… Read More |
|
Add custom vars on Google statistics with Flex
Google provide solutions to track your visits with their system Analytics with flex. Unfortunately, the gaforflash library for this environment doesn’t have _setCustomVar method that is included on modern revisions in the HTML versión. To use this system of personal… Read More |
|
AS3 101: Quick Tip – When to Use Static Properties and Methods
“Static” properties and methods belong to a class, rather than to an instance of a class, meaning that they are shared, in a sense, across your entire project. But when should you use the static keyword? Consideration 1:When There Can… Read More |
|
Page QueryStrings in Actionscript
Want to see the query strings of the page, and not just the swf? Add this little gem: var queryStrings:Object = ExternalInterface.call(“function(){var o= new Object();window.location.search.replace(new RegExp(“([^?=&]+)(=([^&]*))?”,”g”),function($0,$1,$2,$3){o[$1]=$3;});return o;}”);… Read More |
|
Getting the SWF’s HTML object/embed id from within the Flash movie itself
In ActionScript, it’s quite common that you need to talk to the JavaScript/HTML side and then have JS/HTML talk back to Flash. That is easily accomplished by ExternalInterface, but one of the caveats is that when talking from the JS/HTML… Read More |
|
Quick Tip: Receive Output in the Browser Using Flash Tracer
//In this really quick, but invaluable tip, we’ll look at how to view the output of your Flash movie trace calls in the browser. Step 1: What is Flash Tracer? Flash Tracer is a Firefox add-on. It lets you view… Read More |
|
Quick Tip: Create a Contact Form with SMS and Email Alerts
In this Quick Tip, I will show you how to build a contact form using PHP and ActionScript 3. We’ll learn how to pass variables from Flash to PHP and alert the owner by sending either an email or an… Read More |
|
Quick Tip: Dim the Lights using Flash and jQuery
In this Quick Tip you’ll learn how to use Flash’s ExternalInterface function and add a bit of jQuery to create a “light switch” which dims the web page. This is really effective for use with video players, slideshows etc. Introduction… Read More |
|
Flash and ExternalInterface don’t follow the same security rules
I spent a large portion of yesterday caught up in a bug. Basically, Flash would make a call to Javascript, and a while later, get a call back. It worked something like this: ExternalInterface.addCallback("callback", function ():void { ... }); ExternalInterface.call("doSomething");… Read More |
Workflow: Flash is an aggregator of the highest quality content from hand-picked websites.
21,804
Empowering, Informing, Connecting Creative Professionals™
The Workflow Network is a collection of Websites, services, and communities built to Empower, Inform, and Connect Creative Professionals. The websites in the Network cover a broad range of topics, services, and functions for creative professionals of many disciplines.
|
© Copyright 2008–2013 Pariah S. Burke Article contents and photographs © Copyright their respective publishers. Workflow: Flash runs a highly modified version of the Gadgetine WordPress theme by orange-themes.com. Website thumbnails provided by BitPixels.
Terms of Use | Privacy Policy Workflow: Flash is a part of the Workflow: Network. Get Empowered, Get Informed, Get Connected™ |
Connect with Workflow: Flash |
|