Skip to main content
Sondax
Known Participant
January 23, 2012
Question

switching from AS3 & AS2 between .swfs

  • January 23, 2012
  • 1 reply
  • 743 views

I'm trying to get my navigation to work correctly (Just going back and forth between two swfs).  The swf that i start in is using AS3.  I have a button that opens the next swf which is in AS2.  that button works fine, but i can not get the button in the AS2 file to go back to the original AS3 file. Is there something that i'm missing to make this work?

The code i have applied to the button in the AS2 file is:

on (release) {

    stopAllSounds();

    function(){

loadMovieNum ("slide hub.swf", 0);

}

}

-= Sondax =-

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
January 23, 2012

An AS2 file cannot load an AS3 file.

Sondax
SondaxAuthor
Known Participant
January 23, 2012

awwwwwwww.... please don't say that. **sadface**

I made a movieclip of an animated waterfall in AS2 and it won't work in AS3.  is there some way that i could get that animation out of the AS2 file?  maybe something like saving it as a movie and importing it into AS3 somehow?  It would just need to keep the transparency somehow.

Ned Murphy
Legend
January 23, 2012

You can load an AS2 file into an AS3 file, just not the other way around.