# Loading AS3 swfs into AS2 swfs?

**URL:** https://forum.kirupa.com/t/loading-as3-swfs-into-as2-swfs/253154
**Category:** flash
**Created:** [February 27, 2008, 5:25pm UTC](https://forum.kirupa.com/t/loading-as3-swfs-into-as2-swfs/253154 "2008-02-27T17:25:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![richjamison](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@richjamison](https://forum.kirupa.com/u/richjamison)
#### Post date: [February 27, 2008, 5:25pm UTC](https://forum.kirupa.com/t/loading-as3-swfs-into-as2-swfs/253154/1 "2008-02-27T17:25:20Z")

</div>

I have some ActionScript 2.0 swfs that I (now that we have AS3) would like to load ActionScript 3.0 swfs into.

```auto
fscommand("fullscreen", "true");

function firstRun() {
    firstRunSO = SharedObject.getLocal("firstRun");
    if (firstRunSO.data.firstRun == undefined) {
        trace("This is the first time the program has run");
        System.showSettings(1);
        firstRunSO.data.firstRun = false;
        success = firstRunSO.flush();
        stop();
        } else {
            trace("This is not the first time the program has run");
            }
    if (success) {
        trace("Write successful");
        }
    }

firstRun();

var theMapMovie = this.createEmptyMovieClip("theMapClip", this.getNextHighestDepth());
theMapMovie._xscale = 80;
theMapMovie._yscale = 80;
theMapMovie._x = 200;
theMapMovie._y = -40;

var theChartMovie = this.createEmptyMovieClip("theChartClip", this.getNextHighestDepth());
theChartMovie._xscale = 80;
theChartMovie._yscale = 80;
theChartMovie._x = 200;
theChartMovie._y = 200;

loadMovie("maps/milestonemembers_map.swf", theMapMovie);
loadMovie("Charts/SpreadSheet.swf", theChartMovie);

stop();

```

The milestonemembers\_map.swf (AS2) loads fine but the SpreadSheet.swf (AS3) doesn’t. Can this even be done. Did I overlook that in the release notes? Will I have to re-write all my AS2 apps?

Thanks.
