Showing posts from January 5, 2010

Loading XML data using ActionScript 3.0

Using XML is one of the best ways for structuring external content in a logical format that is easy to understand, process, and update. This tutorial will teach you the basics on how to load and process XML in Flash using ActionScript 3.0. You are assumed to have basic knowledge of ActionScript in order to follow this tutorial.

Here is sample code loading XML in ActionScript 3

Here is sample XML code

Download here

Retrieve Flash Variables in Actionscript 3

In Actionscript 3 variables that are passed in through query string have been moved to the parameters property of LoaderInfo instance. Here’s a real simple way to retrieve flash variable in Actionscript 3

1. To access the query string fileName in Actionscript 3 , all you have to do in your actionscript 3 source code is

2. Here Html Code access Flash variables

Download here