Archive for the ‘Flash’ Category
Monday, February 16th, 2009
In Part 3 of this tutorial, we shall use a combination of the MXMLC compiler and JSFL script to compile an external SWF which will be loaded into your main SWF.
1. Download tutorial files
To begin this tutorial, please make sure you have set up your workspace as suggested in Part 1.
View Demo
Download Source Files
Tags: Actionscript, Ant, Flash, Flex Builder, JSFL
Posted in Actionscript, Ant, Flash, Tutorials | 6 Comments »
Monday, February 16th, 2009
In Part 2 of this tutorial, we’ll compile an ActionScript 3 only project simply by launching the MXMLC compiler with an Ant task in Flex Builder.
1. Download tutorial files
To begin this tutorial, please make sure you have set up your workspace as suggested in Part 1.
View Demo
Download Source Files
Tags: Actionscript, Ant, Flash, Flex Builder, JSFL
Posted in Actionscript, Ant, Flash, Tutorials | 7 Comments »
Sunday, February 1st, 2009
As more Flash developers migrate towards using tools like Flex Builder and FDT for code editing, some of us have found that switching between the Flash IDE and Flex Builder doesn’t necessarily present the most seamless workflow. Compiling with the Flash IDE is slow and cumbersome; building an entire Flash project with code in Flex [...]
Tags: Actionscript, Ant, Flash, Flex Builder, JSFL
Posted in Actionscript, Ant, Flash, Tutorials | 29 Comments »
Monday, September 22nd, 2008
A while ago, I came across a situation where my Flash application would launch but the stage.stageWidth and stage.stageHeight properties would always return 0 within my document class’s constructor. As I needed to access those properties at runtime and I did not want to hardcode those values to a pair of variables, it drove me [...]
Tags: Actionscript, Firefox, Flash, Flash Player, IE, RESIZE, Safari, stage, stageHeight, stageWidth
Posted in Actionscript, Flash, Tutorials | 23 Comments »
Sunday, July 6th, 2008
If you’re thinking of hosting your SWFs on a content delivery network to improve the performance of your Flash application, or attempting to load a third-party SWF hosted on another domain into your application, be aware that loading and scripting SWFs from another domain posts a whole set of security issues, namely that of [...]
Tags: Actionscript, cross-domain scripting, Flash
Posted in Actionscript, Flash, Tutorials | 3 Comments »