• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

AS3 Loading External AS2 SWF - No Sound

Community Beginner ,
Nov 16, 2017 Nov 16, 2017

Copy link to clipboard

Copied

I need to down and dirty get an SWF created in AS2 into AS3.

So I'm externally loading it in AS3.

var request:URLRequest = new URLRequest("mySWF.swf");

var loader:Loader = new Loader()

loader.load(request);

addChild(loader);

In this AS2 SWF there are mp3's in the library that are played not on a timeline, but played through the old = new Sound and .attachSound etc etc

It all works in AS2, but when it tries to play in the AS3 movie clip, everything plays EXCEPT sound.

I tried also putting the sound files in the AS3 library and using export to script, but that's not working.

What am I  missing?

John

TOPICS
ActionScript

Views

192

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation