Why isn't the swfloader working?

后端 未结 3 725
刺人心
刺人心 2021-01-28 06:03

I am trying to use the mxml swfloader component to load the external flash from the following url, but it doesn\'t load anything. I\'m using FlashBuilder 4.5.

http://som

相关标签:
3条回答
  • 2021-01-28 06:39

    My guess is that you have a Sandbox Security violation. You can't load a swf from another domain/port without having a crossdomain xml.

    0 讨论(0)
  • 2021-01-28 06:50

    The flash being loaded loads additional flash files into it using relative paths. A change to absolute paths should fix this

    0 讨论(0)
  • 2021-01-28 06:57

    if swf is from another domain, u should probably add into your code

    System.security.allowDomain("domain");

    0 讨论(0)
提交回复
热议问题