Recent News
Published Yesterday
|
We've been experiencing some issues with server reliability over the last week. Please excuse any down time. We're working to resolve the issues as quickly as possible.
Published October 30, 2008
|
Our apologies to those Authors who have been awaiting approval of their accounts over the last few weeks. We had a big backlog due to a processing issue which has now been resolved, and your accounts have been approved. Don't forget, if you ever want to contribute to ActionScript.org by writing tutorials or articles, you can do so via the Become an Author link at the top of each page.Featured Articles
Difficulty: Moderate
Time Taken: 25 minutes
Description:
Script Injection in ActionScript 3: Using Wrapper Functions to inject JavaScript and VBScript into a webpage through Flash ActionScript 3
This article will show how to inject and execute complete JavaScript and VBScript functions, class objects and applications into a webpage through ActionScript 3's ExternalInterface Class. In addition, we will show how to store and modify complete JavaScript and VBScript scripts directly within AS3 sourcecode, where they may be safely kept until needed.
Readers should be familiar with ActionScript's ExternalInterface Class. In addition, competence with JavaScript and the Document Object Model (DOM) is recommended.
My first two articles focused mainly on teaching
everybody the changes in syntax from AS 2.0 to AS 3.0. Now I'm hoping
that my audience has worked with 3.0 for a little while since my last
articles, and I'd like to change focus a little bit. I'd like to switch
topics to how to get the most out of AS 3.0. Yes, just by using it,
you're gaining a ton of speed, but there are ways to get more speed out
of it.
This article will explain how to build a simple Flash application using Classes. It will take you from the initial concept to the finished application, one step at a time. Along the way, you'll find out about the following topics:The document class
Using one class to create instances of another class
The new ...rest parameter
Arrays
Components
Using a variable of your own custom datatype
Encapsulation
This tutorial will walk you step by step through the creation of an Actionscript 3.0 application. Some of the topics covered in this article are: Events and Event Listeners, Classes, Arrays, and loading and using XML data.
Recent Articles
Recent Blogs
By Gerard Mason
|
June 13, 2008
By Gerard Mason
|
June 12, 2008
By Gerard Mason
|
June 11, 2008
By Ruben Swieringa
|
March 5, 2008
By Ruben Swieringa
|
February 26, 2008
By Jonathan van Woudenberg
|
February 25, 2008
By Ruben Swieringa
|
February 25, 2008
By Jonathan van Woudenberg
|
February 25, 2008
By Ruben Swieringa
|
February 24, 2008




