Recent News
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
Published April 2, 2008
|
We're experiencing intermittent issues with the Articles, Tutorials and Blogs sections of the site. Some users are noticing that they cannot load pages in these sections; the site simply times out.
We're presently looking into the cause of this issue. You can help! If you experience this issue please write to us via staff at actionscript [dot] org and let us know the following:
- The time, and where in the world you live
- Your browser
- The section of the site which you tried to load without success
- For users of Firefox, if you try loading the same page in Internet Explorer, does it load any faster?
Featured Articles
I would like to thank FITC for the wonderful hospitality, and especially Actionscript.Org for making it possible for me to be involved.
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


