Recent News
Published August 5, 2008
|
Thanks to those who alerted us to an outstanding issue with CAPTCHAs. If you have had any issues posting comments, or signing up as an Author it was probably due to this bug, which has now been resolved. Please try again.
Published May 31, 2008
You can read all about the changes, why we made them, and what people think (as well as give us your opinion) via this Forums thread. » Read More
|
In the last few hours we transitioned ActionScript.org to a brand new design, and a new backend system! Phew!You can read all about the changes, why we made them, and what people think (as well as give us your opinion) via this Forums thread. » Read More
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.

