Skip to main content
April 22, 2013
Question

Embed Tag no longer working

  • April 22, 2013
  • 2 replies
  • 3019 views

Hi,

I have a pure AS3 project which uses Embed tag for iOS. I have been using 3.4 to 3.6 and 3.7 betas.

Now i updated to the official release of 3.7 sdk but when i test with my project I got the Error.

[Fault] exception, information=Error: Error #3747: Multiple application domains are not supported on this operating system.

package {

import flash.display.MovieClip;

import flash.display.Sprite;

public class TestAirIntelliJ extends Sprite {

    [Embed(source="../assets/bling.swf")]

    private var FaceBling:Class;

    public function TestAirIntelliJ() {

        var mc:MovieClip = new FaceBling()

        addChild(mc)

    }

}

}

The SWF files has no AS3 code in it, it's a plain timeline animation swf

What should i do to make it work with SDK 3.7 (I really don't want to write loads of code as I have LOTS of Embed tag in the project)

This topic has been closed for replies.

2 replies

Nimisha1
Participating Frequently
April 22, 2013

Hey lenglsh,

The easiest way to identify if your swf has code or not is to simply run swfdump on your swf and then search for a DoABC2 tag. The executable swfdump is available as part of the SDK.

FlexSDK/bin/swfdump mySWF.swf | grep DoABC2                                            (On MAC)

FlexSDK/bin/swfdump.exe mySWF.swf | find “DoABC2″                                  (On Windows)

Also note that there is a current limitation on iOS that embedding SWFs(having ABC code) using [Embed] tag will NOT work on iOS .

April 22, 2013

Am I right that a new SWF created in a FLash CS6 with just animation on timeline does not content ABC?

Adobe Employee
April 22, 2013

Thank you for your issue report. Could you please share the IDE and sdk version you are using.

Regards,

Nimit

April 22, 2013

Hi I am using the official release of Air 3.7 SDK. Was using IntelliJ Idea 12.1

Is it true that Embed tag no longer work even with plain animation SWF? Is there anyway I can check if the SWF is 100% without any code eg. stop() play().

April 22, 2013

I just tested a simple example with a new SWF plain timeline animation only. It's still having the same error with AIR 3.7